Hi,

Am 16.12.2016 um 17:58 schrieb Michael Stauffer:

> On Fri, Dec 16, 2016 at 11:50 AM, Reuti <re...@staff.uni-marburg.de> wrote:
> 
> > Am 16.12.2016 um 16:15 schrieb Michael Stauffer <mgsta...@gmail.com>:
> >
> > SoGE 8.1.8
> >
> > Hi,
> >
> > I'm trying to setup a fair share policy.
> 
> Only functional fair share without honoring the past? 'stckt' are from the 
> share tree which honors the past usage.
> 
> No, I am hoping to honor the past. I don't see any tickets of any kind from 
> qstat, unless I add override tickets.
> Can you point out what I may have done wrong in my config that I included in 
> my orig post? 

As you want to honor the past, we have to set some things.

First of all, as the past usage is stored in the user object, it must be 
avoided that it is deleted after the user didn't submit a job for some time:

$ qconf -sconf
...
enforce_user                 auto
...
auto_user_delete_time        0

You can either create the users by hand, or use the already set up 
enforce_user. For the scheduler you can set:

$ qconf -ssconf
...
compensation_factor               5.000000
...
policy_hierarchy                  S


> -M
>  
> -- Reuti
> 
> 
> > I've followed what I've found online from some different sources, and my 
> > config is listed below. When I use qstat -ext however, I'm not seeing any 
> > tickets issued under 'stckt'. I've tried adding some override tickets to 
> > some jobs and they show up, and look to be influencing priority.
> >
> > Do I need to setup a basic share tree like listed here:
> >
> > id=0
> > name=Root
> > type=0
> > shares=1
> > childnodes=1
> > id=1
> > name=default
> > type=0
> > shares=1000

Correct. All users which are collected under this "default" leaf will 
automatically show up there (after you saved the tree and open it again and 
click the "+").


> > childnodes=NONE
> >
> > I'd thought that setting 'enforce_user auto' and 'auto_user_fshare 100'

This for the functional share, hence it's not important for your sharetree 
setup.

===

BTW: I notice that you have no backfilling enabled. Is this by intention?

-- Reuti


> in the global config was enough. Thanks for any thoughts.
> >
> > # qconf -sconf
> > <snip>
> > enforce_user                 auto
> > auto_user_fshare             100
> > <snip>
> >
> > # qconf -ssconf
> > algorithm                         default
> > schedule_interval                 0:0:5
> > maxujobs                          200
> > queue_sort_method                 load
> > job_load_adjustments              np_load_avg=0.50
> > load_adjustment_decay_time        0:7:30
> > load_formula                      np_load_avg
> > schedd_job_info                   true
> > flush_submit_sec                  0
> > flush_finish_sec                  0
> > params                            none
> > reprioritize_interval             0:0:0
> > halftime                          168
> > usage_weight_list                 cpu=1.000000,mem=0.000000,io=0.000000
> > compensation_factor               5.000000
> > weight_user                       0.250000
> > weight_project                    0.250000
> > weight_department                 0.250000
> > weight_job                        0.250000
> > weight_tickets_functional         1000
> > weight_tickets_share              100000
> > share_override_tickets            TRUE
> > share_functional_shares           TRUE
> > max_functional_jobs_to_schedule   2000
> > report_pjob_tickets               TRUE
> > max_pending_tasks_per_job         100
> > halflife_decay_list               none
> > policy_hierarchy                  OSF
> > weight_ticket                     1.000000
> > weight_waiting_time               0.100000
> > weight_deadline                   3600000.000000
> > weight_urgency                    0.100000
> > weight_priority                   1.000000
> > max_reservation                   0
> > default_duration                  INFINITY
> > _______________________________________________
> > users mailing list
> > users@gridengine.org
> > https://gridengine.org/mailman/listinfo/users
> 
> 


_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to