Table of Contents |
---|
Approach
Benchmarks were run against two different versions of FIX Antenna Java (2.24.0 and 2.19.4), and the results were compared in order to detect possible regressions.
Hardware
FIX Antenna Machine
- Intel(R) Xeon(R) CPU E5-2643 v3 @ 3.40GHz (2 CPU Hyper-Trading Enabled, 24 Cores)
- RAM 128 GB, 2133 MHz
- NIC Solarflare Communications SFC9120 (Firmware-version: 4.2.2.1003 rx1 tx1)
- Linux (CentOS 7.0.1406 kernel 3.10.0-123.el7.x86_64)
- SolarFlare driver version: 4.1.0.6734a
Client Machine
- Intel(R) Xeon(R) CPU E5-2687W v3 @ 3.10GHz (2 CPU Hyper-Trading Enabled, 20 Cores)
- RAM 128 GB, 2133 MHz
- NIC Solarflare Communications SFC9120 (Firmware-version: 4.2.2.1003 rx1 tx1)
- Linux (CentOS 7.0.1406 kernel 3.10.0-123.el7.x86_64)
- SolarFlare driver version: 4.1.0.6734a
Benchmarks
Single Session Echo Scenario
- One acceptor session is configured on the FIX Antenna Java side.
- One initiator session is configured on the client application side.
The process:
- The client application connects to the FIX Antenna Java and sends 200000 FIX 4.2 messages at a rate of 50000 messages per second.
- FIX Antenna Java receives the messages and responds to the client application with the same message via the same TCP/IP connection (the same session).
- The client application collects the response time histogram.
- The process is repeated 5 times for each FIX Antenna Java version.
The response time measured by the client application is the difference between timestamps:
- t1 - timestamp is taken right before sending a message to the socket
- t2 - timestamp is taken right after receiving the same message from the socket (from the FIX Antenna Java)
So the round-trip time formula is: RTT = t2 - t1 and the measurement unit is microseconds.
The test scenario diagram:
Drawio border false diagramName FIX Antenna Java 2.24.1 Benchmark simpleViewer false width 600 links auto tbstyle top diagramDisplayName lbox false diagramWidth 540 revision 1
Results
The performance of the FIX Antenna Java 2.24.0 release is almost the same as the performance of the FIX Antenna Java 2.19.4 release. There is no performance degradation or improvement.
Performance value slightly differs from run to run due to the nature of the system used to measure the performance.
The table below contains a single run one-to-one comparison and may have some differences compared to the graphic above that shows a 5 runs comparison.
FIXAJ 2.24.0, usec | FIXAJ 2.19.4, usec | |
---|---|---|
Min | 8.92 | 8.64 |
Max | 205.567 | 203.263 |
Median | 9.527 | 9.135 |
Average | 9.79374 | 9.40514 |
50% | 9.527 | 9.135 |
75% | 9.687 | 9.287 |
90% | 9.847 | 9.479 |
95% | 9.943 | 9.567 |
99% | 10.399 | 10.063 |
99.9% | 109.567 | 120.063 |
99.99% | 191.999 | 195.839 |