Condor TCP vs UDP Comparison
Condor can use either TCP or UDP for advertizing
ClassAds? to a Collector. We thus test how the system performs in either of these two operation modes.
Test setup
The test consisted in running a fixed number of condor_advertise client publishing a master
ClassAd? (15k total, 400 attributes) to a single collector in a tight loop.
The collector was running at Fermilab, on a dual Intel Xeon E5430 (2.66GHz, 24 total virtual cores) and 32G RAM. The clients were running on the sleeper pools either at Fermilab or at UCSD. The test was performed using the glideTester.
Using Condor 7.5.5.
Results
LAN results
In these tests, the clients were running at Fermilab, thus all the traffic was on the LAN.
Using GSI security (like glideinWMS usually does)
With 50 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
24Hz |
12% |
90%+ |
TCP |
19Hz |
12% |
0% |
With 100 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
22Hz |
12% |
95%+ |
TCP |
21Hz |
12% |
0% |
Disabling security
(SEC_DEFAULT_AUTHENTICATION = NEVER)
With 50 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
500Hz |
100% |
20% |
TCP |
180Hz |
33% |
0% |
Disabling security and security negotiation
(SEC_DEFAULT_AUTHENTICATION = NEVER and SEC_DEFAULT_NEGOTIATION = NEVER)
With 50 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
630Hz |
100% |
10% |
TCP |
540Hz |
100% |
0% |
WAN results
In these tests, the clients were runningat UCSD, thus all the traffic was on the WAN (O(60ms) RTT).
Only a subset of tests was run.
Disabling security and security negotiation
(SEC_DEFAULT_AUTHENTICATION = NEVER and SEC_DEFAULT_NEGOTIATION = NEVER)
With 50 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
230Hz |
40% |
<10% |
TCP |
230Hz |
35% |
0% |
With 200 clients:
|
ClassAds advertized |
Collector load |
ClassAd drop rate |
UDP |
360Hz |
35% |
100% |
TCP |
340Hz |
35% |
0% |
--
IgorSfiligoi - 2011/02/01