Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-27 Thread Nick Kew
On Tue, 27 Oct 2015 11:10:08 -0500 William A Rowe Jr wrote: > In general, the thread safety does work, but is not as efficient as it > could be. Last I looked, PHP throws in quite a kitchen-sink, including components like old libraries (like libgif, libjpeg) written back in the 1980s for comman

Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-27 Thread William A Rowe Jr
On Oct 27, 2015 05:38, "Arkadiusz Miśkiewicz" wrote: > > On Monday 26 of October 2015, Yehezkel Horowitz wrote: > > First, thanks Nick for the feedback. > > > > I have submitted https://bz.apache.org/bugzilla/show_bug.cgi?id=58550 as > > you suggested. > > > > >If a threaded MPM really isn't an op

Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-27 Thread Arkadiusz Miśkiewicz
On Monday 26 of October 2015, Yehezkel Horowitz wrote: > First, thanks Nick for the feedback. > > I have submitted https://bz.apache.org/bugzilla/show_bug.cgi?id=58550 as > you suggested. > > >If a threaded MPM really isn't an option (for most users the obvious > >solution), then the question is

Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yann Ylavic
On Mon, Oct 26, 2015 at 12:45 PM, Yehezkel Horowitz wrote: > >>The following patch was recently backported to v2.4, how similar is your >> patch to this one? > >> *) MPMs: Support SO_REUSEPORT to create multiple duplicated listener > > records for scalability. [Yingqi Lu , > > Jeff Trawi

RE: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yehezkel Horowitz
>Just to clarify, all updates to httpd need to be made to trunk first, which >then allow it to be backported to v2.4, and then v2.2. >The reason for this is we don’t want features added to v2.2 that then >subsequently vanish when v2.4 comes out (and so on). Understood. I just want to get some fe

RE: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yehezkel Horowitz
First, thanks Nick for the feedback. I have submitted https://bz.apache.org/bugzilla/show_bug.cgi?id=58550 as you suggested. >If a threaded MPM really isn't an option (for most users the obvious >solution), then the question is what works for you. I can't use threaded MPM as PHP (at least my v

Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Graham Leggett
On 26 Oct 2015, at 10:45 AM, Yehezkel Horowitz wrote: > Any chance someone could take a short look and provide me a feedback (of any > kind)? > > I know your focus is on 2.4 and trunk, but there are still many 2.2 servers > out there… > > Patch attached again for you convenience.… Just to

Re: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Nick Kew
On Mon, 2015-10-26 at 08:45 +, Yehezkel Horowitz wrote: > Any chance someone could take a short look and provide me a feedback > (of any kind)? A patch posted here may get lost, especially if it's not simple and obvious enough for instant review and understanding. Posting it as an Enhancement

RE: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-26 Thread Yehezkel Horowitz
Horowitz Sent: Monday, October 19, 2015 6:14 PM To: dev@httpd.apache.org Subject: Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached) Hello Apache gurus. I was working on a project which used Apache 2.2.x with prefork MPM (using flock as mutex method

Improve Apache performance on high load (prefork MPM) with multiple Accept mutexes (Patch attached)

2015-10-19 Thread Yehezkel Horowitz
Hello Apache gurus. I was working on a project which used Apache 2.2.x with prefork MPM (using flock as mutex method) on Linux machine (with 20 cores), and run into the following problem. During load, when number of Apache child processes get beyond some point (~3000 processes) - Apache didn't