-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Rainer,
On 5/25/13 1:49 AM, Rainer Jung wrote: > On 24.05.2013 17:54, Christopher Schultz wrote: > >> Top reported that Tomcat was taking somewhere between 550-600% >> CPU. (This is a 4-core hyperthreaded CPU so I have 8 logical >> cores. 'ab' was taking about 100% CPU so I think 600% CPU means >> it was roughly pegging 6 of my logical cores. Roughly 30% system, >> 60% user CPU usage.). > > The 100% CPU for "ab" indicates that "ab" was your bottleneck. Interesting. > AFAIK "ab" is single threaded async, so it can handle multiple > parallel connections but will max out on one consumed CPU core. If > you want to go further, you would have to start multiple "ab" in > parallel. Or just use JMeter, but at some point I will have client and server fighting each other, as everything is on localhost. > Since you are close to a CPU saturated system, in this specific > case you might not get much further, but 17454 requests/sec isn't > that bad either :) Honestly, I was hoping for more, but I'm not really sure why... 1.4B requests/day is pretty good for a laptop! Also note that these were 100% static content, so we're mostly talking about fopen and read/write operations... nothing terribly exciting. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRpRXaAAoJEBzwKT+lPKRYEFcP/0VzYqxBsvIS6yBVpFV8cgZG v7E4nPxIJ8oefjIP4ilTPLglPixb8nJRZMrdQqUEGC9az7TAOaRjOtEcOdeSmTE1 vczsXhzYU679TfFKuke7DWLekoWW0Pr12Ph6GSu42Rzd0cRGrYoyRJZjvfemdnqC XJv0qN8Vb4bEYJC3WCi/ofL8CAwNK3ffCncHVPtwwz21otZ5eng+qFq/B5e9hkZM H8iYBf8BLQKqrQ59XJGizlVpYJU+NMyUQplD5zkPT0vGcScPuLKo+XYT0cCFZI9e ZEamd+GPUJR1Lz15NwkdifzLxwctBG9HM29yR5ciiVlwvq5oRloT2Q5+RrkCcmUl fj36NX8HbigUV4pWYpzIfrkHL8Pw5+mAKCA3oSi+m2J5y9zIg1+9HA59QWSbg9Tc DeebuwRTqFgKuWYiBKgIbJQaoyquzKQikMCgQ32LrnGhJSTJWV2pTyp85ahmI+dz AQLO3FF5iAABfUCqp9QPOdvyalaH/bp2io7IU3sTuZ0k9NtnTOHqoQnrTYf/NEyM ohlm+UsQrT+Sb4KSPKKZTvjL4rWPN29KB7UC72LK8Aq6ZsyxTBH4Lo6cQKxmapld leel39pMxakYwB0rqtZypQIAAx58EDA+8ZojnUk6dZ0CX3sXafaWBFsdniU19Voh PtQDij3ut4AKCLJJ5P0F =4h5m -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
