Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-12-05 Thread Madars Vitolins
Hi Jason, I did the testing and wrote for it a blog article for this: https://mvitolin.wordpress.com/2015/12/05/endurox-testing-epollexclusive-flag/ But in summary is following: Test case: - One multi-threaded binary with 10 threads are doing total of 1'000'000 calls to 250 single threaded p

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-12-01 Thread Jason Baron
Hi Madars, On 11/30/2015 04:28 PM, Madars Vitolins wrote: > Hi Jason, > > I today did search the mail archive and checked your offered patch did on > February, it basically does the some (flag for add_wait_queue_exclusive() + > balance). > > So I plan to run off some tests with your patch, fla

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-11-30 Thread Madars Vitolins
Hi Jason, I today did search the mail archive and checked your offered patch did on February, it basically does the some (flag for add_wait_queue_exclusive() + balance). So I plan to run off some tests with your patch, flag on/off and will provide results. I guess if I pull up 250 or 500 pro

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-11-30 Thread Jason Baron
Hi Madars, On 11/28/2015 05:54 PM, Madars Vitolins wrote: > Hi Jason, > > I did recently tests with multiprocessing and epoll() on Posix Queues. > You were right about "EP_MAX_NESTS", it is not related with how many > processes are waken up when multiple process epoll_waits are waiting on > one e

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-11-28 Thread Madars Vitolins
Hi Jason, I did recently tests with multiprocessing and epoll() on Posix Queues. You were right about "EP_MAX_NESTS", it is not related with how many processes are waken up when multiple process epoll_waits are waiting on one event source. At doing epoll every process is added to wait queue f

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-08-05 Thread Jason Baron
On 08/05/2015 07:06 AM, Madars Vitolins wrote: > Jason Baron @ 2015-08-04 18:02 rakstīja: >> On 08/03/2015 07:48 PM, Eric Wong wrote: >>> Madars Vitolins wrote: Hi Folks, I am developing kind of open systems application, which uses multiple processes/executables where each of t

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-08-05 Thread Madars Vitolins
Jason Baron @ 2015-08-04 18:02 rakstīja: On 08/03/2015 07:48 PM, Eric Wong wrote: Madars Vitolins wrote: Hi Folks, I am developing kind of open systems application, which uses multiple processes/executables where each of them monitors some set of resources (in this case POSIX Queues) via epol

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-08-04 Thread Jason Baron
On 08/03/2015 07:48 PM, Eric Wong wrote: > Madars Vitolins wrote: >> Hi Folks, >> >> I am developing kind of open systems application, which uses >> multiple processes/executables where each of them monitors some set >> of resources (in this case POSIX Queues) via epoll interface. For >> example

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-08-03 Thread Eric Wong
Madars Vitolins wrote: > Hi Folks, > > I am developing kind of open systems application, which uses > multiple processes/executables where each of them monitors some set > of resources (in this case POSIX Queues) via epoll interface. For > example when 10 processes on same queue are in state of e

Re: epoll and multiple processes - eliminate unneeded process wake-ups

2015-07-15 Thread Madars Vitolins
Any comments? Madars Madars Vitolins @ 2015-07-13 15:34 rakstīja: Hi Folks, I am developing kind of open systems application, which uses multiple processes/executables where each of them monitors some set of resources (in this case POSIX Queues) via epoll interface. For example when 10 proce

epoll and multiple processes - eliminate unneeded process wake-ups

2015-07-13 Thread Madars Vitolins
Hi Folks, I am developing kind of open systems application, which uses multiple processes/executables where each of them monitors some set of resources (in this case POSIX Queues) via epoll interface. For example when 10 processes on same queue are in state of epoll_wait() and one message arr