mcneb10 on Nostr: While I’m not really sure how mining interfaces with the kernel, I do know that ...
While I’m not really sure how mining interfaces with the kernel, I do know that xmrig (the best RandomX miner) runs faster as root because it can change kernel CPU and memory paging settings. The RandomX hash algorithm is specifically designed to run best on CPUs, so that anyone trying to make an ASIC would basically have to make a pseudo-CPU which is very expensive. These ASICS do exist but they thankfully don’t get better efficiency over the best CPUs yet from what I’ve heard.
Published at
2024-07-26 17:28:37Event JSON
{
"id": "d7e7ba1ca6b3608ee4a13cc72a78d7a7ed46c8ff67ee59c8e4bbc33ed8fe7a66",
"pubkey": "7bced766daef1626f3c6373071b24fe09ce7c256a3dfa0056c322647358560a3",
"created_at": 1722014917,
"kind": 1,
"tags": [
[
"e",
"da2c28391db04e28dad72f9392b3c54b0e289820481b1a31a9b9375aeed89b1f",
"",
"root"
],
[
"e",
"deb4072092253478680ce0164359f21244c650345fa185921cb49caeea8dfbe2",
"",
"reply"
],
[
"p",
"874192fc49b2a6af514453d3e85d6340c664d893907e767ab6dc2949c507befc"
],
[
"p",
"b063998051d2c590017945538f87bec11ee01ca0414291d6f98875730a040b75"
]
],
"content": "While I’m not really sure how mining interfaces with the kernel, I do know that xmrig (the best RandomX miner) runs faster as root because it can change kernel CPU and memory paging settings. The RandomX hash algorithm is specifically designed to run best on CPUs, so that anyone trying to make an ASIC would basically have to make a pseudo-CPU which is very expensive. These ASICS do exist but they thankfully don’t get better efficiency over the best CPUs yet from what I’ve heard.",
"sig": "a9d08f1dee7e701eb1397672c45f83d3134629bd39ec2a149ce727d23b2518879b0639e8a4171d1965e8ea6ae0ab8b8681575f8d1cdabd5aad67c0357ff99cb5"
}