Mine XMR On VPS Server Lowering CPU Usage
VPS have limited CPU and RAM usage. This is why it is hard to mine on VPS not being blocked for high consumption. I try to mine on Xeon Skylake 1 Core 2 Gb Ram.
1. Optimize Xmrig config.json
Get config.json from Xmrig wizard . After first run xmrig will add many lines to your config. And you need to look at the next lines.
Under randomx object: "mode": "light" - this makes xmrig uses 256 Mb of Ram.
Under randomx object: "1gb-pages": false - this is by default, use 2mb huge pages.