On Fri, Apr 20, 2018 at 09:46:23AM +0200, Willy Tarreau wrote:

> > Hmm, may be I am nor clean.
> > In process mode all 8 CPU have load 0.18. In thread mode summary
> > average load still about 0.18, but distinct CPU load now different:
> > 
> > 0: 0.13
> > 1: 0.15
> > 2: 0.07
> > 3: 0.40
> > 4: 0.23
> > 5: 0.33
> > 6: 0.16
> > 7: 0.15
> > 
> > Average (0.20) is about same as 0.18 (rised by more users now)
> 
> Oh I think I understand. In multi-process mode you probably had several
> listening sockets, one per process. But in multi-thread mode you likely
> have a single one. Given that the connections are not migrated in 1.8,
> if a thread accepts a burst of connections it will have to process them.

Also some strange: after resart I see 100% busy on CPU#1 (other CPU as
before -- from 0.05 to 0.4). This is busy loop over kevent:

kqfd 11 cl 0 nc 0 eventlist 813400000 nevent 200 timeout 0.2000000
ret 11 errno 0

ev_kqueue.c:128

Like some events not removed from eventlist and permanently
re-activated.

Reply via email to