Setting running priority?

Message boards : Number crunching : Setting running priority?
Message board moderation

To post messages, you must log in.

AuthorMessage
Mark Manning

Send message
Joined: 19 Feb 20
Posts: 3
Credit: 168,449
RAC: 8
United States
Message 2033110 - Posted: 20 Feb 2020, 1:38:21 UTC

Quick question: Is there a way to automate setting the priority down to the lowest priority under windows of all boinc programs? I can do it by hand but I suspect the program is resetting them back to normal priority. (Windows 7 x64). TIA!
ID: 2033110 · Report as offensive
Mark Manning

Send message
Joined: 19 Feb 20
Posts: 3
Credit: 168,449
RAC: 8
United States
Message 2033111 - Posted: 20 Feb 2020, 1:41:48 UTC - in response to Message 2033110.  

I've set it to only use 5% of the cpu but be on all of the time. This is not the same as saying just set it to the lowest priority. But I guess I can live with it. :-)
ID: 2033111 · Report as offensive
Profile Gary Charpentier Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 25 Dec 00
Posts: 30640
Credit: 53,134,872
RAC: 32
United States
Message 2033112 - Posted: 20 Feb 2020, 1:47:40 UTC - in response to Message 2033110.  

Quick question: Is there a way to automate setting the priority down to the lowest priority under windows of all boinc programs? I can do it by hand but I suspect the program is resetting them back to normal priority. (Windows 7 x64). TIA!

GPU tasks must run normal priority. CPU tasks should be running at low priority.
Why? GPU tasks have to be responsive enough to get out of the way when you want to use the GPU to look at the screen.
The manager also needs to run at normal priority as it must respond to RPC's from the tasks. But it hardly uses any resources at all.

If you you screw too much by hand with task priorities you can cause a priority inversion and freeze BOINC or your system.

Perhaps a better thing for you is too look at the setting to sleep BOINC if you are using the computer.
ID: 2033112 · Report as offensive
rob smith Crowdfunding Project Donor*Special Project $75 donorSpecial Project $250 donor
Volunteer moderator
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 22190
Credit: 416,307,556
RAC: 380
United Kingdom
Message 2033132 - Posted: 20 Feb 2020, 8:53:16 UTC
Last modified: 20 Feb 2020, 8:53:35 UTC

When you say you've set the CPU to use only 5% which of the many setting of CPU usage do you mean?

If you set usage to 5% of the cores that will restrict BOINC to directly using one core on you 8-core processor (BOINC cannot allocate a fraction of a core using this technique).
If you set 5% of the time then that is not a very good idea as the time slice is very small and what may happen is that the operating system will spend more time loading and unloading the application and its data than the the application actually runs for. Further doing this increases the thermal stress on the chip as it is continuously cycling between states.

As Gary says trying to set the priorities is a hard & fruitless task - BOINC is designed and written in the way it is to try to maintain system response while doing a reasonable amount of work in the background.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 2033132 · Report as offensive
Grant (SSSF)
Volunteer tester

Send message
Joined: 19 Aug 99
Posts: 13732
Credit: 208,696,464
RAC: 304
Australia
Message 2033136 - Posted: 20 Feb 2020, 9:14:07 UTC
Last modified: 20 Feb 2020, 9:52:44 UTC

I would suggest not using the iGPU (Intel inbuilt GPU) for crunching. The CPU cores themselves could produce much more work than it is able to produce.


Edit- and for running Seti, using video driver v431.60 or earlier, or v442.19 or later (if Win7 is supported) is necessary to avoid issues with some WU (Work Units) erroring out on your Nvidia card.
Ta Wiggo.
Grant
Darwin NT
ID: 2033136 · Report as offensive
Profile Wiggo
Avatar

Send message
Joined: 24 Jan 00
Posts: 34744
Credit: 261,360,520
RAC: 489
Australia
Message 2033140 - Posted: 20 Feb 2020, 9:50:50 UTC - in response to Message 2033136.  

Edit- and for running Seti, using video driver v431.60 or earlier, or v442.19 or later (if Win7 is supported) is necessary to avoid issues with some WU (Work Units) erroring out on your Nvidia card.
Actually Grant that driver problem is a Win10 only problem as earlier Windows versions arn't effected by it.

Cheers.
ID: 2033140 · Report as offensive
Profile Kissagogo27 Special Project $75 donor
Avatar

Send message
Joined: 6 Nov 99
Posts: 715
Credit: 8,032,827
RAC: 62
France
Message 2033145 - Posted: 20 Feb 2020, 11:01:27 UTC

hi, u can use utility programs like bill's process manager / process lasso etc etc
ID: 2033145 · Report as offensive
Darrell Wilcox Project Donor
Volunteer tester

Send message
Joined: 11 Nov 99
Posts: 303
Credit: 180,954,940
RAC: 118
Vietnam
Message 2033260 - Posted: 21 Feb 2020, 2:14:12 UTC - in response to Message 2033110.  
Last modified: 21 Feb 2020, 2:15:13 UTC

@ Mark Manning
Quick question: Is there a way to automate setting the priority down to the lowest priority under windows of all boinc programs?


Yes, documented here

" The OS process priority at which tasks are run. Values are 0 (lowest priority, the default), 1 (below normal), 2 (normal), 3 (above normal), 4 (high) and 5 (real-time - not recommended). 'special' process priority is used for coprocessor (GPU) applications, wrapper applications, and non-compute-intensive applications, 'process priority' for all others. The two options can be used independently."

<cc_config>
<options>
<process_priority>N</process_priority>
<process_priority_special>N</process_priority_special>
</options>
</cc_config>

EDIT: Does NOT control any Virtualbox processes.
ID: 2033260 · Report as offensive

Message boards : Number crunching : Setting running priority?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.