Opened 13 years ago

Last modified 9 years ago

#388 new defect

IZ2140: queue h_rt/s_rt not taken into account for running job duration when doing reservations

Reported by: andreas Owned by:
Priority: normal Milestone:
Component: sge Version: 6.0
Severity: Keywords: scheduling
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2140]

        Issue #:      2140             Platform:     All      Reporter: andreas (andreas)
       Component:     gridengine          OS:        All
     Subcomponent:    scheduling       Version:      6.0         CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    sgrell (sgrell)
      QA Contact:     andreas
          URL:
       * Summary:     queue h_rt/s_rt not taken into account for running job duration when doing reservations
   Status whiteboard:
      Attachments:

     Issue 2140 blocks:
   Votes for issue 2140:


   Opened: Wed Dec 20 09:24:00 -0700 2006 
------------------------


The queue h_rt/s_rt limit is not taken into account for running jobs when doing
reservation scheduling.

Example:
* use a globally enforced h_rt limit (1 hour)
* use a long.q without explicit h_rt limit specification
* use a short.q with explicit h_rt limit specificaion (1 minute)
* watch running jobs duration in schedule

> qconf -sq long.q | egrep '^h_rt|^complex_values'
complex_values        NONE
h_rt                  INFINITY
> qconf -sq short.q | egrep '^h_rt|^complex_values'
complex_values        NONE
h_rt                  ::60
> qconf -se global | grep '^complex_values'
complex_values        h_rt=1::

> qconf -ssconf| egrep '^max_reservation|^default_duration|^params'
params                            monitor=true
max_reservation                   10
default_duration                  10:0:0

The schedule output unveils that even for short.q jobs (enforced(!) 1 minute
limit) the default duration of 10 hours is assumed:

> qsub -q short.q -b y /bin/sleep 45
Your job 413335 ("sleep 45") has been submitted
> grep ^413335 $SGE_ROOT/default/common/schedule
413335:1:STARTING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000
413335:1:RUNNING:1166103660:36060:Q:short.q@es-ergb01-01:slots:1.000000

Change History (0)

Note: See TracTickets for help on using tickets.