Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6970

Advanced users • Trying to enable huge pages in Bookworm, unsuccessful. RPi5 16GB

$
0
0
Trying to enable huge pages in Bookworm, unsuccessful. RPi5 16GB. Unavailable for hugepages & 1gb pages running xmrig as root.

It's enabled on my RPI4-8GB on Bullseye OS.

I cannot get it enabled in Bookworm for xmrig.

I tried

Code:

sudo sysctl -w vm.nr_hugepages=1280
Also tried

Code:

sudo bash -c "echo vm.nr_hugepages=1280 >> /etc/sysctl.conf"
Also tried

Code:

If use XMRig with root privileges, additional system configuration not required.As an alternative you can go to miner source directory and run sudo ./scripts/enable_1gb_pages.sh
https://xmrig.com/docs/miner/hugepages

Also in the xmrig confg

Code:

{    "api": {        "id": null,        "worker-id": null    },    "http": {        "enabled": false,        "host": "127.0.0.1",        "port": 0,        "access-token": null,        "restricted": true    },    "autosave": true,    "background": false,    "colors": true,    "title": true,    "randomx": {        "init": -1,        "init-avx2": -1,        "mode": "auto",        "1gb-pages": true,        "rdmsr": true,        "wrmsr": true,        "cache_qos": false,        "numa": true,        "scratchpad_prefetch_mode": 1    },    "cpu": {        "enabled": true,        "huge-pages": true,        "huge-pages-jit": false,        "hw-aes": null,        "priority": null,        "memory-pool": false,        "yield": true,        "asm": true,        "argon2-impl": null,        "argon2": [0, 12, 1, 13, 2, 14, 3, 15, 4, 16, 5, 17, 6, 18, 7, 19, 8, 20, 9, 21, 10, 22, 11, 23],        "cn": [            [1, 0],            [1, 1],            [1, 2],            [1, 3],            [1, 4],            [1, 5],            [1, 6],            [1, 7],            [1, 8],            [1, 9],            [1, 10],            [1, 11]        ],        "cn-heavy": [            [1, 0],            [1, 1],            [1, 2],            [1, 6],            [1, 7],            [1, 8]        ],        "cn-lite": [            [1, 0],            [1, 12],            [1, 1],            [1, 13],            [1, 2],            [1, 14],            [1, 3],            [1, 15],            [1, 4],            [1, 16],            [1, 5],            [1, 17],            [1, 6],            [1, 18],            [1, 7],            [1, 19],            [1, 8],            [1, 20],            [1, 9],            [1, 21],            [1, 10],            [1, 22],            [1, 11],            [1, 23]        ],        "cn-pico": [            [2, 0],            [2, 12],            [2, 1],            [2, 13],            [2, 2],            [2, 14],            [2, 3],            [2, 15],            [2, 4],            [2, 16],            [2, 5],            [2, 17],            [2, 6],            [2, 18],            [2, 7],            [2, 19],            [2, 8],            [2, 20],            [2, 9],            [2, 21],            [2, 10],            [2, 22],            [2, 11],            [2, 23]        ],        "cn/upx2": [            [2, 0],            [2, 12],            [2, 1],            [2, 13],            [2, 2],            [2, 14],            [2, 3],            [2, 15],            [2, 4],            [2, 16],            [2, 5],            [2, 17],            [2, 6],            [2, 18],            [2, 7],            [2, 19],            [2, 8],            [2, 20],            [2, 9],            [2, 21],            [2, 10],            [2, 22],            [2, 11],            [2, 23]        ],        "ghostrider": [            [8, 0],            [8, 1],            [8, 2],            [8, 3],            [8, 4],            [8, 5],            [8, 6],            [8, 7],            [8, 8],            [8, 9],            [8, 10],            [8, 11]        ],        "rx": [-1, -1, -1],        "rx/wow": [0, 1, 2, 3],        "cn-lite/0": false,        "cn/0": false,        "rx/arq": "rx/wow"    },    "opencl": {        "enabled": false,        "cache": true,        "loader": null,        "platform": "AMD",        "adl": true    },    "cuda": {        "enabled": false,        "loader": null,        "nvml": true    },    "log-file": null,    "donate-level": 1,    "donate-over-proxy": 1,    "pools": [        {            "algo": "rx/0",            "coin": "XMR",            "url": "stratum+tcp://americas.mining-dutch.nl:3340",            "user": "VisuallausiV.worker1",            "pass": "d=5000000",            "rig-id": null,            "nicehash": false,            "keepalive": true,            "enabled": true,            "tls": true,            "sni": false,            "tls-fingerprint": null,            "daemon": false,            "socks5": null,            "self-select": null,            "submit-to-origin": false        }    ],    "retries": 5,    "retry-pause": 5,    "print-time": 60,    "health-print-time": 60,    "dmi": true,    "syslog": false,    "tls": {        "enabled": false,        "protocols": null,        "cert": null,        "cert_key": null,        "ciphers": null,        "ciphersuites": null,        "dhparam": null    },    "dns": {        "ip_version": 0,        "ttl": 30    },    "user-agent": null,    "verbose": 0,    "watch": true,    "pause-on-battery": false,    "pause-on-active": false}
Enabled in the conf file

Code:

"1gb-pages": true,"huge-pages": true,

Statistics: Posted by berryuser — Sun Jul 20, 2025 4:54 pm — Replies 10 — Views 214



Viewing all articles
Browse latest Browse all 6970

Trending Articles