Bitcoin Forum
May 10, 2024, 07:50:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Way to throttle CPU usage on windows?  (Read 5456 times)
LobsterMan (OP)
Member
**
Offline Offline

Activity: 73
Merit: 10


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

Posts: 1715327412

View Profile Personal Message (Offline)

Ignore
1715327412
Reply with quote  #2

1715327412
Report to moderator
1715327412
Hero Member
*
Offline Offline

Posts: 1715327412

View Profile Personal Message (Offline)

Ignore
1715327412
Reply with quote  #2

1715327412
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715327412
Hero Member
*
Offline Offline

Posts: 1715327412

View Profile Personal Message (Offline)

Ignore
1715327412
Reply with quote  #2

1715327412
Report to moderator
1715327412
Hero Member
*
Offline Offline

Posts: 1715327412

View Profile Personal Message (Offline)

Ignore
1715327412
Reply with quote  #2

1715327412
Report to moderator
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 11, 2010, 07:06:37 AM
Last edit: January 22, 2018, 05:05:49 AM by LZ
 #2

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

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
LobsterMan (OP)
Member
**
Offline Offline

Activity: 73
Merit: 10


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
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
September 13, 2010, 10:37:04 AM
Last edit: January 22, 2018, 05:04:25 AM by LZ
 #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 bitcoin 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.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
true
Newbie
*
Offline Offline

Activity: 56
Merit: 0


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.
nethoncho
Newbie
*
Offline Offline

Activity: 9
Merit: 0


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