Configuring OS Settings and Boot Arguments
- Aktualisiert2024-07-03
- 1 Minute(n) Lesezeit
Configuring OS Settings and Boot Arguments
Configure the Linux OS and the Linux boot arguments to achieve the performance level required for streaming high-bandwidth RF data to disk.
-
Configure the Linux boot arguments by completing the following
steps:
- As root, open /etc/default/grub in a text editor.
-
Append the following to the
GRUB_CMDLINE_LINUX_DEFAULT
line:
tsc=nowatchdog isolcpus=24-47,72-95 rcu_nocb_poll rcu_nocbs=24-47,72-95 processor.max_cstate=0 amd_pstate=disable nohz=on nohz_full=24-47,72-95 audit=0 nosoftlockup amd_iommu=on iommu=pt mce=ignore_ce idle=poll skew_tick=1
Note If any of these settings were previously configured, ensure that you overwrite the existing configuration to avoid creating duplicates. - Save and close the configuration file.
-
Apply the new grub configuration by executing
the following command in the Linux terminal:
sudo update-grub
- Reboot the computer for the new grub configuration to take effect.
-
Optimize system settings for high-throughput streaming by
executing the following command in the Linux terminal:
sudo mlnx_tune -p HIGH_THROUGHPUT
-
Enable NVMe polling by completing the following steps:
- As root, open or create /etc/modprobe.d/nvme.conf in a text editor.
-
Set the number of NVMe poll queues to 16 by
adding the following line to the configuration
file:
options nvme poll_queues=16
- Save and close the configuration file.
-
Apply this new configuration by executing the
following command in the Linux terminal:
sudo update-initramfs -u
- Reboot the computer for the new configuration to take effect.
Note NI recommends configuring a static IP address to avoid issues that may occur if DHCP assigns a new IP address to the computer.