From a22b2807c91bea77f656154281a416d2b3927094 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 16 Aug 2012 21:36:38 -0500 Subject: LinHES-config: add hdhr sysctl.conf file This increases the read buffers which helps the hdhr and other network tuners refs #839 --- abs/core/LinHES-config/PKGBUILD | 9 +++++++-- abs/core/LinHES-config/hdhr.conf | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 abs/core/LinHES-config/hdhr.conf diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD index 30ffeef..4ab3f97 100644 --- a/abs/core/LinHES-config/PKGBUILD +++ b/abs/core/LinHES-config/PKGBUILD @@ -46,7 +46,8 @@ source=(mv_install.py 09_mythvantge_runit_grub systemconfig.py myth_user_call.py mythvantage.cfg - config-sudo.rules ) + config-sudo.rules + hdhr.conf) backup=(etc/mythvantage.cfg) install=config.install @@ -109,6 +110,9 @@ build() { chmod 750 $startdir/pkg/etc/sudoers.d/ chown -R root:root $startdir/pkg/etc/sudoers.d install -o root -g root -m 0750 config-sudo.rules $startdir/pkg/etc/sudoers.d/config_sudo + + #sysctrl conf + install -o root -g root -D -m 0755 hdhr.conf $startdir/pkg/etc/sysctl.d/hdhr.conf } md5sums=('5d40d7ce4cd99fae059cac37cef9440f' '8aec4b2310e4c5375e32df37d37964dd' @@ -147,4 +151,5 @@ md5sums=('5d40d7ce4cd99fae059cac37cef9440f' '5cdb3ef03d5a2a99889a458a82228ecc' '2596460462cf6c889cf8f95485537b20' 'a63ff9ef5250965aeabc74bfa8e43981' - '4804aa93aaad3dfcfff08cd9ffd68836') + '4804aa93aaad3dfcfff08cd9ffd68836' + '0fa6fffd87f350380d45f1f8a5b7babe') diff --git a/abs/core/LinHES-config/hdhr.conf b/abs/core/LinHES-config/hdhr.conf new file mode 100644 index 0000000..51a3407 --- /dev/null +++ b/abs/core/LinHES-config/hdhr.conf @@ -0,0 +1,2 @@ +#icrease read buffers for the hdhr +net.core.rmem_max=1048576 -- cgit v0.12