How low can you go? Pontus Networks case study shows how latency can be reduced 20 x


The technological arms race which has existed among infrastructure providers in order to reduce latency of execution among FX firms continues to increase, as the will to compete from within trading desks globally against other participants by using high speed execution systems has not declined, regardless of the regulatory purging that has taken place in certain regions.

To demonstrate this further, Pontus Networks, a technology consultancy which provides services to financial institutions on how to maximize their environment by achieving low latency, has conducted a case study which details the methodology required to reduce latency by up to 20 times.

According to Pontus Networks, the firm has recently helped an investment bank benchmark and improve the latency of an FX pricing system without changing a single line of code or any of the target hardware. We reduced the pricing system’s peak latency of receiving a raw market data tick to sending a FIX market data snapshot to 25 clients by over 20 times by combining three components, namely PontusVision which manages the application threads, RedHat’s Realtime operating system (MRG), and Californian software provider Azul Systems’ Zing Java virtual machine.

The study conducted by Pontus Networks concluded that market makers on the sell-side have to send prices to their customers within 1 millisecond of a new price in order to retain market share.

Unlike the fast-paced world of equities, some of the primary FX markets tick at relatively low frequencies of updates once around 100ms or more. Within that period, the first 5ms is where the majority (around 90%) of the trades occur. Some of the markets will also batch and randomize orders in 1 millisecond buckets, with any orders received in the 1st ms randomized, followed by any orders received in the 2nd millisecond, and so on.

Any serious market maker has to be able to reliably send out quotes to clients ideally within the first 1ms; otherwise, they miss a large number of orders due to high spreads, or worse, risk having stale prices and lose money.

The main goals of the exercise were to test and improve end to end latency on an FX trading system without changing a single line of code. The latency was measured by matching raw market data ticks with FIX market data snapshots sent to 25 FIX clients using a network switch with a high-precision clock.

Pontus Networks finds that the majority of non-real-time operating systems (OSs) are not very good at allocating threads for latency-sensitive applications. Modern OSs are typically configured to balance the load across various CPUs rather than reduce the latency of the application. When dealing with latency-sensitive applications, these strategies cause the latency to increase significantly.

Capture

(Source: Pontus Networks)

The conclusion of the case study shows results from the six tests performed, with the most predictable system behavior having happened in test PV-006 (displayed in the above graph), with peak latencies that were over 20 times lower than test case PV-001. Zing was the clear winner of the JVMs, and MRG was the most predictable OS; however, the predictability comes at a cost of around 20% higher average latency than when using the plain RHEL 6.4 kernel. Lastly, the PontusVision Thread Management module also significantly helped improve performance in all cases.

Related News

arrow

How low can you go? Pontus Networks case study shows how latency can be reduced 20 x

0

Send this to a friend

Subscribe to LeapRate
PGlmcmFtZSBzcmM9Ii93cC1jb250ZW50L2E0bHIvaGFuMTZyZXNfNjI1eDQwMC5odG1sIiB3aWR0aD0iNjI1IiBoZWlnaHQ9IjQwMCIgZnJhbWVib3JkZXI9IjAiIHN0eWxlPSJib3JkZXI6bm9uZTsiIHNlYW1sZXNzPjwvaWZyYW1lPg==
PGlmcmFtZSB3aWR0aD0iNjQwIiBoZWlnaHQ9IjM5NSIgc3JjPSJodHRwczovL3d3dy55b3V0dWJlLmNvbS9lbWJlZC80Mzc5MThJbFc5ST9yZWw9MCZjb250cm9scz0wJnNob3dpbmZvPTAiIGZyYW1lYm9yZGVyPSIwIiBhbGxvdz0iYXV0b3BsYXk7IGVuY3J5cHRlZC1tZWRpYSIgYWxsb3dmdWxsc2NyZWVuPjwvaWZyYW1lPg==
Fill out the form below for more information
for lising in LeapRate's Forex Yellow Pages

Please enter the company name, email address to reach you and phone # (optional):

Please fill out the message field to the right for any questions or special inquiry:
PGlmcmFtZSBzcmM9Imh0dHBzOi8vczMtZXUtd2VzdC0xLmFtYXpvbmF3cy5jb20vZW1haWwubG1heHN0YXRpYy5jb20vaHRtbDUvTGVhcHJhdGUvTE1BWERpZ2l0YWwyNTB4OTAvTE1BWERpZ2l0YWw2MDB4NDI1UG9wVXBHcmV5Lmh0bWwiIGZyYW1lYm9yZGVyPSIwIiB3aWR0aD0iNjAwIiBoZWlnaHQ9NDI1Ij48L2lmcmFtZT4=
PGlmcmFtZSBzcmM9Imh0dHBzOi8vd3d3LmxlYXByYXRlLmNvbS9hNGxyMTcvdWZ4MTgvNjAweDQyNV8xc3QtVGltZUxlYXBSYXRlLWVuLUdCX0hUTUw1Lmh0bWwiIGZyYW1lYm9yZGVyPSIwIiB3aWR0aD0iNjAwIiBoZWlnaHQ9NDI1Ij48L2lmcmFtZT4=
PGlmcmFtZSBzcmM9Ii8vY2RuLmJhbm5lcnNuYWNrLmNvbS9iYW5uZXJzL2JjaWVod29iOC9lbWJlZC9pbmRleC5odG1sP3VzZXJJZD0zMTU5MzQwNiZ0PTE1MTAxMzg3MTAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHNjcm9sbGluZz0ibm8iIGZyYW1lYm9yZGVyPSIwIiBhbGxvd3RyYW5zcGFyZW5jeT0idHJ1ZSIgYWxsb3dmdWxsc2NyZWVuPSJ0cnVlIj48L2lmcmFtZT4=