summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-01-09 00:54:26 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-01-09 00:54:26 +0000
commit73519834a82648445d76ec0ecdc03e055f3132a3 (patch)
tree66a4e0462ed741299a6d86bb1c0f8ef8f9b9d4d3
parentprofiles/server: remove old python (diff)
downloadportage-73519834a82648445d76ec0ecdc03e055f3132a3.tar.xz
factory-default: refresh net-p2p/xmr-stak-rx sysctl
-rwxr-xr-xfactory-default/net-p2p/xmr-stak-rx/etc/init.d/xmr-stak-rx4
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"