Pages:
Author

Topic: Add a "low priority" setting for Windoze? - page 2. (Read 2765 times)

legendary
Activity: 1890
Merit: 1078
Ian Knowles - CIYAM Lead Developer
January 21, 2013, 02:00:13 AM
#7
I *know* how to do these things (changing the priority either from a shortcut or from the Task Manager or in code, etc.).

I posted in the wrong sub-forum and I thought that I was being told I can *move* my topic so that is what I want to know "how to do".

Can someone please explain "how do I move this topic"?

(actually maybe I'll just delete it as it looks as though it will take me more time to explain what the purpose of this topic is than I think I can be bothered with)
legendary
Activity: 2128
Merit: 1065
January 21, 2013, 01:56:26 AM
#6
Oh - how?
start /b /belownormal c:\program files\bitcoin\bitcoin-qt.exe

from the command line; or you can make a shortcut:

c:\windows\system32\cmd.exe /c start /b /belownormal c:\program files\bitcoin\bitcoin-qt.exe
legendary
Activity: 1890
Merit: 1078
Ian Knowles - CIYAM Lead Developer
January 21, 2013, 01:48:12 AM
#5
You can do so yourself.

Oh - how?
legendary
Activity: 1246
Merit: 1076
January 21, 2013, 01:27:57 AM
#4
Any mod want to move this for me?
You can do so yourself.
legendary
Activity: 1890
Merit: 1078
Ian Knowles - CIYAM Lead Developer
January 21, 2013, 12:55:41 AM
#3
Sure and I have coded SetPriorityClass before - but I was suggesting something that might be more usable for Gavin's Grandma than an API call - let's say a check box perhaps? Smiley

Hmm... just realised I posted this in the wrong sub-forum (should have been posted in Development & Technical Discussion) - any mod want to move this for me?
legendary
Activity: 2058
Merit: 1431
January 21, 2013, 12:09:15 AM
#2
Code:
#ifndef WIN32
#include
#endif
[...]
SetPriorityClass(GetCurrentProcess(), BELOW_NORMAL_PRIORITY_CLASS);
legendary
Activity: 1890
Merit: 1078
Ian Knowles - CIYAM Lead Developer
January 20, 2013, 11:30:37 PM
#1
Running bitcoin-qt on a not so powerful laptop running XP can be a pain as it consumes basically all CPU every time it validates a new block (so every 10 minutes or so my computer *freezes* for generally around 5 seconds which feels like a long time when you're trying to code).

Of course I know how to lower the priority of the bitcoin-qt process (and do this for now) but I think this makes for a pretty bad new user experience (especially if you are catching up blocks) and I would guess that many users may not even know how to adjust the process priority.

So maybe it would be a good idea to have a setting to "Run as low priority"?
Pages:
Jump to: