Apache 2.2
Prefork
Red Hat 6

We did a small test with a single image to compare results of it as memory 
mapped content and not memory mapped. I expected the memory mapped image to be 
quicker to load. But in our testing that did not seem to be the case. Should 
accessing a memory mapped image be quicker than non-memory mapped?

I'm doing the below ab test to compare the performance, each 3 times:

ab -n 100000 -c 20 http://abc.com/


If we disable MMAP,

It takes 14.555 seconds, 12.775 seconds, 10.698 seconds.

Average: 12.675s.


If we enable MMAP,
It takes 18.468 seconds, 13.882 seconds, 16.532 seconds

Average: 16.294s.


Thanks

Reply via email to