| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 8
|
|
| Author |
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I have learned that BOINC tasks are by default set at a very low processor priority and I understand why. However, I have multi-i7 computers of which only one is also used for personal things like email and surfing.
----------------------------------------My question is, is there a way to reset the BOINC processor priority on a permanent basis in my other computers to a higher priority? If so, how do I do that? Thanks. [Edit 1 times, last edit by Former Member at Apr 20, 2013 2:31:57 AM] |
||
|
|
Falconet
Master Cruncher Portugal Joined: Mar 9, 2009 Post Count: 3315 Status: Offline Project Badges:
|
I don't think so. But the way BOINC works is that it will use as many CPU cycles as possible(settings dependent) and whenever other tasks like email and surfing are active, BOINC will release the necessary CPU cycles to feed those other tasks. As soon as those other tasks end, BOINC automatically uses the now free CPU cycles. So I don't think there is any point in changing the priority. I've done so in the past and never really noticed any changes.
----------------------------------------![]() - AMD Ryzen 5 1600AF 6C/12T 3.2 GHz - 85W - AMD Ryzen 5 2500U 4C/8T 2.0 GHz - 28W - AMD Ryzen 7 7730U 8C/16T 3.0 GHz |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hello Gandalf_the_Grey,
Low priority is part of the basic design of BOINC. The low priority is reset many times during ordinary operation. The benchmark test is an exception and is run at normal priority. The idea is that most processes on a computer run only a small part of the time and let the OS run NOP ( a low power No Operation command ) most of the time. Oversimplifying, BOINC simply uses all the cycles that would otherwise be running NOP. Therefore BOINC does ensure that the CPU runs at maximum power generating maximum heat. There is no way to change this without rewriting boinc.exe. Lawrence |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Thanks Lawrence for the information. Another great idea bits the dust. I was hoping I could squeeze a few more cycles out of these i7s.
----------------------------------------FYI - Linux has a command to change the priority for a process/task. However, as soon as the next task/process starts, it's back to the Low Priority/default setting. You sure I couldn't set the priority to normal for my monsters or would that be telling BOINC secrets. I'm available via email, if necessary! ![]() [Edit 1 times, last edit by Former Member at Apr 19, 2013 9:09:47 PM] |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Hi Gandalf_the_Grey,
There was a lot of experimenting on this in the first year of WCG, but people finally accepted what the WCG staff said. boinc.exe keeps resetting the priorities of the threads at all sorts of points. There are ways to set priorities in Windows and other operating systems, but boinc.exe triumphs over all of them. Anyway, the time gained would be minimal unless the priority was high enough to interfere with interrupts, in which case the OS would crash. Any background task that is both unimportant and takes up a lot of time that could be better used by BOINC is badly written and should be uninstalled / replaced. Ordinary systems do not have anything like that running, so even running at lowest priority, BOINC grabs most of the system. Usually. . . Lawrence |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Even wizards must bow to greater wisdom.
----------------------------------------![]() [Edit 1 times, last edit by Former Member at Apr 20, 2013 2:30:30 AM] |
||
|
|
Ingleside
Veteran Cruncher Norway Joined: Nov 19, 2005 Post Count: 974 Status: Offline Project Badges:
|
Low priority is part of the basic design of BOINC. The low priority is reset many times during ordinary operation. The benchmark test is an exception and is run at normal priority. The benchmarks also runs at idle priority, this was changed a long time ago. The idea is that most processes on a computer run only a small part of the time and let the OS run NOP ( a low power No Operation command ) most of the time. Oversimplifying, BOINC simply uses all the cycles that would otherwise be running NOP. Therefore BOINC does ensure that the CPU runs at maximum power generating maximum heat. There is no way to change this without rewriting boinc.exe. Getting most(*) BOINC-applications to run at same priority as the BOINC-client is trivial, you only need to RTFM. Specifically, to cc_config.xml under the <options>-section, add a line with <no_priority_change>1</no_priority_change> (or change from zero to 1 if already have a line about no_priority_change). While it's easy to do this change, it's unlikely it will have any positive impact on production. More likely is this change will severely degrade responsiveness to anything else you're trying to do with the computer, and it can look like computer has hanged. (*): The setting of process-priority normally uses the BOINC-API, but some applications can't be re-compiled to include neccessary BOINC-code and uses a wrapper instead. Depending on wrapper-version used it's not certain the "science"-process is always set to idle as default. ![]() "I make so many mistakes. But then just think of all the mistakes I don't make, although I might." |
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Thanks, Ingleside.
Apparently there has been a lot of progress since 2005 that I have been ignoring. However, the received wisdom back then that it would not speed BOINC up much seems to still be true. Lawrence |
||
|
|
|