Hi Uri,
can you pls. profile the server without loading at all to see the diff?
As I mentioned before, Selector.select(...) usually is reported as a
hotspot, so I don't think your report is suspicious, but let's double check.
Thanks.
WBR,
Alexey.
On 11.06.15 09:22, Broide Uri wrote:
>
> Hi Alexey,
>
> Any update?
>
> Thanks
>
> Uri
>
> *From:*Meltser Tiran [mailto:Tiran.Meltser_at_comverse.com]
> *Sent:* Tuesday, June 09, 2015 7:56 PM
> *To:* users_at_grizzly.java.net
> *Subject:* RE: CPU Usage Profiling
> *Importance:* High
>
> Hi Alexey,
>
> We don’t think this is the case as (I hope) you can see the graph is
> sorted by *Self Time (CPU)*.
>
> *Tiran Meltser***
> System Architect
> Global Products & Operations
> *Comverse* – /Making Your Network Smarter/
>
> T +972-3-7678381
> M +972-54-5639381
> Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
> *www.comverse.com <http://www.comverse.com/> *
>
> *P****Please think of the environment before printing this email***
>
> *From:*Oleksiy Stashok [mailto:oleksiy.stashok_at_oracle.com]
> *Sent:* Tuesday, June 09, 2015 7:21 PM
> *To:* users_at_grizzly.java.net <mailto:users_at_grizzly.java.net>
> *Subject:* Re: CPU Usage Profiling
>
> Hi Uri,
>
> I suspect what you see is the total time spent inside the method, but
> most of the time it's in the idle state waiting for I/O events, so it
> shouldn't consume CPU.
> Please let me know if it's not the case.
>
> WBR,
> Alexey.
>
> On 09.06.15 16:29, Broide Uri wrote:
>
> Hi Alexey,
>
> After stabilizing on 100% Success Rate in heavy load on our
> application we started to perform CPU Usage profiling.
>
> We have noticed (you can see the attached screenshot) that we are
> spending 66% from the CPU time in the
> *org.glassfish.nio.DefaultSelectorHandler.select()* method.
>
> We are running the load with the following environment:
>
> ·Grizzly 2.3.21
>
> ·JDK 1.7.0_72-b14
>
> ·RHEL 5.X
>
> Any advice on how can we improve the high CPU consumption?
>
> cid:image003.jpg_at_01D0A2D6.6204FEE0
>
> Thanks
>
> Uri
>
> ------------------------------------------------------------------------
>
> “This e-mail message may contain confidential, commercial or
> privileged information that constitutes proprietary information of
> Comverse Inc. or its subsidiaries. If you are not the intended
> recipient of this message, you are hereby notified that any
> review, use or distribution of this information is absolutely
> prohibited and we request that you delete all copies and contact
> us by e-mailing to: security_at_comverse.com
> <mailto:security_at_comverse.com>. Thank You.”
>
> ------------------------------------------------------------------------
>
> “This e-mail message may contain confidential, commercial or
> privileged information that constitutes proprietary information of
> Comverse Inc. or its subsidiaries. If you are not the intended
> recipient of this message, you are hereby notified that any review,
> use or distribution of this information is absolutely prohibited and
> we request that you delete all copies and contact us by e-mailing to:
> security_at_comverse.com <mailto:security_at_comverse.com>. Thank You.”
>
> ------------------------------------------------------------------------
> “This e-mail message may contain confidential, commercial or
> privileged information that constitutes proprietary information of
> Comverse Inc. or its subsidiaries. If you are not the intended
> recipient of this message, you are hereby notified that any review,
> use or distribution of this information is absolutely prohibited and
> we request that you delete all copies and contact us by e-mailing to:
> security_at_comverse.com. Thank You.”