From 55793604e5e9dbaec81c8fbf8129d4ac7528ab69 Mon Sep 17 00:00:00 2001 From: Joerg Hofrichter Date: Fri, 24 Apr 2020 11:30:29 +0200 Subject: mpm: systemd: added sysconf file for setting network buffer sizes udp_zero_copy requires the network send buffer size (net.core.wmem_max) and the network receive buffer size (net.core.rmem_max) to be set to 2500000 bytes (UDP_DEFAULT_BUFF_SIZE in udp_common.hpp). Add a sysconf file (usrp-hwd.conf) to automatically set the recommended values. --- mpm/systemd/usrp-hwd.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mpm/systemd/usrp-hwd.conf (limited to 'mpm/systemd/usrp-hwd.conf') diff --git a/mpm/systemd/usrp-hwd.conf b/mpm/systemd/usrp-hwd.conf new file mode 100644 index 000000000..cf4996afa --- /dev/null +++ b/mpm/systemd/usrp-hwd.conf @@ -0,0 +1,2 @@ +net.core.wmem_max=2500000 +net.core.rmem_max=2500000 -- cgit v1.2.3