diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-01-09 00:54:26 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-01-09 00:54:26 +0000 |
commit | 73519834a82648445d76ec0ecdc03e055f3132a3 (patch) | |
tree | 66a4e0462ed741299a6d86bb1c0f8ef8f9b9d4d3 | |
parent | profiles/server: remove old python (diff) | |
download | portage-73519834a82648445d76ec0ecdc03e055f3132a3.tar.xz |
factory-default: refresh net-p2p/xmr-stak-rx sysctl
-rwxr-xr-x | factory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/factory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx b/factory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx index c2a42d47..bd3b259c 100755 --- a/factory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx +++ b/factory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx @@ -32,8 +32,8 @@ start() { # https://github.com/fireice-uk/xmr-stak/blob/xmr-stak-rx/doc/tuning.md#huge-page-support if [ -e /proc/sys/vm/nr_hugepages ] ; then - einfo "sysctl vm.nr_hugepages=1300" - sysctl -q -w vm.nr_hugepages=1300 + einfo "sysctl vm.nr_hugepages=1280" + sysctl -q -w vm.nr_hugepages=1280 else ewarn "sysctl vm.nr_hugepages is not available" ewarn "Please consider enabling CONFIG_HUGETLBFS in your kernel" |