+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: Automatically set all process to -19  (Read 16860 times)

Offline Pepi

  • Knight o' The Realm
  • **
  • 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

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • 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?


Offline Pepi

  • Knight o' The Realm
  • **
  • 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 »

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • 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>

Offline Pepi

  • Knight o' The Realm
  • **
  • 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 :)
 
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 »

Offline sunu

  • Alpha Tester
  • Knight who says 'Ni!'
  • ***
  • 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.

Offline Pepi

  • Knight o' The Realm
  • **
  • 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 :)

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 74
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 53
Total: 53
Powered by EzPortal