manos benchmarks problem

14 views
Skip to first unread message

hodzanassredin

unread,
Jan 7, 2011, 6:50:59 PM1/7/11
to Manos de Mono
Both httperf and ab shows me that manos do 100 percent reset
connections. Try this line with manos hello world example:
httperf --hog --num-conns 1000 --num-calls 1000 --burst-length 20 --
port 8080 --rate 1000 --uri=/

But if we try this:
httperf --hog --timeout=60 --client=0/1 --server=127.0.0.1 --port=8080
--uri=/ --rate=500 --send-buffer=4096 --recv-buffer=16384 --num-
conns=10000 --num-calls=1

Manos starting throws exceptions
Socket exception in Accept handler
System.Net.Sockets.SocketException: Too many open files
at System.Net.Sockets.Socket.Accept () [0x00000] in <filename
unknown>:0
at Manos.IO.SocketStream.AcceptConnections () [0x00000] in <filename
unknown>:0

In case of node.js everything is fine on the same machine.

Jackson Harper

unread,
Jan 7, 2011, 6:58:05 PM1/7/11
to manos-...@googlegroups.com
On Fri, Jan 7, 2011 at 6:50 PM, hodzanassredin <sheli...@gmail.com> wrote:
> Both httperf and ab shows me that manos do 100 percent reset
> connections. Try this line with manos hello world example:
>  httperf --hog --num-conns 1000 --num-calls 1000 --burst-length 20 --
> port 8080 --rate 1000 --uri=/
>
> But if we try this:
> httperf --hog --timeout=60 --client=0/1 --server=127.0.0.1 --port=8080
> --uri=/ --rate=500 --send-buffer=4096 --recv-buffer=16384 --num-
> conns=10000 --num-calls=1
>

Thanks, I've been meaning to spend some time on this particular issue
(running out of sockets). Now I am motivated.

Cheers,
Jackson

Jackson Harper

unread,
Jan 7, 2011, 10:42:51 PM1/7/11
to manos-...@googlegroups.com
Can you tell me what operating system this is on? Also, how current
is your version of Manos?

Server specs would be useful too.

Cheers,
Jackson


On Fri, Jan 7, 2011 at 6:50 PM, hodzanassredin <sheli...@gmail.com> wrote:

Anton Shelin

unread,
Jan 8, 2011, 5:18:39 AM1/8/11
to manos-...@googlegroups.com
Ubuntu 10.10
Manos github master branch 08.01.09 + mono 2.8
My machine is not very powerfull asus1215n

Отправлено с iPad

08.01.2011, в 6:42, Jackson Harper <jack...@gmail.com> написал(а):

Jackson Harper

unread,
Jan 8, 2011, 10:43:19 AM1/8/11
to manos-...@googlegroups.com
Can you try again with an updated Manos?

Thanks!
Jackson

2011/1/8 Anton Shelin <sheli...@gmail.com>:

Anton Shelin

unread,
Jan 8, 2011, 11:06:29 AM1/8/11
to manos-...@googlegroups.com, manos-...@googlegroups.com
Sorry my miss in previous letter i mean Manos github master branch 08 january 2011 + mono 2.8
But in case of any new changes on github i ll try it again
Отправлено с iPad

08.01.2011, в 18:43, Jackson Harper <jack...@gmail.com> написал(а):

Shelin Anton

unread,
Jan 8, 2011, 11:46:39 AM1/8/11
to manos-...@googlegroups.com
Ok tested latest commit:
connreset still here
there is full httperf log

hodza@hodza-has:~$ httperf --hog --num-conns 1000 --num-calls 1000 --burst-length 20 --port 8080 --rate 1000 --uri=/httperf --hog --client=0/1 --server=localhost --port=8080 --uri=/ --rate=1000 --send-buffer=4096 --recv-buffer=16384 --num-conns=1000 --num-calls=1000 --burst-length=20
Maximum connect burst length: 3

Total: connections 1000 requests 20000 replies 1000 test-duration 4.288 s

Connection rate: 233.2 conn/s (4.3 ms/conn, <=1000 concurrent connections)
Connection time [ms]: min 872.7 avg 2184.7 max 3917.1 median 1756.5 stddev 1044.1
Connection time [ms]: connect 1015.9
Connection length [replies/conn]: 1.000

