Re: Memory mapping in Apache question [wd-vc]

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

 



On any serious operating system, accessing the same content will be memory-mapped after the first request, since from then on the file(s) in question will be cached.
Reducing the complexity inside apache may even give a benefit.
 
Kurt Bremser
AMOS Austria
 
Newton was wrong. There is no gravity. The Earth sucks.

Von: Rose, John B [jbrose@xxxxxxx]
Gesendet: Freitag, 11. September 2015 22:28
An: users@xxxxxxxxxxxxxxxx
Betreff: **SPAM?** Memory mapping in Apache question [wd-vc]

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

AMOS Austria GmbH
1130 Wien, Hietzinger Kai 101-105
FN 365014k, Handelsgericht Wien
UID: ATU 66614737

http://www.allianz.at

********************************************************
Dieses E-Mail und allfaellig daran angeschlossene Anhaenge
enthalten Informationen, die vertraulich und
ausschliesslich fuer den (die) bezeichneten Adressaten
bestimmt sind.
Wenn Sie nicht der genannte Adressat sind, darf dieses
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen
Personen zugaenglich gemacht noch in anderer Weise
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen.

Please note: This email and any files transmitted with it is
intended only for the named recipients and may contain
confidential and/or privileged information. If you are not the
intended recipient, please do not read, copy, use or disclose
the contents of this communication to others and notify the
sender immediately. Then please delete the email and any
copies of it. Thank you.
********************************************************

[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