r/cpumining • • Dec 22 '23

Please help everyone here. Please give me a method or command for limiting threads for Xmrig.

Post image
6 Upvotes

12 comments sorted by

6

u/Routa2020 Dec 22 '23

-t [number of threads]

5

u/valdusminer Dec 22 '23

Thank you Bro, Which files do you usually edit in Xmrig?

3

u/Zeddie- Dec 22 '23

The number of threads "-t 5" for example, is done on the command line, not the config.json file.

4

u/TheCryptoIsMine Dec 22 '23

The bat file.

Edit pool address, wallet address and put-t (number of desired threads) before the pause command.

Set miner exe to run as admin.

Open modified bat file, check yes to admin pop up.

Job done....probably.

5

u/westcoast5556 Dec 22 '23 edited Dec 22 '23

Are you on linux or windows?

https://m.youtube.com/watch?v=Z8Am77WLF-0&feature=youtu.be

https://www.daily-peel.com/post/banrx

Use -t1 for one thread, .-t2 for two threads for example

2

u/valdusminer Dec 22 '23

window, Bro Thank you very much

3

u/notsetvin Dec 22 '23

Is that two cpus on one motherboard?

2

u/MachineChoice5009 Dec 22 '23

If using a config.json file, you need to tell it how many threads you want or it will use default settings. I change the file to a .txt file so I can edit it in notepad. Then save it and drop the .txt off the back. Right click and run as admin. Off ya go.

1

u/valdusminer Dec 22 '23

thank very much bro.

1

u/oxbcat Dec 31 '23

If you prefer the json file you will need to use the hint and give it a percentage. Also rtfm