RE: Better SO_REUSEPORT

2015-10-08 Thread Lu, Yingqi
Great!! Thank you very much for sharing this with us! Thanks, Yingqi -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Thursday, October 08, 2015 10:46 AM To: dev@httpd.apache.org Cc: Lu, Yingqi Subject: Better SO_REUSEPORT Looks like we can do even better/faster

RE: T&R of 2.4.17 this week

2015-10-05 Thread Lu, Yingqi
Mon, Oct 5, 2015 at 8:31 PM, Lu, Yingqi wrote: > Hi Jim, > > Can you please look and incorporate the SO_REUSEPORT patch for this release > as well? > > Thanks, > Yingqi > > -Original Message- > From: olli hauer [mailto:oha...@gmx.de] > Sent: Monday

RE: T&R of 2.4.17 this week

2015-10-05 Thread Lu, Yingqi
Hi Jim, Can you please look and incorporate the SO_REUSEPORT patch for this release as well? Thanks, Yingqi -Original Message- From: olli hauer [mailto:oha...@gmx.de] Sent: Monday, October 05, 2015 11:30 AM To: dev@httpd.apache.org Subject: Re: T&R of 2.4.17 this week On 2015-10-05 17

RE: Time for 2.4.17 soonish?

2015-09-22 Thread Lu, Yingqi
Yann, Thanks very much for bringing it up. We would love to see that SO_REUSEPORT patch being merged into the release version of the httpd. It has been a long time :) Thanks, Yingqi -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Tuesday, September 22, 2015 1:

RE: T&R of 2.4.13

2015-06-02 Thread Lu, Yingqi
Hi All, The SO_REUSEPORT patch is only lack one vote now. It would be really great if we can make it this time. Guys, please test it out and vote for us if you like it. It boosts your performance on bigger Xeon systems. Thanks, Yingqi -Original Message- From: Jeff Trawick [mailto:traw

RE: NOTICE: Intent to T&R 2.4.13 next week

2015-05-22 Thread Lu, Yingqi
Hi All, Please test and vote the SO_REUSEPORT patch available at http://people.apache.org/~ylavic/httpd-2.4.x-ap_listeners_buckets-v3.patch. We are only lacking 1 vote now. Thank you very much! Yingqi -Original Message- From: Jim Jagielski [mailto:j...@jagunet.com] Sent: Friday, May

RE: SO_REUSEPORT

2015-05-17 Thread Lu, Yingqi
Hi Yann, Thank you very much for your help! Yingqi -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Saturday, May 16, 2015 3:37 AM To: httpd Subject: Re: SO_REUSEPORT On Fri, May 15, 2015 at 5:12 PM, Jeff Trawick wrote: > On Fri, May 15, 2015 at 11:02 AM, Willi

RE: SO_REUSEPORT

2015-05-14 Thread Lu, Yingqi
(on 3), it makes its way ;) Regards, Yann. On Fri, May 15, 2015 at 1:00 AM, Lu, Yingqi wrote: > Hi All, > > I just want to check if anyone gets chances to check the SO_REUSEPORT patch? > Any feedback? > > Thanks, > Yingqi > > -Original Message- > F

RE: SO_REUSEPORT

2015-05-14 Thread Lu, Yingqi
Hi All, I just want to check if anyone gets chances to check the SO_REUSEPORT patch? Any feedback? Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, May 08, 2015 8:58 AM To: dev@httpd.apache.org Subject: RE: SO_REUSEPORT Hi Christophe, Jim

RE: SO_REUSEPORT

2015-05-08 Thread Lu, Yingqi
Hi Christophe, Jim and Yann, Thank you very much for your consideration of putting SO_REUSEPORT patch in the 2.4 stable release. I am also very happy that you find the white paper :-) All the most recent testing results are included in the white paper. Also, we have tested the (graceful) rest

RE: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22)

