[hamradio-commits] [soapyremote] 01/02: Add README.Debian with information on how to increase socket buffer limits

Andreas E. Bombe aeb at moszumanska.debian.org
Sun Dec 11 01:26:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

aeb pushed a commit to branch master
in repository soapyremote.

commit 135a1f04576c034efa43e6ddbac1b8d5c6d14daa
Author: Andreas Bombe <aeb at debian.org>
Date:   Sun Dec 11 02:18:46 2016 +0100

    Add README.Debian with information on how to increase socket buffer limits
---
 debian/README.Debian           | 18 ++++++++++++++++++
 debian/changelog               |  2 ++
 debian/soapyremote-server.docs |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..88c6e16
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,18 @@
+Network performance
+===================
+
+The SoapyRemote server and client will use large socket buffer sizes if possible
+to improve performance and prevent data loss. These are larger than the default
+limits configured in the Linux kernel so you need to raise the limits to make
+full use of them. You can do this with:
+
+    sudo sysctl -w net.core.rmem_max=104857600
+    sudo sysctl -w net.core.wmem_max=104857600
+
+Alternatively you can create a file /etc/sysctl.d/soapyremote.conf (it is
+important that it ends in .conf) with the following contents:
+
+    net.core.rmem_max=104857600
+    net.core.wmem_max=104857600
+
+This will configure the limits automatically on every boot.
diff --git a/debian/changelog b/debian/changelog
index a9545e3..68a0295 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ soapyremote (0.3.2-1) UNRELEASED; urgency=medium
   * Remove local manpage, it was merged upstream
   * Make soapysdr-module-remote Multi-Arch: same
   * Remove --parallel from dh invocation, default in compat 10
+  * Add README.Debian with information on how to increase socket buffer
+    limits
 
  -- Andreas Bombe <aeb at debian.org>  Thu, 08 Dec 2016 14:18:53 +0100
 
diff --git a/debian/soapyremote-server.docs b/debian/soapyremote-server.docs
index b43bf86..389dbb9 100644
--- a/debian/soapyremote-server.docs
+++ b/debian/soapyremote-server.docs
@@ -1 +1,2 @@
 README.md
+debian/README.Debian

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/soapyremote.git



More information about the pkg-hamradio-commits mailing list