httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bremser, Kurt (AMOS Austria GmbH)" <>
Subject Re: [users@httpd] Memory mapping in Apache question [wd-vc]
Date Mon, 14 Sep 2015 05:17:54 GMT
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 []
Gesendet: Freitag, 11. September 2015 22:28
Betreff: **SPAM?** [users@httpd] Memory mapping in Apache question [wd-vc]

Apache 2.2
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

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.


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

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.
View raw message