2015-01-27 Thread Lu, Yingqi
, 2015 10:56 AM To: Lu, Yingqi Cc: dev@httpd.apache.org Subject: Re: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22) On Thu, 22 Jan 2015 18:08:20 +0000 "Lu, Yingqi" wrote: > Hi Jim, > > Thanks for the update! > > A quick question on the review and testi

RE: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22)

2015-01-23 Thread Lu, Yingqi
4:04 AM To: httpd Subject: Re: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22) Hi Yingqi, On Thu, Jan 22, 2015 at 7:08 PM, Lu, Yingqi wrote: > > A quick question on the review and testing procedure. Right now, Yann Ylavic > already made available a 2.4 version of the patch

RE: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22)

2015-01-22 Thread Lu, Yingqi
@httpd.apache.org Subject: Re: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22) Since that was a very new patch, there was a risk in adding it to 2.4.11/12 since it would not have had enough time for adequate testing. It will be proposed for 2.4.13. > On Jan 22, 2015, at 12:14

RE: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22)

2015-01-22 Thread Lu, Yingqi
Hi Jim, Is the SO_REUSPORT patch committed in this build? Thanks, Lucy -Original Message- From: Jim Jagielski [mailto:j...@jagunet.com] Sent: Thursday, January 22, 2015 3:43 AM To: dev@httpd.apache.org Subject: Re: [NOTICE] Intend to T&R 2.4.12 tomorrow (Thurs, Jan 22) I expect to T&R

RE: AW: Time for 2.4.11

2015-01-21 Thread Lu, Yingqi
Hi All, I just want to check if there is any feedback on this? 2.4.12 T&R will be opened tomorrow, it would be great to get your feedback soon. Thanks, Lucy -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Monday, January 19, 2015 4:32 PM To: dev@httpd.apache

RE: AW: Time for 2.4.11

2015-01-19 Thread Lu, Yingqi
et), keep at least 1 of them idle. You can increase the values later if needed. Thanks, Yingqi -Original Message----- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Thursday, January 15, 2015 9:39 AM To: dev@httpd.apache.org Subject: RE: AW: Time for 2.4.11 Hi Yann, Thanks very much

RE: Time for 2.4.11

2015-01-15 Thread Lu, Yingqi
release every 3-4 months, but this one lagged behind. > On Jan 15, 2015, at 12:41 PM, Lu, Yingqi wrote: > > By the way, do you have an estimate on when is the 2.4.12? > > I guess I will ping you back when the window opens for 2.4.12! > > Thanks, > Yingqi > > ---

RE: AW: Time for 2.4.11

2015-01-15 Thread Lu, Yingqi
By the way, do you have an estimate on when is the 2.4.12? I guess I will ping you back when the window opens for 2.4.12! Thanks, Yingqi -Original Message- From: Lu, Yingqi Sent: Thursday, January 15, 2015 9:39 AM To: httpd Subject: RE: AW: Time for 2.4.11 Hi Yann, Thanks very much

RE: AW: Time for 2.4.11

2015-01-15 Thread Lu, Yingqi
Hi Yann, Thanks very much for your help! Yes, I think I can help to document the "ListenCoresBucketsRatio", at least to draft it. Also, I think I can share the settings from our testing regarding to this work. I will send them later this week. Thanks, Yingqi -Original Message- From:

Re: AW: Time for 2.4.11

2015-01-15 Thread Lu, Yingqi
Ok, I will send them in the morning. Thanks, Yingqi > On Jan 14, 2015, at 11:53 PM, "Plüm, Rüdiger, Vodafone Group" > wrote: > > All of them are needed. > > Regards > > Rüdiger > >> -----Ursprüngliche Nachricht- >> Von: Lu, Yingqi [ma

RE: Time for 2.4.11

2015-01-14 Thread Lu, Yingqi
ent one is good enough. I can help you find if you want. Thanks, Yingqi -Original Message----- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Wednesday, January 14, 2015 3:35 PM To: dev@httpd.apache.org Subject: RE: Time for 2.4.11 Hi Jim, Thanks very much for your replies. I do not t

RE: Time for 2.4.11

2015-01-14 Thread Lu, Yingqi
need to craft one (or do the svn commits apply cleanly)?? > On Jan 14, 2015, at 12:20 PM, Lu, Yingqi wrote: > > I just want to check what the status on the "SO_REUSEPORT" patch is. Do you > see any issues backport it? Please let me know. > > Attached is the email I se

RE: Time for 2.4.11

2015-01-14 Thread Lu, Yingqi
x27;s shoot for a T&R next week. The work will keep me warm :) > From: Lu, Yingqi Sent: Friday, January 09, 2015 9:57 AM To: dev@httpd.apache.org Subject:RE: Time for 2.4.11 Hi Jim, Thanks for your email. I think it should not be very hard to back port. After you trunked the origi

