You have been subscribed to a public bug by Robie Basak (racb): The default Mutex implementation used by Ubuntu's Apache package is file locking. (See /etc/apache2/apache2.conf) This is slower than pthreads, especially when using mpm_prefork.
The Apache project currently warns about pthreads being potentially dangerous.[1] However, Linux has supported robust pthreads for many years now,[2] so it's safe for Ubuntu to move to pthreads and reap the performance benefits. My tests on POWER8, VM and bare-metal, PHP and static files, show something like a 1.5% to 3.5% performance gain for a one-line config change. [1] https://httpd.apache.org/docs/trunk/mod/core.html#mutex [2] See this apache bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=58744 ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New ** Tags: needs-upstream-report -- Update mutex from file to pthread https://bugs.launchpad.net/bugs/1527044 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
