Memory mapping in Apache question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux