https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks
https://files.ettus.com/manual/page_usrp_x3x0.html
https://files.ettus.com/manual/page_transport.html
Increase Socket Buffers
sudo vi /etc/sysctl.conf
# Increase buffers for USRP
net.core.wmem_max=100000000
net.core.rmem_max=100000000
net.core.wmem_default=100000000
net.core.rmem_default=100000000
Realtime Priority
sudo vi /etc/security/limits.conf
# Add for USRP realtime priority
myusername - rtprio 99
Will require re-login
Adjust Ethernet MTU
9000
Note intervening switches need jumbo frames enabled.
Set CPU Performance
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Change GRUB
sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier"
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Updating Firmware and FPGA
uhd_usrp_probe --args "addr=192.168.1.13"
sudo /usr/local/lib64/uhd/utils/uhd_images_downloader.py
/usr/local/bin/uhd_image_loader --args="type=x300,addr=192.168.1.13"
Cycle power on the USRP
Benchmark
cd /usr/local/lib64/uhd/examples
./benchmark_rate --rx_rate 100E6 --tx_rate 100E6 --args "addr=192.168.1.13"