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.

Reply via email to