Lock free programming:
https://preshing.com/20120612/an-introduction-to-lock-free-programming/
memory ordering:
https://bartoszmilewski.com/2008/12/01/c-atomics-and-memory-ordering/
Kernel tuning:
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-123.el7.x86_64 root=UUID=d34860b6-1642-4a58-9a45-80e398065f28 ro vconsole.keymap=us crashkernel=auto vconsole.font=latarcyrheb-sun16 rhgb quiet console=ttyS1 intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll hugepages=16384 isolcpus=1-8,10-35 nohz_full=1-8,10-35 rcu_nocbs=1-8,10-35 thermal.off=1 gbpages nosoftlockup
software tuning