Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] High select CPU usage

Hi,

On Mon, Nov 28, 2011 at 14:13, Matthew Painter
<matthew.painter@xxxxxxxxxx> wrote:
> Hi all,
>
> I realise that there are bugs in Sun's/Oracle's implementation of the select
> channels for NIO, but I wanted to see if people think this is unusual :)
>
> Monitoring a jetty server with VisualVM Sampler, the CPU Time
> for sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0[native]() is equal to
> the time it is running. It seems to be using around 47% of the CPU time of
> the server.
>
> This seems high - should I be expecting to see such high utilisation?
>
> I am running jdk 7u2b11 and jetty 7.5.1 on windows x64.

Please give 7.6.x a try, we have reworked the NIO layer and we should
have fixed all those spins.

Simon
-- 
http://cometd.org
http://intalio.com
http://bordet.blogspot.com
----
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz


Back to the top