Re: Unexpected low CPU usage

Randall R Schulz <[email protected]> Fri, 18 Jan 2008 06:55:36 -0800
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Friday 18 January 2008 00:21, Johan Stuyts wrote:
> Hi,
>
> I have written an application server that exposes its services using
> multiple RPC protocols: RMI, XML-RPC and SOAP. I have implemented a
> simple ping service so I can determine the overhead of my framework
> and a specific RPC protocol compared with bare RMI. I have a test
> client program that invokes this service many times.
>
> The weird thing is that when I run the test using the SOAP protocol
> (implemented using XFire 1.2.6), the CPU is not fully used. I have no
> clue where to look and/or what tools to use to diagnose the problem,
> because most methods/tools measure/detect overuse instead of
> underuse. Has anybody seen something similar?

Odd. Usually people think of excessive CPU utilization as the problem...

Does the client submit a request and wait for the response before
submitting the next request? If so, the transmission and client-side
decoding time produce idle periods on the server.


> Kind regards,
>
> Johan Stuyts


Randall Schulz

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com