Bitcoin Forum
December 09, 2016, 09:54:28 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Limiting CPU/GPU Usage During Mining, Possible?  (Read 14982 times)
cryptoderf
Jr. Member
*
Offline Offline

Activity: 42


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.
1481277268
Hero Member
*
Offline Offline

Posts: 1481277268

View Profile Personal Message (Offline)

Ignore
1481277268
Reply with quote  #2

1481277268
Report to moderator
1481277268
Hero Member
*
Offline Offline

Posts: 1481277268

View Profile Personal Message (Offline)

Ignore
1481277268
Reply with quote  #2

1481277268
Report to moderator
1481277268
Hero Member
*
Offline Offline

Posts: 1481277268

View Profile Personal Message (Offline)

Ignore
1481277268
Reply with quote  #2

1481277268
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481277268
Hero Member
*
Offline Offline

Posts: 1481277268

View Profile Personal Message (Offline)

Ignore
1481277268
Reply with quote  #2

1481277268
Report to moderator
1481277268
Hero Member
*
Offline Offline

Posts: 1481277268

View Profile Personal Message (Offline)

Ignore
1481277268
Reply with quote  #2

1481277268
Report to moderator
JaPeK
Newbie
*
Offline Offline

Activity: 20


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


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!