Hi Cyril,

On Mon, Apr 24, 2017 at 06:09:11PM +0200, Cyril Bonté wrote:
> Hi Willy,
> 
> > De: "Willy Tarreau" <w...@1wt.eu>
> > À: "jaseywang" <jaseyw...@gmail.com>
> 
> [...]
> 
> > > Below is the data during benchmark:
> > > *maxsock = *1000036; *maxconn = *500000; *maxpipes = *0
> > > current conns = 7488; current pipes = 0/0; conn rate = 322/sec
> > > Running tasks: 7366/7449; idle = 0 %
> > 
> > This one tends to rule out the task_is_expired() bug because the idle
> > time is null, so you're running at 100% CPU. But 100% CPU for 322
> > conn/s
> > seems almost impossible to me. Even my ALOHA-pocket powered over USB
> > and running on a 400 MHz fanless MIPS does 3 or 5 times more.
> 
> Just a quick note : I remember having read that the configuration is running
> with dh-param 4096. It can require a lot more CPU than 2048 dh-params.

Wow, I didn't notice this one. You're totally right then. Maybe nbproc is
needed on this machine, and the only difference with and without the CDN
is that the CDN actually supports that large DH params so they are computed.

Willy

Reply via email to