A Performance Analysis of a Trading System over Compilers
Offered By: NDC Conferences via YouTube
Course Description
Overview
Explore high-frequency trading (HFT) and low-latency trading systems in C++ through a comprehensive performance analysis in this 48-minute conference talk. Dive into micro-optimization techniques, examining the quirks in generated assembler across different compiler versions. Understand static branch prediction, its applications, and the intricacies of switch statements in a simple FIX-to-MIT/BIT trading system. Compare performance across various operating systems and challenge common beliefs about Spectre and Meltdown mitigations. Gain insights into hardware impacts, including AMD Bulldozer architecture, and learn how to leverage C++'s optimization capabilities for performance-critical systems in the financial trading domain.
Syllabus
Introduction
Background
Its not clever
Boost
Hardware
AMD bulldozer
Meltdown Spector
Example Code
GCC 447
GCC 863
ICC Intel
Log Scale
Static Branch Predictor
Misprediction Penalty
Builtin Expect
GCC
ICCClang
Expect
Performance
Switch Statements
GCC ICC
Ifelse statements
Break
ICC
Is it unstable
Does it matter
Taught by
NDC Conferences
Related Courses
Digital Capital MarketsQueen's University via edX An Intro to Stock Market Investing For Beginners
Skillshare Exchanges, Brokers, Dealers, and Clearinghouses in Financial Markets
Yale University via YouTube How Our SREs Safeguard Nanosecond Performance - at Scale - in an Environment Built to Fail
USENIX via YouTube High-Frequency Trading on Decentralized On-Chain Exchanges
IEEE via YouTube