RE: Time for 2.4.11

2015-01-14 Thread Lu, Yingqi
I just want to check what the status on the "SO_REUSEPORT" patch is. Do you see any issues backport it? Please let me know. Attached is the email I sent last week on the same topic in case you missed that. Thanks, Yingqi -Original Message- From: Jim Jagielski [mailto:j...@jagunet.com]

RE: Time for 2.4.11

2015-01-12 Thread Lu, Yingqi
Hi All, I just want to ping again to see if there is any updates on this? Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, January 09, 2015 9:57 AM To: dev@httpd.apache.org Subject: RE: Time for 2.4.11 Hi Jim, Thanks for your email. I

RE: Time for 2.4.11

2015-01-09 Thread Lu, Yingqi
.@jagunet.com] Sent: Friday, January 09, 2015 5:47 AM To: dev@httpd.apache.org Subject: Re: Time for 2.4.11 Let me look... how easy is the backport? > On Jan 8, 2015, at 12:22 PM, Lu, Yingqi wrote: > > Hi All, > > Can we make the "SO_REUSEPORT" support into this new stable

RE: Time for 2.4.11

2015-01-08 Thread Lu, Yingqi
Hi All, Can we make the "SO_REUSEPORT" support into this new stable version? The first version of the patch was trunked last June. After tests and modifications, I think it is ready to go. Please let me know what you think. Thanks, Yingqi -Original Message- From: Jim Jagielski [mailto

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-11-07 Thread Lu, Yingqi
r your help! Yingqi -Original Message- From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Friday, November 07, 2014 7:49 AM To: httpd Subject: Re: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk Hi Yingqi, thanks for sharing your results. On Thu, Nov 6, 2014 at 9:12 PM, Lu, Y

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-11-06 Thread Lu, Yingqi
ontinued in [1]. [1]. http://mail-archives.apache.org/mod_mbox/httpd-dev/201410.mbox/%3c9acd5b67aac5594cb6268234cf29cf9aa37e9...@orsmsx113.amr.corp.intel.com%3E On Sat, Oct 11, 2014 at 1:55 AM, Lu, Yingqi wrote: > Attached patch is generated based on current trunk. It covers for > prefork/worke

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-11-06 Thread Lu, Yingqi
EPORT on trunk Hi Yingqi, let's continue discussing this on the original thread if you don't mind, I made an update there. Thanks, Yann. On Thu, Nov 6, 2014 at 6:52 AM, Lu, Yingqi wrote: > Hi Yann, > > I just took some testing on the most recent trunk version. I found ou

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-11-05 Thread Lu, Yingqi
: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Thursday, October 30, 2014 9:10 AM To: dev@httpd.apache.org Subject: RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk Hi Yann, Thank you very much for your help! As this is getting better, I am wondering if you guys have plan

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-30 Thread Lu, Yingqi
(please see commit log). These are not big changes, and your work on removing the global variables and restoring some previous behaviour is great, thanks for the good work. Regards, Yann. On Wed, Oct 29, 2014 at 6:36 PM, Lu, Yingqi wrote: > Thank you very much for your help! > > Thanks,

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-29 Thread Lu, Yingqi
on it currently, will commit soon. Regards, Yann. On Wed, Oct 29, 2014 at 6:20 PM, Lu, Yingqi wrote: > Hi All, > > I just want to check if there is any feedback/comments on this? > > For details, please refer to Yann Ylavic's notes and my responses below. > > Thanks, >

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-29 Thread Lu, Yingqi
Hi All, I just want to check if there is any feedback/comments on this? For details, please refer to Yann Ylavic's notes and my responses below. Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, October 10, 2014 4:56 PM To

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-18 Thread Lu, Yingqi
nd my responses below. I also attached the code changes here again in case you missed it in the original email I sent last Friday. Thanks very much, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, October 10, 2014 4:56 PM To: dev@httpd.apache.org Subjec

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-10 Thread Lu, Yingqi
s buckets and duplication w/ and w/o SO_REUSEPORT on trunk On Wed, Oct 8, 2014 at 2:03 AM, Yann Ylavic wrote: > On Wed, Oct 8, 2014 at 1:50 AM, Lu, Yingqi wrote: >> 3. Yes, I did use some extern variables. I can change the name of them to >> better coordinate with the variable nam

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-07 Thread Lu, Yingqi
@gmail.com] Sent: Tuesday, October 07, 2014 5:04 PM To: httpd Subject: Re: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk On Wed, Oct 8, 2014 at 1:50 AM, Lu, Yingqi wrote: > Here is what I think. Currently (trunk version as well as my original > patch), > >

