Opened 12 years ago

Last modified 9 years ago

#1075 new enhancement

IZ134: Need RR/BF test with allocation rule '1' and RQS as bottleneck

Reported by: andreas Owned by:
Priority: normal Milestone:
Component: testsuite Version: current
Severity: Keywords: tests


[Imported from gridengine issuezilla]

        Issue #:      134             Platform:     All           Reporter: andreas (andreas)
       Component:     testsuite          OS:        All
     Subcomponent:    tests           Version:      current          CC:    None defined
        Status:       NEW             Priority:     P3
      Resolution:                    Issue type:    ENHANCEMENT
                                  Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
       * Summary:     Need RR/BF test with allocation rule '1' and RQS as bottleneck
   Status whiteboard:

     Issue 134 blocks:
   Votes for issue 134:     Vote for this issue

   Opened: Wed Jun 27 04:43:00 -0700 2007 

The system_tests/scheduler/resource_reservation test already covers allocation
rules $round_robin, $fill_up, and $pe_slots, but not '1' as allocation rule.
Also resource quota reservation is tested, but for sequential jobs only.

To reproduce/rule out

  parallel resource reservation broken when non-queue instance based quotas
limits apply

there is a need to have a resource reservation test that verifies allocation
rule '1' and uses resource quota as bottleneck. E.g.:

(1) Use a RQS that limits slots to 5 in total
   name         jeder_nur_eins
   description  global
   enabled      TRUE
   limit        to slots=5

(2) Use a PE with allocation rule '1' to cause slots be accumulated from more
than a single host

pe_name           intelmpi
slots             500
user_lists        NONE
xuser_lists       NONE
start_proc_args   NONE
stop_proc_args    NONE
allocation_rule   1
control_slaves    FALSE
job_is_first_task TRUE
urgency_slots     min

(3) Make sure there are at least five hosts in the cluster. Otherwise jobs won't

(4) To verfiy backfilling works run this

   ./test_drmaa ST_BACKFILL_FINISH_ORDER \
       $SGE_ROOT/examples/jobs/ \
       "-R y -N L4_BF -p 100 -l h_rt=15 -pe intelmpi 4"  \
       "-R y -N L5_BF -p 0 -l h_rt=15 -pe intelmpi 5"  \
       "-R y -N L1_BF -p 0 -l h_rt=15 -pe intelmpi 1"

(5) To verfiy resource reservation works run this

       $SGE_ROOT/examples/jobs/ \
      "-R y -N L4_RR -p 100 -l h_rt=15 -pe intelmpi 4" \
      "-R y -N L5_RR -p 0 -l h_rt=15 -pe intelmpi 5" \
      "-R y -N L1_RR -p 0 -l h_rt=25 -pe intelmpi 1"

Change History (0)

Note: See TracTickets for help on using tickets.