Commit ea9a4833 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/Set_kernel_parameters_for_X4x0' into integration_2023_w21

parents d399a794 8bffe28e
......@@ -1127,6 +1127,10 @@ extern "C" {
device->type = USRP_X400_DEV;
usrp_master_clock = 245.76e6;
args += boost::str(boost::format(",master_clock_rate=%f") % usrp_master_clock);
// https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks
if (0 != system("sysctl -w net.core.rmem_max=62500000 net.core.wmem_max=62500000"))
LOG_W(HW, "Can't set kernel parameters for X4x0\n");
}
s->usrp = uhd::usrp::multi_usrp::make(args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment