xSocket
2.0 - Test:
1.a Load test - (multithreaded- one client)
Test environment:
- Load
client:
- software:
-Suse
Linux 9;
-
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
-
xSocket
- hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
-
Server:
- software:
-Suse Linux 9;
-
Java(TM) SE Runtime Environment (build 1.6.0-b105)
-
hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
1.1 Test: 20 concurrent permanent connections
server
throughput: ~ 45.000 request/sec
server
java -Xmx500000000 -server -cp test.jar org.xsocket.connection.XSocketEchoServer 9090 0 false false 20
---------------------------------------
Echo handler initialized. Printing each rate (req/sec) each 5 sec
mode threaded (pool size 20)
synch flush false
pause 0
write to file false
---------------------------------------
client
java -server -cp
test.jar -server -cp test.jar
org.xsocket.connection.LoadClient fmaj11 9090 20 1
false 1000000 100 0
---------------------------------------
Load-info:
data packet
size 100 bytes
concurrent
client threads 20
concurrent
connections 20
new connection
for each request? false
wait time
between client calls 0 millis
---------------------------------------
|
time |
throughput |
min |
max |
average |
median |
p75 |
p90 |
p95 |
p99 |
|
|
44850 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
45578 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
44557 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
45031 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
44368 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
|
|
45005 |
0 |
206 |
0 |
0 |
1 |
1 |
1 |
1 |
1.b Load test (multithreaded – two clients)
Test environment:
- Load
client:
- software:
-Suse
Linux 9;
-
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
-
xSocket
- hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
-
Server:
- software:
-Suse Linux 9;
-
Java(TM) SE Runtime Environment (build 1.6.0-b105)
-
hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
1.1 Test: 40 concurrent permanent connections
server
throughput: ~ 61.000 request/sec
server
java -Xmx500000000 -server -cp test.jar org.xsocket.connection.XSocketEchoServer 9090 0 false false 20
---------------------------------------
Echo handler initialized. Printing each rate (req/sec) each 5 sec
mode threaded (pool size 20)
synch flush false
pause 0
write to file false
---------------------------------------
2.1 Client A
java -server -cp test.jar
-server -cp test.jar org.xsocket.connection.LoadClient
fmaj11 9090 20 1 false 1000000 100 0
---------------------------------------
Load-info:
data packet
size 100 bytes
concurrent
client threads 20
concurrent
connections 20
new connection
for each request? false
wait time
between client calls 0 millis
---------------------------------------
|
time |
throughput |
min |
max |
average |
median |
p75 |
p90 |
p95 |
p99 |
|
|
31099 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
31170 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30341 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
31285 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30988 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30471 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
2.1 Client B
java -server -cp test.jar
-server -cp test.jar org.xsocket.connection.LoadClient
fmaj11 9090 20 1 false 1000000 100 0
---------------------------------------
Load-info:
data packet
size 100 bytes
concurrent
client threads 20
concurrent
connections 20
new connection
for each request? false
wait time
between client calls 0 millis
---------------------------------------
|
time |
throughput |
min |
max |
average |
median |
p75 |
p90 |
p95 |
p99 |
|
|
30643 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30481 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30865 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
31317 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
30716 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
|
|
31209 |
0 |
207 |
0 |
1 |
1 |
1 |
1 |
3 |
2. Load test (non threaded server- two clients)
Test environment:
- Load
client (2x):
- software:
-Suse
Linux 9;
-
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
-
xSocket
- hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
- Server:
- software:
-Suse
Linux 9;
-
Java(TM) SE Runtime Environment (build 1.6.0-b105) in server mode
- hardware: 2x 1.6ghz Xeon Dualcore,
2 GB ram
2.0 Testresult
server
throughput: ~ 100.000 request/sec
server
java -Xmx500000000 -server -cp test.jar org.xsocket.connection.XSocketEchoServer 9090 0 false false
---------------------------------------
Echo
handler initialized. Printing each rate (req/sec)
each 5 sec
mode non
threaded
synch flush false
synch flush false
pause 0
write to file false
---------------------------------------
2.1 Client A
java -server -cp test.jar
-server -cp test.jar org.xsocket.connection.LoadClient
fmaj11 9090 50 1 false 1000000 100 0
---------------------------------------
Load-info:
data packet
size 100 bytes
concurrent
client threads 50
concurrent
connections 50
new connection
for each request? false
wait time
between client calls 0 millis
---------------------------------------
-
|
time |
throughput |
min |
max |
average |
median |
p75 |
p90 |
p95 |
p99 |
|
|
51306 |
0 |
433 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
45530 |
0 |
723 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
57726 |
0 |
723 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
52292 |
0 |
723 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
42893 |
0 |
1063 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
50907 |
0 |
1063 |
0 |
1 |
1 |
1 |
2 |
3 |
2.1 Client B
java -server -cp test.jar
-server -cp test.jar org.xsocket.connection.LoadClient
fmaj11 9090 50 1 false 1000000 100 0
---------------------------------------
Load-info:
data packet
size 100 bytes
concurrent
client threads 50
concurrent
connections 50
new connection
for each request? false
wait time
between client calls 0 millis
---------------------------------------
|
time |
throughput |
min |
max |
average |
median |
p75 |
p90 |
p95 |
p99 |
|
|
52194 |
0 |
433 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
54796 |
0 |
433 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
42484 |
0 |
1128 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
52110 |
0 |
1128 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
45469 |
0 |
1128 |
0 |
1 |
1 |
1 |
2 |
3 |
|
|
52194 |
0 |
433 |
0 |
1 |
1 |
1 |
2 |
3 |