[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#3835 Lightweight Listener Thread

 > In our case with the lightweight listener code, I suspect a lot of the 
> consumption is in select(). An strace(1) of it yields heavy select()
> activity and not much else; just some small read()s, time(), 
> and kill() calls.
What I am working on is to use a semaphore for load conditioning between a 
listener thread
and worker threads. It reduces listener overheads (Marjory comes from 
select()) significantly
when there is a large number of concurrent connections(128>). This patch 
will be submitted soon.