<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Il 11/08/2011 09:34, Jaymin Shah ha scritto:
<blockquote
cite="mid:CAO=2P+Lb1a3ojZtV_t6xea5kudCHcVOerna-xmT2e7T7tPrYUg@mail.gmail.com"
type="cite">Please find below command I had used and its output.
<div><br>
</div>
<div><b>Command#</b></div>
<div>ab -n 20000 -c 200 <a moz-do-not-send="true"
href="http://localhost:8080/">http://localhost:8080/</a></div>
</blockquote>
<br>
please try with different concurrency for example -c 5, -c 10 and so
on and see if the result change,<br>
<br>
Nicola<br>
<br>
<blockquote
cite="mid:CAO=2P+Lb1a3ojZtV_t6xea5kudCHcVOerna-xmT2e7T7tPrYUg@mail.gmail.com"
type="cite">
<div><br>
</div>
<div><b>Output#</b></div>
<div>
<div>This is ApacheBench, Version 2.3 <$Revision: 655654
$></div>
<div>Copyright 1996 Adam Twiss, Zeus Technology Ltd, <a
moz-do-not-send="true" href="http://www.zeustech.net/">http://www.zeustech.net/</a></div>
<div>Licensed to The Apache Software Foundation, <a
moz-do-not-send="true" href="http://www.apache.org/">http://www.apache.org/</a></div>
<div><br>
</div>
<div>Benchmarking localhost (be patient)</div>
<div>Completed 2000 requests</div>
<div>Completed 4000 requests</div>
<div>Completed 6000 requests</div>
<div>Completed 8000 requests</div>
<div>Completed 10000 requests</div>
<div>Completed 12000 requests</div>
<div>Completed 14000 requests</div>
<div>Completed 16000 requests</div>
<div>Completed 18000 requests</div>
<div>Completed 20000 requests</div>
<div>Finished 20000 requests</div>
<div><br>
</div>
<div><br>
</div>
<div>Server Software:</div>
<div>Server Hostname: localhost</div>
<div>Server Port: 8080</div>
<div><br>
</div>
<div>Document Path: /</div>
<div>Document Length: 230 bytes</div>
<div>
<br>
</div>
<div>Concurrency Level: 200</div>
<div>Time taken for tests: 8.438 seconds</div>
<div>Complete requests: 20000</div>
<div>Failed requests: 0</div>
<div>Write errors: 0</div>
<div>Total transferred: 5800000 bytes</div>
<div>HTML transferred: 4600000 bytes</div>
<div>Requests per second: 2370.09 [#/sec] (mean)</div>
<div>Time per request: 84.385 [ms] (mean)</div>
<div>Time per request: 0.422 [ms] (mean, across all
concurrent requests)</div>
<div>Transfer rate: 671.22 [Kbytes/sec] received</div>
<div><br>
</div>
<div>Connection Times (ms)</div>
<div> min mean[+/-sd] median max</div>
<div>Connect: 0 0 6.1 0 507</div>
<div>
Processing: 5 83 97.4 63 1099</div>
<div>Waiting: 3 52 76.5 41 598</div>
<div>Total: 5 83 97.7 64 1099</div>
<div><br>
</div>
<div>Percentage of the requests served within a certain time
(ms)</div>
<div> 50% 64</div>
<div> 66% 70</div>
<div> 75% 77</div>
<div> 80% 80</div>
<div> 90% 101</div>
<div> 95% 116</div>
<div> 98% 587</div>
<div> 99% 597</div>
<div> 100% 1099 (longest request)</div>
</div>
<div><br>
<br>
<div class="gmail_quote">On Thu, Aug 11, 2011 at 9:36 AM, News
Aanad <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:news.anand11@gmail.com">news.anand11@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<div class="gmail_quote">---------- Forwarded message
----------<br>
From: <b class="gmail_sendername">Jamie McCrindle</b> <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:jamiemccrindle@gmail.com" target="_blank">jamiemccrindle@gmail.com</a>></span><br>
Date: Wed, Aug 10, 2011 at 11:53 AM<br>
Subject: Re: netty based http server performance 15K/sec<br>
To: Netty Users <<a moz-do-not-send="true"
href="mailto:netty-users@lists.jboss.org"
target="_blank">netty-users@lists.jboss.org</a>><br>
<br>
<br>
<p>Can you send the apache bench command line you used
along with the output?</p>
<div>
<div class="h5">
<div>
<div>
<div class="gmail_quote">On Aug 10, 2011 8:09 AM,
"Jaymin Shah" <<a moz-do-not-send="true"
href="mailto:sjaymin@gmail.com"
target="_blank">sjaymin@gmail.com</a>>
wrote:<br type="attribution">
> Hi,<br>
> <br>
> It was claimed that netty based http server
can handle *15693.29 [#/sec]<br>
> request* ref# <a moz-do-not-send="true"
href="http://www.olympum.com/java/quick-benchmark-java-nodejs/"
target="_blank">http://www.olympum.com/java/quick-benchmark-java-nodejs/</a><br>
> <br>
> I have tried using
org.jboss.netty.example.http.snoop but never got<br>
> performance beyond* 2285.58 [#/sec]
(mean)*. I am using Windows 7 - 64-bit<br>
> operating system with 4GB RAM and Intel
core i5 with 2.40GHz<br>
> <br>
> Can someone please share their experience
how I can achieve mentioned<br>
> performance.<br>
> <br>
> regards,<br>
> Jaymin<br>
</div>
</div>
</div>
<br>
</div>
</div>
_______________________________________________<br>
netty-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:netty-users@lists.jboss.org"
target="_blank">netty-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/netty-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
netty-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/netty-users">https://lists.jboss.org/mailman/listinfo/netty-users</a></pre>
</blockquote>
<br>
</body>
</html>