1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

MPMs Prefork vs. Worker

Discussion in 'Apache' started by nevetS, Jan 10, 2007.

  1. #1
    I know that the worker or per-child mpms should be more efficient than the prefork mpms, but I'm having trouble proving it :).

    I tried out the worker mpm and ran ApacheBench against my server and I found that prefork was actually producing better numbers - even after I increased the MinSpareThreads and StartServers numbers.

    Is ApacheBench not a good testing utility, or are there tweaking considerations that I'm not aware of.

    BTW, I'm using apache 2.2.3.
     
    nevetS, Jan 10, 2007 IP
  2. noname

    noname Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    depends on how you configure it.
    if you have many CPU's you need to have enough httpd's to keep them all busy in worker mpm
     
    noname, Jan 11, 2007 IP