Bitcoin Forum
April 23, 2024, 10:12:32 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Limiting CPU/GPU Usage During Mining, Possible?  (Read 22205 times)
cryptoderf
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
January 10, 2014, 06:24:17 PM
 #21

Any way to limit CPU on a MAC using cgiminer / minerd ?

Edit : you can do it with the option --threads x, where x would be the number of cores used.
1713867152
Hero Member
*
Offline Offline

Posts: 1713867152

View Profile Personal Message (Offline)

Ignore
1713867152
Reply with quote  #2

1713867152
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
JaPeK
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
January 10, 2014, 07:54:23 PM
 #22

This would probably need some support from the miner program to sleep between loops.

You can also adjust the priority of the miner process. This will affect a lot in CPU mining, but hardly none with GPU, FPGA or ASIC mining.

UNIX-like: Use commands like nice, renice or top. Big numbers mean more niceness and less CPU.
Windows: Open the task manager and right-click the miner process to access the priority options. Higher priority means more CPU.

Total CPU load will still show 100 % in use, but when multiple threads or processes are running simultaneously at the same CPU core, the miner program will get less CPU than the other processes, thus making the system more responsive but still not wasting any potential mining power by sleeping when not neccessary.

You can also do it another way and give your miner the maximum priority (making Windows hang up). On Unixes this usually means a negative nice number. This makes sure your CPU miner keeps running decently even if, let's say a web page with a lot of flash advertisements, tend to steal your CPU away from mining process. Or keep the miner at normal and lower those other processes abusing the CPU.
zap
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 28, 2014, 01:27:36 PM
 #23

A very early version of a script (but it works) that allow you to run cpu based miners with the CPU usage % of your choice.
It use only windows components so no third party software are needed.
bonus : minerd window is launch on startup and not visible.

This tool can be found on github : https://github.com/szd/cpu-miner-limiter
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!