summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"