|
|
Pages: [1]
|
 |
|
Author
|
Topic: Automatically set all process to -19 (Read 1564 times)
|
Pepi
Knight o' The Realm

Offline
Posts: 119
|
I have edited limits.conf and set to root hard priority -19 and/or root soft priority -19 ( I login as root) (tried both version) When I start Boinc it is set to -19 and that is ok, but when I start calculating Primegrid in the Boinc ,4 process are set to 19. I can set it with renice to -19, but that is ok until process is finished and pid is changed,then priority is again 19. How to solve this?
Centos 6 86_64 AuthenticAMD AMD Phenom(tm) II X4 B50 Processor [Family 16 Model 5 Stepping 3] (4 processors) --- Linux 2.6.32-71.29.1.el6.x86_64
I would like to test, is with priority -19 crunching is faster or same as with priority 19, so that is reason why I try this. Thanks for reply
|
|
|
|
|
Logged
|
|
|
|
sunu
Alpha Tester
Knight who says 'Ni!'
 
Offline
Posts: 771
|
Quite some time ago I tried seti@home with negative niceness and it was slower than 0.
Running with -19 will probably lock your computer. Use no less than 0.
So, do you want everything boinc related to run at 0 or only some of the tasks?
|
|
|
|
|
Logged
|
|
|
|
Pepi
Knight o' The Realm

Offline
Posts: 119
|
Yesterday , I run many WU with priority -19 without any problems. That computer only crunch Primegrid, and dont do anything else. So what I wont : boinc process run at -19, ( and got that) but app for crunching Primegrid go to 0. I wont they also go to -19. Manually setting works until app crunch WU, but when finished, pid is changed and again it is priority 0.
|
|
|
|
« Last Edit: 01 Oct 2011, 12:09:27 pm by Pepi »
|
Logged
|
|
|
|
sunu
Alpha Tester
Knight who says 'Ni!'
 
Offline
Posts: 771
|
Put in your cc_config.xml the following:
<options> <no_priority_change>1</no_priority_change> </options>
|
|
|
|
|
Logged
|
|
|
|
Pepi
Knight o' The Realm

Offline
Posts: 119
|
There si primegrid_llr_wrapper and primegrid_sllr_3.8.4 : so that are two applications. When I don't use <no_priority_change>1</no_priority_change> then primegrid_llr_wrapper is showing rarely and have priority 19 When I use <no_priority_change>1</no_priority_change> then primegrid_llr_wrapper is showing often but have priority -19But in both cases primegrid_sllr_3.8.4 ( which I believe) is main app have priority 19. So some progress are made: i will now leave under night to see how this change ( or will be) this change reflect on crunch time. So rise of priority of primegrid_sllr_3.8.4 will remain unsolved, but now is one step closer UPDATE: you was right: I test it on 8 WU and it was slower, in both cases (2 *4 WU) all are finished in nearly same , near longest time I have had. So now I will try new tactic: using syntax enabled: I will start BOINC then download few WU in cache, and then raise priority of primegrid_sllr_3.8.4 but not primegrid_llr_wrapper.
|
|
|
|
« Last Edit: 01 Oct 2011, 09:24:15 pm by Pepi »
|
Logged
|
|
|
|
sunu
Alpha Tester
Knight who says 'Ni!'
 
Offline
Posts: 771
|
UPDATE: you was right: I test it on 8 WU and it was slower, in both cases (2 *4 WU) all are finished in nearly same , near longest time I have had.
As I said there is no point for negative priority, in fact it could be worse. Stick with 0. If <no_priority_change>1</no_priority_change> doesn't affect all primegrid stuff you'll have to use a script. Check at the bottom of this post http://lunatics.kwsn.net/3-linux/seti-mb-cuda-for-linux.msg30557.html#msg30557 Of course you'll have to change it for use in primegrid. With this script you'll not need the no_priority_change option.
|
|
|
|
|
Logged
|
|
|
|
Pepi
Knight o' The Realm

Offline
Posts: 119
|
Thanks But after all I will back to default values 
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
Quote!
The enemy of my enemy is not quite as much of an enemy as my enemy if they ask, and in either case, I will play nice to the enemy of my enemy only so far as it hurts my enemy for real.- 13th century Mongol warlord trying to describe the current semiconductor marketplace after dining on tainted cheese
|
 |  |  |
| |
Online users/last 15m
21 Guests, 1 User
ML1 13 Members/last 24hML1, Claggy, Richard Haselgrove, arkayn, Raistmer, _heinz, Mike, Urs Echternacht, PatrickV2, Hans Dorn, Josef W. Segur, mr.mac52, Byron Leigh Hatch @ team Carl Sagan
| |
 | |  |
|