Request rate: 4664.2 req/s (0.2 ms/req)
Request size [B]: 62.0

Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (0 samples)
Reply time [ms]: response 1110.7 transfer 56.6
Reply size [B]: header 70.0 content 12.0 footer 2.0 (total 84.0)
Reply status: 1xx=0 2xx=1000 3xx=0 4xx=0 5xx=0

CPU time [s]: user 0.08 system 4.21 (user 1.8% system 98.2% total 100.0%)
Net I/O: 301.1 KB/s (2.5*10^6 bps)

Errors: total 1000 client-timo 0 socket-timo 0 connrefused 0 connreset 1000
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

2. Previous commit shows a lot of sock exceptions current version shows single one exception, full log:

hodza@hodza-has:~/dev/src/manos/examples/HelloWorld$ manos -buildCOMPILING SOLUTION:  '0'  '/home/hodza/dev/src/manos/examples/HelloWorld'
/usr/local/lib/manos/Manos.dll
hodza@hodza-has:~/dev/src/manos/examples/HelloWorld$ manos -server
Running HelloWorld.HelloWorld on port 8080.

Socket exception in Accept handler
System.Net.Sockets.SocketException: Too many open files
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at Manos.IO.SocketStream.AcceptConnections () [0x00000] in <filename unknown>:0


hodza@hodza-has:~$ httperf --hog --timeout=60 --client=0/1 --server=127.0.0.1 --port=8080 --uri=/ --rate=500 --send-buffer=4096 --recv-buffer=16384 --num-conns=10000 --num-calls=1

httperf --hog --timeout=60 --client=0/1 --server=127.0.0.1 --port=8080 --uri=/ --rate=500 --send-buffer=4096 --recv-buffer=16384 --num-conns=10000 --num-calls=1
Maximum connect burst length: 7

Total: connections 9116 requests 9116 replies 9116 test-duration 25.543 s

Connection rate: 356.9 conn/s (2.8 ms/conn, <=1022 concurrent connections)
Connection time [ms]: min 1.5 avg 918.6 max 9030.7 median 234.5 stddev 1088.1
Connection time [ms]: connect 88.1
Connection length [replies/conn]: 1.000

Request rate: 356.9 req/s (2.8 ms/req)
Request size [B]: 62.0

Reply rate [replies/s]: min 201.6 avg 364.1 max 498.8 stddev 142.9 (5 samples)
Reply time [ms]: response 593.9 transfer 236.6
Reply size [B]: header 70.0 content 12.0 footer 2.0 (total 84.0)
Reply status: 1xx=0 2xx=9116 3xx=0 4xx=0 5xx=0

CPU time [s]: user 1.88 system 23.62 (user 7.3% system 92.5% total 99.8%)
Net I/O: 50.2 KB/s (0.4*10^6 bps)

Errors: total 884 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 884 addrunavail 0 ftab-full 0 other 0

Hope there is no misses from my side.

I'll try again previous commit and compare logs.
 
2011/1/8 Anton Shelin <sheli...@gmail.com>
I'm using commit https://github.com/jacksonh/manos/commit/58e882b059f51a9be834429ffda7690e2882d229 i'' try to test latest commit asap

Отправлено с iPad

08.01.2011, в 18:43, Jackson Harper <jack...@gmail.com> написал(а):

Jackson Harper

unread,
Jan 8, 2011, 11:48:07 AM1/8/11
to manos-...@googlegroups.com
Thanks this is very helpful.

Hopefully I can get a fix in this weekend.

Shelin Anton

unread,
Jan 8, 2011, 11:56:09 AM1/8/11
to manos-...@googlegroups.com
started tests again with latest version and it shows a lot of exceptions as it did prev commit

jacksonh

unread,
Jan 11, 2011, 4:03:24 PM1/11/11
to Manos de Mono

Can you give me your 'ulimit -n' value? (Just run that command in a
terminal and tell me what it says.

Thanks!
Jackson

shelin anton

unread,
Jan 12, 2011, 4:58:00 AM1/12/11
to manos-...@googlegroups.com, Manos de Mono
standard ubuntu value= 1024

Отправлено с iPad

12.01.2011, в 0:03, jacksonh <jack...@gmail.com> написал(а):

Reply all
Reply to author
Forward
0 new messages