OnixS CBOE CMi2 Trading Handler for C++  1.1.3.0
Low Latency Best Practices

Disable logging

Please use this code snippet to disable all logging operations:

// Available only log messages for fatal errors.
settings.logLevel = LogLevel::Fatal;
// Available only logging to file.
settings.logSettings = LogSettings::TraceToFile;

CPU affinity mask

Please use this code snippet to set processor affinity mask for sending and receiving threads.

// Sending thread will run on the 1st processor core.
settings.sendingThreadAffinity.insert(0);
// Receiving thread will run on the 2nd processor core.
settings.receivingThreadAffinity.insert(1);