Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9 not using resources properly - N/W issue in local loopback interface

Hi,

On Fri, Oct 18, 2013 at 9:06 PM, dinesh kumar <dinesh12b@xxxxxxxxx> wrote:
> Hi All,
> I am trying to run Jetty 9 on Ubuntu 12.10 (32 bit). The JVM i am using in
> JDK 1.7.0_40. I have setup a rest service on my server that uses RestLib.
> The rest service is a POST method that just receives the data and does no
> processing with it and responds a success.
>
> I want to see what is the maximum load the Jetty9 server will take with the
> given resources. I have a Intel i5 processor box with 8 GB memory. I have
> setup a Jmeter to test this rest in the localhost setting. I know this is
> not advisable but i would like to know this number (just out of curiosity).
>
> When i run the JMeter to test this POST method with 1 MB of payload data in
> the body, i am getting a through put of around 20 (for 100 users).
>
> I measured the the bandwidth using iperf to begin with
>
> iperf -c 127.0.0.1 -p 8080
> ------------------------------------------------------------
> Client connecting to 127.0.0.1, TCP port 8080
>
> TCP window size:  167 KByte (default)
>
> [  3] local 127.0.0.1 port 44130 connected with 127.0.0.1 port 8080
>
> [ ID] Interval       Transfer     Bandwidth
>
> [  3]  0.0-10.0 sec   196 MBytes   165 Mbits/sec
>
> the number 165 MB seems ridiculously small for me but that's one
> observation.

You're not connecting iperf to Jetty, are you ?

On my 4.5 years old laptop iperf on localhost gives me 16.2 Gbits/s.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top