RE: svn commit: r1629909 - in /httpd/httpd/trunk: include/ap_mmn.h include/scoreboard.h server/mpm/event/event.c server/mpm/eventopt/eventopt.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c

2014-10-07 Thread Lu, Yingqi
I tested it and it works. Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Tuesday, October 07, 2014 3:13 PM To: dev@httpd.apache.org Subject: RE: svn commit: r1629909 - in /httpd/httpd/trunk: include/ap_mmn.h include/scoreboard.h server/mpm/event

RE: Listeners buckets and duplication w/ and w/o SO_REUSEPORT on trunk

2014-10-07 Thread Lu, Yingqi
Here is what I think. Currently (trunk version as well as my original patch), 1. Without SO_REUSEPORT or when available CPU number < 8, num_bucket = 1 anyway. It duplicates 1 listener and use that for this single bucket. If folks think we should not duplicate in this case, I can modify the code

RE: svn commit: r1629909 - in /httpd/httpd/trunk: include/ap_mmn.h include/scoreboard.h server/mpm/event/event.c server/mpm/eventopt/eventopt.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c

2014-10-07 Thread Lu, Yingqi
Hi Yann, I am still testing the fix. It is half way through. I already modified min_spare_threads to min_spare_threads/num_buckets for both worker and event MPM in my test bed, so I am testing the most recent version anyway (thought I would mention this together with the testing results). Rega

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-07 Thread Lu, Yingqi
d, so there is no need for each mpm to handle its own array. Can you please check that it works for you? Regards, Yann. On Tue, Oct 7, 2014 at 11:01 AM, Lu, Yingqi wrote: > In the last version, I forgot to change _SC_NPROCESSORS_ONLN to > _SC_NPROCESSORS_CONF for worker mpm. > >

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-07 Thread Lu, Yingqi
In the last version, I forgot to change _SC_NPROCESSORS_ONLN to _SC_NPROCESSORS_CONF for worker mpm. Please use this version to review. Sorry for the duplication. Thanks very much for your help! Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Monday

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-06 Thread Lu, Yingqi
let me know if this version works. Thanks very much, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Monday, October 06, 2014 7:46 AM To: dev@httpd.apache.org Subject: RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/liste

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-06 Thread Lu, Yingqi
Hi Yann, Sorry that I just saw your messages, I was too focus on coding the fix :-) Almost done. I will take a look at your suggested code and try to incorporate it into the fix. Hopefully, I can send something out tonight. Thanks, Yingqi -Original Message- From: Yann Ylavic [mailt

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-06 Thread Lu, Yingqi
malloc and realloc(), I think it would be just in memory. I can free() the whole thing on httpd stop. Do you mean that or you actually mean we need create a new memory pool, allocate/realloc the memory there and register the cleanup on stop? Thanks, Lucy -Original Message----- From:

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-06 Thread Lu, Yingqi
5, 2014 at 11:36 PM, Lu, Yingqi wrote: > To address your first comment, the issue with pconf pool is that bucket array > value needs to be retained via restart and graceful restart. Based on your > comments, I now put bucket array into the retained_data struct for all the > mpm

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-05 Thread Lu, Yingqi
-Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Sunday, October 05, 2014 2:37 PM To: dev@httpd.apache.org Subject: RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-05 Thread Lu, Yingqi
8:38 PM, Lu, Yingqi wrote: > Here (attachment) is the most recent version of the fix. It fixes a > small issue for event mpm in the version I sent out yesterday. Please > use this one as the final fix. I have already updated the Bugzilla > database for "Bug 55897 -

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-05 Thread Lu, Yingqi
f, can you please help review it and add it into the trunk? Thanks very much for your help, Yingqi -Original Message----- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Saturday, October 04, 2014 10:54 PM To: dev@httpd.apache.org Subject: RE: svn commit: r1599531 - in /httpd/httpd/trun

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-04 Thread Lu, Yingqi
server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c On 05.10.2014 02:27, Lu, Yingqi wrote: > Kaspar, can you please test the patch and let us know if that resolves > your issue? Yes, makes the restart issues disappear for me (only tested with

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-04 Thread Lu, Yingqi
o make sure num_buckets does not change during the restart. Kaspar, can you please test the patch and let us know if that resolves your issue? At the meantime, can some please review the patch and help add it into trunk? Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yin

RE: svn commit: r1599531 - in /httpd/httpd/trunk: CHANGES include/ap_listen.h server/listen.c server/mpm/event/event.c server/mpm/prefork/prefork.c server/mpm/worker/worker.c server/mpm_unix.c

2014-10-04 Thread Lu, Yingqi
Hi Kaspar, Thanks for the email. I will try to duplicate your case and find a solution for it. Thanks, Yingqi -Original Message- From: Kaspar Brand [mailto:httpd-dev.2...@velox.ch] Sent: Saturday, October 04, 2014 4:08 AM To: dev@httpd.apache.org Subject: Re: svn commit: r1599531 - in

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-10-02 Thread Lu, Yingqi
mall patch to fix the issue. Can you please help to add the changes into the trunk? Thanks, Yingqi -Original Message----- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Thursday, June 05, 2014 9:12 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-06-05 Thread Lu, Yingqi
3:39 PM, Lu, Yingqi wrote: > Hi Jim, > > I just found that prefork and worker has issue with restart. Event mpm code > is good. > > I created this small patch to fix the issue for both prefork and worker. The > patch is based on rev #1600451. > > Can you please

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-06-04 Thread Lu, Yingqi
- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Tuesday, June 03, 2014 8:50 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Thank you very much for your help! Thanks, Yingqi -Original Message- From: Jim Jagielski

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-06-03 Thread Lu, Yingqi
t; On Jun 3, 2014, at 8:51 AM, Jim Jagielski wrote: > >> I have folded this into trunk and am currently fixing some compile >> warnings and errors... >> >> On Jun 2, 2014, at 4:22 AM, Lu, Yingqi wrote: >> >>> Hi Jim, >>> >>> Personal

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-31 Thread Lu, Yingqi
too. I already tested the code for the above approaches and they both work. Please let me know which way you think is better. I can quickly send you an update for review. Thanks, Yingqi -Original Message- From: Lu, Yingqi Sent: Saturday, May 31, 2014 3:28 PM To: Subject: Re: [PATCH

Re: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-31 Thread Lu, Yingqi
bucket); >> >> We can change the API at this point. We could >> add another function, eg ap_mpm_pod_signal_ex() which >> takes the int param, but we can't modify ap_mpm_pod_signal() >> itself. >> >>> On May 30, 2014, at 11:15 AM, Lu, Yingqi wrot

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-30 Thread Lu, Yingqi
into trunk this weekend. On May 16, 2014, at 2:53 PM, Lu, Yingqi wrote: > Hi Jim, > > Thanks very much for clarifying this with me. I added #ifdef in the code to > check _SC_NPROCESSORS_ONLN in the so_reuseport patch. Bucket patch does not > use this parameter so that it r

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-28 Thread Lu, Yingqi
Hi All, I just want to ping again on these two patches. Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, May 23, 2014 9:03 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-23 Thread Lu, Yingqi
trunk? Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Friday, May 16, 2014 11:53 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Hi Jim, Thanks very much for clarifying this with me. I

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-20 Thread Lu, Yingqi
Dear All, I am checking if there are any questions/comments on both of the patches? Also, I am wondering what the process of patch acceptance is. Please let me know if there is anything I can do to help. Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-16 Thread Lu, Yingqi
Dear all, Any other feedback/comments/questions? Thanks, Yingqi -Original Message- From: Lu, Yingqi Sent: Wednesday, May 14, 2014 9:00 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Hi Jim, Thanks very much for your

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-16 Thread Lu, Yingqi
Dear all, Any other feedback/comments/questions? Thanks, Yingqi -Original Message- From: Lu, Yingqi Sent: Wednesday, May 14, 2014 9:00 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Hi Jim, Thanks very much for your

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-16 Thread Lu, Yingqi
Dear all, I sent this message twice in the morning, but I did not receive anything back. I am resending this one more time, just trying to gather your feedback/comments/questions on both of the patches. Sorry for the duplications. Thanks, Yingqi -Original Message- From: Lu, Yingqi

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-16 Thread Lu, Yingqi
feedback/comments/questions. Thanks very much for your time reviewing the patches. Thanks, Yingqi -Original Message- From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Wednesday, May 14, 2014 9:00 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-05-14 Thread Lu, Yingqi
at 7:55 PM, Lu, Yingqi wrote: > Dear All, > > During the last couple weeks, I spent some time extending the original two > patches from prefork MPM only to all three Linux MPMs (prefork, worker and > event). Attached is the latest version of the two patches. Bugzilla database

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-04-07 Thread Lu, Yingqi
:21 PM, "Lu, Yingqi" mailto:yingqi...@intel.com>> wrote: I just want to ping again on the modifications we made on both of the patches [bugzilla #55897 and bugzilla #56279]. Please let us know your comments and feedback. I am reattaching the patch files here in case you missed or

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-31 Thread Lu, Yingqi
Dear all, I just want to ping again on the modifications we made on both of the patches [bugzilla #55897 and bugzilla #56279]. Please let us know your comments and feedback. Thanks, Yingqi From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Monday, March 24, 2014 1:56 PM To: dev

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-24 Thread Lu, Yingqi
Dear all, I just want to ping on both of these two patches to see if there is anything we can do to help them get accepted. Your feedbacks and comments are very much appreciated. Thanks, Yingqi Lu From: Lu, Yingqi [mailto:yingqi...@intel.com] Sent: Monday, March 17, 2014 1:41 PM To: dev

RE: [PATCH ASF bugzilla# 55897] prefork_mpm patch with SO_REUSEPORT support

2014-03-17 Thread Lu, Yingqi
Hi Tim, Thanks for your email. SO_REUSEPORT feature is enabled on Linux kernel 3.9 and newer. The feature is defined at /usr/include/asm-generic/socket.h. With the old kernel, the definition is there, but is commented out. /*#define SO_REUSEPORT 15*/ The section of code below is just to de

RE: SO_REUSEPORT in the children processes

2014-03-10 Thread Lu, Yingqi
Hi Yann, As we pointed out in our original discussion thread, we dropped the child process implementation due to the kernel defect with changing the number of open sockets. Now, we quickly tested this child process implementation (prefork) with our workload on a modern Xeon dual sockets server

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-06 Thread Lu, Yingqi
defined in the httpd.conf file. Thanks, Yingqi From: Yann Ylavic [mailto:ylavic@gmail.com] Sent: Thursday, March 06, 2014 5:49 AM To: httpd Subject: Re: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support On Wed, Mar 5, 2014 at 6:38 PM, Lu, Yingqi mailto:yingqi

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-05 Thread Lu, Yingqi
for your posts, and please do not feel ignored. There are a handful of people active and we all have many details to attend to. Yours, Bill On Fri, Jan 24, 2014 at 5:25 PM, Lu, Yingqi wrote: > Dear All, > > > > Our analysis of Apache httpd 2.4.7 prefork mpm, on 32 and 64 thre

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-05 Thread Lu, Yingqi
unclear to me why an accept mutex is needed at all. Multiple processes poll()ing the same inherited socket is safe but not multiple ones? Is that an OS issue? Process wide only? Still (in)valid in latest OSes? Thanks for the patch anyway, it looks promising. Regards, Yann. On Sat, Jan 25, 2014

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-04 Thread Lu, Yingqi
This is actually a very good point. We should make the SO_REUSEPORT detection over the runtime. I will put this comment into the change list. Thanks very much, Arkadiusz! Yingqi -Original Message- From: Arkadiusz Miśkiewicz [mailto:ar...@maven.pl] Sent: Tuesday, March 04, 2014 10:51 A

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-04 Thread Lu, Yingqi
: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support On Tue, Mar 4, 2014 at 10:35 AM, Lu, Yingqi mailto:yingqi...@intel.com>> wrote: Hi All, I just want to ping again on this patch to gather your feedback and comments. Please refer to the messages below for patch details.

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-03-04 Thread Lu, Yingqi
Hi All, I just want to ping again on this patch to gather your feedback and comments. Please refer to the messages below for patch details. If you need any additional information/supporting data, please let us know as well. Thanks, Yingqi From: Lu, Yingqi Sent: Monday, February 24, 2014 10

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-02-28 Thread Lu, Yingqi
Hi Jeff, I am just checking if you got chance to check this? Thanks, Lucy From: Lu, Yingqi Sent: Monday, February 24, 2014 10:37 AM To: dev@httpd.apache.org Subject: RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Thanks very much, Jeff! Thanks, Lucy From

RE: FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-02-24 Thread Lu, Yingqi
, Yingqi mailto:yingqi...@intel.com>> wrote: Hi All, I just want to ping again on this patch to gather your feedback and comments. Please refer to the messages below for patch details. Thanks, Yingqi Hi Yinqqi, I'm sorry that nobody has responded yet. I'll try to do so very soon.

FW: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-02-24 Thread Lu, Yingqi
Hi All, I just want to ping again on this patch to gather your feedback and comments. Please refer to the messages below for patch details. Thanks, Yingqi From: Lu, Yingqi Sent: Monday, February 10, 2014 11:13 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-02-10 Thread Lu, Yingqi
I am reattaching the patch in case you missed the original email. Thanks, Yingqi From: Lu, Yingqi Sent: Monday, February 10, 2014 11:09 AM To: dev@httpd.apache.org Subject: RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Hi All, I just want to ping again on this

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-02-10 Thread Lu, Yingqi
Hi All, I just want to ping again on this patch to see if there are any feedback and comments. This is our first patch to the Apache community. Please let us know if there is anything we can do to help you test and comment the patch. Thanks, Yingqi From: Lu, Yingqi Sent: Friday, January 24

RE: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-01-31 Thread Lu, Yingqi
Hi All, I just want to check if there are feedback/comments to this patch? Thanks, Yingqi From: Lu, Yingqi Sent: Friday, January 24, 2014 3:26 PM To: dev@httpd.apache.org Subject: [PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support Dear All, Our analysis of Apache httpd

[PATCH ASF bugzilla# 55897]prefork_mpm patch with SO_REUSEPORT support

2014-01-24 Thread Lu, Yingqi
Dear All, Our analysis of Apache httpd 2.4.7 prefork mpm, on 32 and 64 thread Intel Xeon 2600 series systems, using an open source three tier social networking web server workload, revealed performance scaling issues. In current software single listen statement (listen 80) provides better scal