Set kernel parameters for X4x0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user