Re: CPU consumption

2013-03-20 Thread Igor Galić
- Original Message - Most likely the event loop timeout is too short for the VM. The shortest timeout should be at least 10 msec in most cases to avoid busy waiting. Practically speaking, we should be able to use a 1 second timeout and just interrupt the thread via the eventfd

Re: CPU consumption

2013-03-19 Thread Igor Galić
- Original Message - Hello ! I've just installed ATS on a Debian 6.0 (but with squeeze repository in order to install ATS using packages) on Xen server host (other VM on the same host work like a charm). ATS is now setup and works as a reverse proxy but it consumes CPU even

Re: CPU consumption

2013-03-19 Thread Matthieu BIENVENÜE
Hello, Sure it's very little :) But I've the same problem with another VM with 512MB of RAM. Even with 64MB of RAM, ATS starts and works fine (with caching enable). So it isn't the problem. Thanks Le 19/03/2013 09:33, Igor Galić a écrit : - Original Message - Hello ! I've

Re: CPU consumption

2013-03-19 Thread Reindl Harald
Am 19.03.2013 09:33, schrieb Igor Galić: - Original Message - Hello ! I've just installed ATS on a Debian 6.0 (but with squeeze repository in order to install ATS using packages) on Xen server host (other VM on the same host work like a charm). ATS is now setup and works as

Re: CPU consumption

2013-03-19 Thread Matthieu BIENVENÜE
Good to ear that I'm not alone with that problem ! But with no solution currently. Matthieu Le 19/03/2013 10:25, Reindl Harald a écrit : Am 19.03.2013 09:33, schrieb Igor Galić: - Original Message - Hello ! I've just installed ATS on a Debian 6.0 (but with squeeze repository in

Re: CPU consumption

2013-03-19 Thread Reindl Harald
well, it's not that much, around 100 MHz in VMware vCenter and the really important thing is that with some hundret simultaneous requests the CPU load stays moderate compared with the origin server Am 19.03.2013 10:30, schrieb Matthieu BIENVENÜE: Good to ear that I'm not alone with that problem

Re: CPU consumption

2013-03-19 Thread Matthieu BIENVENÜE
OK that's good if the CPU doesn't explode while in production. But I think that there is a problem because something that do nothing should not use CPU. Otherwise what ATS does with that CPU ? Le 19/03/2013 10:59, Reindl Harald a écrit : well, it's not that much, around 100 MHz in VMware

Re: CPU consumption

2013-03-19 Thread Igor Galić
- Original Message - Am 19.03.2013 09:33, schrieb Igor Galić: - Original Message - Hello ! I've just installed ATS on a Debian 6.0 (but with squeeze repository in order to install ATS using packages) on Xen server host (other VM on the same host

Re: CPU consumption

2013-03-19 Thread Matthieu BIENVENÜE
I've tested on a server with a Quad-Core AMD Opteron(tm) Processor 2376 HE (with on core setup for the VM with ATS) and I've tested on my own laptop with an Intel Core 2 Duo P7450. Le 19/03/2013 11:24, Igor Galić a écrit : - Original Message - Am 19.03.2013 09:33, schrieb Igor

Re: CPU consumption

2013-03-19 Thread John Plevyak
Most likely the event loop timeout is too short for the VM. The shortest timeout should be at least 10 msec in most cases to avoid busy waiting. Practically speaking, we should be able to use a 1 second timeout and just interrupt the thread via the eventfd mechanism. Can we get a specific repo