[rhelv6-beta-list] Apache benchmark RHEL 5 vs. RHEL 6

Jerry Franz jfranz at freerun.com
Mon Nov 8 22:12:40 UTC 2010


On 11/08/2010 04:40 AM, Morten P.D. Stevens wrote:
> Hi,
>
> here is a small apache benchmark between RHEL 5 and RHEL 6.
>
> RHEL 5: Requests per second: 8790.99 (11.375281 seconds)
> RHEL 6: Requests per second: 4863.53 (20.561 seconds)
>
> What surprises me is that RHEL 5 is almost 90% faster than RHEL 6???
>
> Here is the full benchmark:

[snip]

Try disabling atime (noatime mount option) on the partition you are 
using for the webserver so the 'last accessed' stamp doesn't have to be 
updated. If you are using your root partition for the webserver, you can 
disable it on the specific files and directories by using 'chattr': 
http://tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec73.html.

Also, try adding 'commit=30' to the mount options for the partition.

-- 
Benjamin Franz




More information about the rhelv6-beta-list mailing list