Article View: linux.debian.bugs.dist
Article #3750Bug#1012358: apache2: apache on Debian is several times slower than on other distros, according to Phoronix
From: Stefan Fritsch
Date: Sun, 08 Nov 2026 09:30
Date: Sun, 08 Nov 2026 09:30
25 lines
3187 bytes
3187 bytes
Am 05.06.22 um 17:08 schrieb Fabio Pedretti: > according to this recent Phoronix test apache on Debian is several times > slower than on other distros: > https://www.phoronix.com/scan.php?page=article&item=h1-2022-linux&num=7 > > It is not entirely clear how the test was performed, and given the test > says version is 2.4.48 it may be using a custom build apache version and > not the Debian package. > > Also it may be an issue not strictly related to apache, since that test > shows that other tests are also a lot slower on Debian. > > Nonetheless, given that apache is a common work usage on Debian, I > report this issue in case someone has interest in checking what's going > on. One thing that could slow down apache on Debian is apr using --enable-allocator-uses-mmap . This was done because it reduces mem usage with mpm-prefork quite a bit, but mpm-prefork is not really important anymore. Also, I think --enable-allocator-uses-mmap is more expensive with newer linux kernels. So it may be time to revert apr to the default allocator. If anyone wants to make some benchmarks with libapr1 compiled with and without --enable-allocator-uses-mmap, that would be an interesting data point.
Technical Details
Message-ID:
<NX7nP-aAEd-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.nntp4.net!news.hispagatos.org!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<Ev0cN-2KMS-1@gated-at.bofh.it> <Ev0cN-2KMS-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.nntp4.net!news.hispagatos.org!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Stefan Fritsch <sf@sfritsch.de> Newsgroups: linux.debian.bugs.dist Subject: Bug#1012358: apache2: apache on Debian is several times slower than on other distros, according to Phoronix Date: Sun, 08 Nov 2026 10:30:01 +0100 Message-ID: <NX7nP-aAEd-3@gated-at.bofh.it> References: <Ev0cN-2KMS-1@gated-at.bofh.it> <Ev0cN-2KMS-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Nov 8 09:21:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Stefan Fritsch <sf@sfritsch.de>, 1012358@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-apache@lists.debian.org X-Debian-Pr-Message: followup 1012358 X-Debian-Pr-Package: apache2 X-Debian-Pr-Keywords: moreinfo X-Debian-Pr-Source: apache2 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US, de-DE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001411 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 25 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 8 Nov 2026 10:19:05 +0100 X-Original-Message-ID: <f19cf1a8-0e04-45d8-91e8-30bba9b14329@sfritsch.de> X-Original-References: <165444171068.5402.10598841321230110200.reportbug@debian.unibs.it> <165444171068.5402.10598841321230110200.reportbug@debian.unibs.it>