Bitcoin Forum
September 28, 2016, 11:55:31 PM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Way to throttle CPU usage on windows?  (Read 4972 times)
LobsterMan
Member
**
Offline Offline

Activity: 74


View Profile
September 09, 2010, 01:10:41 AM
 #1

I just setup bitcoin on my windows box, and I noticed that there is no way to prevent bitcoin.exe from sucking up all of my CPU cycles. Setting bitcoin.exe to low priority in the taskmanager is kind of a crappy workaround, but it still uses up all of my CPU time (and I fear what it may do to my power bill).

Is there any way to restrict the amount of CPU time or resource percentage that I devote to bitcoin generation? I'm running an old single-core athlon64 on my server, so restricting the number of cores doesn't really do me much good either.

EDIT: Just realized this may be in the wrong forum....sorry if it is.....
1475106931
Hero Member
*
Offline Offline

Posts: 1475106931

View Profile Personal Message (Offline)

Ignore
1475106931
Reply with quote  #2

1475106931
Report to moderator
1475106931
Hero Member
*
Offline Offline

Posts: 1475106931

View Profile Personal Message (Offline)

Ignore
1475106931
Reply with quote  #2

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

Posts: 1475106931

View Profile Personal Message (Offline)

Ignore
1475106931
Reply with quote  #2

1475106931
Report to moderator
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
September 11, 2010, 07:06:37 AM
 #2

Read this (or that). I hope you'll understand how it works. Smiley

"Never invest unless you can afford to lose your entire investment." © S3052
LobsterMan
Member
**
Offline Offline

Activity: 74


View Profile
September 13, 2010, 09:10:05 AM
 #3

That document really just explains how the thread scheduling works, but didn't really mention at all how to access or modify these things. It also referenced figures that were not present on the page....perhaps the page is incomplete? Or am I just missing something?
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
September 13, 2010, 10:37:04 AM
 #4

I just wanted to say that process/thread with lower priority
will always give CPU cycles to process/thread with higher if
that higher process/thread will really need that CPU time...

If you want to reduce the power bill you should stop Bitcoin
generation. Each generated bitсoin is confirmation of costs.
You can change the source code that it uses less CPU time,
but I don't think that you can generate with a low khash/s.

Bitcoin uses Normal process priority (15..1) and Lowest thread
priority (22..2) for bitcoin generation thread. It is priority level
6 so bitcoin generation thread will always gives CPU cycles to
other processes/threads if they need it because they usually
have priority level higher than 6. Most have priority level ~8.

If you'll change Bitcoin's process priority to Idle (15..1) with
Task Manager or Process Explorer then bitcoin generation
thread will have priority 2 and will give CPU cycles to every
process/thread with priority higher than 2 (read: to every).

Usually this is not necessary. Default setting is the best.

"Never invest unless you can afford to lose your entire investment." © S3052
true
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 14, 2010, 03:53:51 AM
 #5

The default setting causes some older computers I use to be extremely unresponsive. I see no reason why Bitcoin should _not_ yield to nearly any other task, nor why this is not yet at least an option in the client.

did you know that the internet is not a 1ATWN2bMDRRfo7Z2P8Fefvq791X6FT88WQ ?
calling me a troll gives me a massive raging boner
nethoncho
Newbie
*
Offline Offline

Activity: 9


View Profile
September 14, 2010, 03:58:06 AM
 #6

I use Prio to set (and remember) the priority of bitcon
http://www.prnwatch.com/prio.html
And it is free (as in beer, not speech)

1BCepBALaCMsc3pKSdvXfb3HeN89AcTLsA
Pages: [1]
  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!