Opened 15 years ago

Last modified 9 years ago

#198 new defect

IZ1257: urgency_slots=avg notworking correctly for "-n" slot requests

Reported by: andy Owned by:
Priority: low Milestone:
Component: sge Version: 6.0
Severity: Keywords: scheduling
Cc:

Description

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

        Issue #:      1257             Platform:     All      Reporter: andy (andy)
       Component:     gridengine          OS:        All
     Subcomponent:    scheduling       Version:      6.0         CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    andreas (andreas)
      QA Contact:     andreas
          URL:
       * Summary:     urgency_slots=avg notworking correctly for "-n" slot requests
   Status whiteboard:
      Attachments:

     Issue 1257 blocks:
   Votes for issue 1257:


   Opened: Mon Aug 30 05:08:00 -0700 2004 
------------------------


urgency_slots=avg in the PE config is not working
correctly when a range "-n" is specififed. This
implicitly should be treated as "1-n", not as "0-n".

   # qsub -pe make 2 -N "slots2" jobs/sleeper.sh
   # qsub -pe make 2- -N "slots2-" jobs/sleeper.sh
   # qsub -pe make -2 -N "slots-2" jobs/sleeper.sh
2. urgency_slots=avg
--------------------

"slots" in PE set to "100"

> qstat -urg
job-ID  prior   nurg    urg      rrcontr  wtcontr
 dlcontr  name       user         state
submit/start at      deadline           queue
slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------
    295 0.61000 1.00000    51000    51000        0
       0 slots2-    as114086     qw    08/27/2004
13:37:25
51
    294 0.51200 0.02000     2000     2000        0
       0 slots2     as114086     qw    08/27/2004
13:37:24
2
    296 0.51000 0.00000     1000     1000        0
       0 slots-2    as114086     qw    08/27/2004
13:37:28
1

--> for job "slots-2" it should be 1500 instrad of
 1000.

   ------- Additional comments from sgrell Tue Dec 6 08:40:14 -0700 2005 -------
Changed subcomponent.

Stephan

Change History (0)

Note: See TracTickets for help on using tickets.