Earlier quoted context omitted.
Agreed. For benchmarking I used this https://github.com/david-alvarez-rosa/CppPlayground/blob/mai... > which relies on GoogleBenchmark and pins producer/consumer threads to dedicated CPU cores What else could be improved? Would like to learn :) Maybe using huge pages?
kernel tickrate is a pretty big one, most people don't bother and use what their OS ships with. Disabling c-states, pinning network interfaces to dedicated cores (and isolating your application from those cores) and `SCHED_FIFO` (chrt -f 99 ) helps a lot . Transparent hugepages increase latency without you being aware of when it happens, I usually disable that. Idk, there's a bunch but they all depend on your use-cas…
In prod most trading companies do disable it, not sure about generic benchmarks best practices