Hello,
After correcting my hardware problem, I rerun my load test on LVS with a
simple test for UDP.
Actually, my setup is just the following :
Client (CIP : 192.168.1.209) ==> Director (VIP : 192.168.1.231, DIP:
192.168.2.231) ==> realserver (Only one, RIP : 192.168.2.3), with the
following configuration :
Client : XP, using SIPp in order to generate a lot of SIP messages in
parallel (500 differents sockets open at max). These message are a single
UDP packet, with only 425 Bytes each
Director : debian etch, kernel 2.6.18 + ipvsadm 1.24
ipvsadm setup :
-A -u 192.168.1.231:sip -s rr
-a -u 192.168.1.231:sip -r 192.168.2.3:sip -m
-A -t 192.168.1.231:sip -s rr
-a -t 192.168.1.231:sip -r 192.168.2.3:sip -m
-A -t 192.168.1.231:www -s wlc
-a -t 192.168.1.231:www -r 192.168.2.3:www -m
realserver : the corresponding service, which use cipango, a sip servlet
container to generate valid SIP response (200 OK), with only 300 bytes in
each response.
I realize a first test, using TCP, in order to validate my configuration.
With this test, I'm obtaining the following result : (see attachment,
TCP_test.txt). In this case, LVS show perfect result, even with a high load
rate (4000 msg / seconds).
But, when I'm trying the same test, with UDP, I actually have very bad
result (between 500 and 3000 successful call for test with ten of thousands
calls). Results are UDP_test1.txt, UDP_test2.txt and UDP_test3.txt
When I'm check with ipvsadm, I can view the following (from situation
UDP_test3.txt) :
director:/home/pierrick# ipvsadm
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
UDP director.local:sip rr
-> 192.168.2.3:sip Masq 1 0 499
TCP director.local:sip rr
-> 192.168.2.3:sip Masq 1 0 0
TCP director.local:www wlc
-> 192.168.2.3:www Masq 1 0 0
It's seems that LVS doesn't increase InActConn anymore, and, in SIPp, only
the first calls are correctly routed, all others finished as timeout.
Did someone encounter the same behavior ?
--
Grasland Pierrick
ENSSAT - LSI 3
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Timestamp: Wed Mar 26 11:45:00 2008
Call-rate(length) Port Total-time Total-calls Remote-host
4000.0(0 ms)/1.000s 5076 138.31 s 103490 192.168.1.231:5060(TCP)
0 new calls during 0.540 s period 1 ms scheduler resolution
0 calls (limit 48000) Peak was 48000 calls, after 94 s
0 Running, 0 Paused, 0 Woken up
0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout Unexpected-Msg
OPTIONS ----------> 103490 0 0
200 <---------- E-RTD1 103490 0 0 0
Pause [ 4000ms] 103490 0
------- Waiting for active calls to end. Press [q] again to force exit. -------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2008-03-26 11:42:42:640 1206528162.640625
Last Reset Time | 2008-03-26 11:45:00:432 1206528300.432625
Current Time | 2008-03-26 11:45:00:973 1206528300.973625
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:541 | 00:02:18:333
Call Rate | 0.000 cps | 748.122 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 103490
Total Call created | | 103490
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 34 | 103490
Failed call | 0 | 0
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000 | 00:00:24:008
Call Length | 00:00:23:157 | 00:00:28:120
------- Waiting for active calls to end. Press [q] again to force exit. -------
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Timestamp: Wed Mar 26 11:35:29 2008
Call-rate(length) Port Total-time Total-calls Remote-host
2250.0(0 ms)/1.000s 5076 90.85 s 27810 192.168.1.231:5060(UDP)
0 new calls during 0.467 s period 77 ms scheduler resolution
0 calls (limit 27000) Peak was 27000 calls, after 58 s
0 Running, 0 Paused, 0 Woken up
0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout Unexpected-Msg
OPTIONS ----------> 27810 243000 27000
200 <---------- E-RTD1 810 0 0 0
Pause [ 4000ms] 810 0
------- Waiting for active calls to end. Press [q] again to force exit. -------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2008-03-26 11:33:58:562 1206527638.562500
Last Reset Time | 2008-03-26 11:35:28:966 1206527728.966500
Current Time | 2008-03-26 11:35:29:434 1206527729.434500
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:468 | 00:01:30:872
Call Rate | 0.000 cps | 306.035 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 27810
Total Call created | | 27810
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 810
Failed call | 217 | 27000
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000 | 00:00:00:004
Call Length | 00:00:31:872 | 00:00:30:811
------- Waiting for active calls to end. Press [q] again to force exit. -------
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Timestamp: Wed Mar 26 11:23:03 2008
Call-rate(length) Port Total-time Total-calls Remote-host
0.0(0 ms)/1.000s 5076 1182.16 s 17831 192.168.1.231:5060(UDP)
0 new calls during 0.497 s period 1 ms scheduler resolution
0 calls (limit 1) Peak was 1800 calls, after 87 s
0 Running, 0 Paused, 0 Woken up
0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout Unexpected-Msg
OPTIONS ----------> 17831 136080 15120
200 <---------- E-RTD1 2711 0 0 0
Pause [ 4000ms] 2711 0
------- Waiting for active calls to end. Press [q] again to force exit. -------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2008-03-26 11:03:21:390 1206525801.390625
Last Reset Time | 2008-03-26 11:23:03:083 1206526983.083625
Current Time | 2008-03-26 11:23:03:582 1206526983.582625
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:499 | 00:19:42:192
Call Rate | 0.000 cps | 15.083 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 17831
Total Call created | | 17831
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 2711
Failed call | 0 | 15120
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000 | 00:00:00:005
Call Length | 00:00:00:000 | 00:00:27:373
------- Waiting for active calls to end. Press [q] again to force exit. -------
------------------------------ Scenario Screen -------- [1-9]: Change Screen --
Timestamp: Wed Mar 26 12:04:15 2008
Call-rate(length) Port Total-time Total-calls Remote-host
200.0(0 ms)/1.000s 5076 615.71 s 45580 192.168.1.231:5060(UDP)
0 new calls during 0.499 s period 2 ms scheduler resolution
0 calls (limit 2400) Peak was 2400 calls, after 14 s
0 Running, 0 Paused, 0 Woken up
0 out-of-call msg (discarded)
1 open sockets
Messages Retrans Timeout Unexpected-Msg
OPTIONS ----------> 45580 405729 45081
200 <---------- E-RTD1 499 0 0 0
Pause [ 4000ms] 499 0
------- Waiting for active calls to end. Press [q] again to force exit. -------
----------------------------- Statistics Screen ------- [1-9]: Change Screen --
Start Time | 2008-03-26 11:53:59:671 1206528839.671875
Last Reset Time | 2008-03-26 12:04:14:903 1206529454.903875
Current Time | 2008-03-26 12:04:15:402 1206529455.402875
-------------------------+---------------------------+--------------------------
Counter Name | Periodic value | Cumulative value
-------------------------+---------------------------+--------------------------
Elapsed Time | 00:00:00:499 | 00:10:15:731
Call Rate | 0.000 cps | 74.026 cps
-------------------------+---------------------------+--------------------------
Incoming call created | 0 | 0
OutGoing call created | 0 | 45580
Total Call created | | 45580
Current Call | 0 |
-------------------------+---------------------------+--------------------------
Successful call | 0 | 499
Failed call | 102 | 45081
-------------------------+---------------------------+--------------------------
Response Time 1 | 00:00:00:000 | 00:00:00:004
Call Length | 00:00:31:530 | 00:00:31:287
------- Waiting for active calls to end. Press [q] again to force exit. -------
_______________________________________________
LinuxVirtualServer.org mailing list - [email protected]
Send requests to [EMAIL PROTECTED]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users