xSocket 2.0 - Test: 2008-04-25

 

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

2008.04.25 07:48:51

44850

0

206

0

0

1

1

1

1

2008.04.25 07:48:56

45578

0

206

0

0

1

1

1

1

2008.04.25 07:49:01

44557

0

206

0

0

1

1

1

1

2008.04.25 07:49:06

45031

0

206

0

0

1

1

1

1

2008.04.25 07:49:11

44368

0

206

0

0

1

1

1

1

2008.04.25 07:49:16

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

2008.04.25 07:54:46

31099

0

207

0

1

1

1

1

3

2008.04.25 07:54:51

31170

0

207

0

1

1

1

1

3

2008.04.25 07:54:56

30341

0

207

0

1

1

1

1

3

2008.04.25 07:55:01

31285

0

207

0

1

1

1

1

3

2008.04.25 07:55:06

30988

0

207

0

1

1

1

1

3

2008.04.25 07:55:12

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

2008.04.25 07:54:48

30643

0

207

0

1

1

1

1

3

2008.04.25 07:54:53

30481

0

207

0

1

1

1

1

3

2008.04.25 07:54:58

30865

0

207

0

1

1

1

1

3

2008.04.25 07:55:03

31317

0

207

0

1

1

1

1

3

2008.04.25 07:55:08

30716

0

207

0

1

1

1

1

3

2008.04.25 07:55:13

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

2008.04.25 08:07:05

51306

0

433

0

1

1

1

2

3

2008.04.25 08:07:10

45530

0

723

0

1

1

1

2

3

2008.04.25 08:07:15

57726

0

723

0

1

1

1

2

3

2008.04.25 08:07:20

52292

0

723

0

1

1

1

2

3

2008.04.25 08:07:26

42893

0

1063

0

1

1

1

2

3

2008.04.25 08:07:31

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

2008.04.25 08:07:06

52194

0

433

0

1

1

1

2

3

2008.04.25 08:07:11

54796

0

433

0

1

1

1

2

3

2008.04.25 08:07:16

42484

0

1128

0

1

1

1

2

3

2008.04.25 08:07:21

52110

0

1128

0

1

1

1

2

3

2008.04.25 08:07:27

45469

0

1128

0

1

1

1

2

3

2008.04.25 08:07:06

52194

0

433

0

1

1

1

2

3