-
Notifications
You must be signed in to change notification settings - Fork 0
Testcase setups
To test proxy latency, You must install two linux boxes with direct connected network ports.
On one box, run your FIX proxy instance, on second - test client provided with package.
The client command line template:
proxy_test_client interface server_ip server_port [interval in us (500 us default)]
You must specify interface name as it looks in ifconfig command, server's IP, server's port and delay interval between test packets.
Default interval is 500 microseconds between packets equals to 2000 MPS (messages per second).
Client runs ping-pong test and after test completion writes each packet latecy and percentiles statistics into audit log (in original software located at ../log/proxy_test_client.audit)
Also, percentiles statistics will calculated.
The results in log looks like:
2014-10-03 15:14:57.157312 AUDIT tid = 29798:4 [proxy_test_client] Observations: 10000
2014-10-03 15:14:57.157318 AUDIT tid = 29798:4 [proxy_test_client] MAX observation: 61960
2014-10-03 15:14:57.157321 AUDIT tid = 29798:4 [proxy_test_client] percentile 99.99: 31148
2014-10-03 15:14:57.157325 AUDIT tid = 29798:4 [proxy_test_client] percentile 99.90: 18393
2014-10-03 15:14:57.157328 AUDIT tid = 29798:4 [proxy_test_client] percentile 99.50: 14155
2014-10-03 15:14:57.157331 AUDIT tid = 29798:4 [proxy_test_client] percentile 99.00: 12968
2014-10-03 15:14:57.157334 AUDIT tid = 29798:4 [proxy_test_client] percentile 95.00: 11060
2014-10-03 15:14:57.157338 AUDIT tid = 29798:4 [proxy_test_client] percentile 90.00: 10200
2014-10-03 15:14:57.157341 AUDIT tid = 29798:4 [proxy_test_client] percentile 75.00: 9609
2014-10-03 15:14:57.157344 AUDIT tid = 29798:4 [proxy_test_client] percentile 50.00: 9269
2014-10-03 15:14:57.157347 AUDIT tid = 29798:4 [proxy_test_client] percentile 25.00: 8995
2014-10-03 15:14:57.157350 AUDIT tid = 29798:4 [proxy_test_client] MIN observation: 7348
Also, if you connect boxes via switch, you can measure full roundtrip latency of your infrastructure.