Ubuntu#

Tuning#

apt-get install tuned
tuned-adm profile network-latency

CPU Isolation#

The Linux scheduler can be configured to exclude a set of CPU cores.

Note

Configuration changes are only used at Linux boot time.

Edit /etc/default/grub and add isolcpus to GRUB_CMDLINE_LINUX.

For example

GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=1-6"

Note

You should prefer to update GRUB_CMDLINE_LINUX_DEFAULT and not GRUB_CMDLINE_LINUX. The reason is that the former is only used during normal boot. Further details here.

Update

$ sudo update-grub

Reboot

$ sudo reboot now

Verify

$ cat /proc/cmdline | grep isolcpus=