Donate To Seti@HomeSeti@Home optimized science apps and information
 
Welcome, Guest. Please login or register.
23 May 2013, 09:36:29 pm

Login with username, password and session length
 
» Home
» Forums
» Downloads
» FAQ
» News

» Search site
 
 
 
If you've registered already but never got your activation email, please click here.
 
 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Discussion Forum  |  Topic: Automatically set all process to -19 0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Automatically set all process to -19  (Read 1564 times)
Pepi
Knight o' The Realm
**
Offline Offline

Posts: 119


Automatically set all process to -19
« on: 01 Oct 2011, 07:28:57 am »

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 Offline

Posts: 771



Re: Automatically set all process to -19
« Reply #1 on: 01 Oct 2011, 10:39:36 am »

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 Offline

Posts: 119


Re: Automatically set all process to -19
« Reply #2 on: 01 Oct 2011, 11:43:38 am »

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 Offline

Posts: 771



Re: Automatically set all process to -19
« Reply #3 on: 01 Oct 2011, 02:11:37 pm »

Put in your cc_config.xml the following:

    <options>
   <no_priority_change>1</no_priority_change>
    </options>
Logged
Pepi
Knight o' The Realm
**
Offline Offline

Posts: 119


Re: Automatically set all process to -19
« Reply #4 on: 01 Oct 2011, 07:40:29 pm »

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 -19
But 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 Smiley
 
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 Offline

Posts: 771



Re: Automatically set all process to -19
« Reply #5 on: 02 Oct 2011, 05:41:52 am »

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 Offline

Posts: 119


Re: Automatically set all process to -19
« Reply #6 on: 02 Oct 2011, 09:24:40 am »

Thanks
But after all I will back to default values Smiley
Logged
Pages: [1] Go Up Print 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Discussion Forum  |  Topic: Automatically set all process to -19 « previous next »
Jump to:  


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

 
Site Statistics
Total Members:91
Total Posts:51,114
Total Topics:1,432
Downloads
..Some PHP stuff ToDo
Pages served
Today:7,569
Total:17,328,779
(since 6/26/2006)
Latest Member:
[seti.international] Philip J. Fry
 
 
Seti@Home optimized science apps and information | Powered by Enigma 2.0 (RC1).
© 2003-2013, LSP Dev Team. All Rights Reserved.
Seti@Home optimized science apps and information Forums | Powered by SMF.
© 2005, Simple Machines LLC. All Rights Reserved.
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!