Opened 11 years ago

Last modified 9 years ago

#605 new enhancement

IZ2812: qhost -F and qstat -F should show reserved resources for a running AR

Reported by: reuti Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2
Severity: Keywords: clients
Cc:

Description

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

        Issue #:      2812             Platform:     All           Reporter: reuti (reuti)
       Component:     gridengine          OS:        All
     Subcomponent:    clients          Version:      6.2              CC:    None defined
        Status:       NEW              Priority:     P3
      Resolution:                     Issue type:    ENHANCEMENT
                                   Target milestone: ---
      Assigned to:    roland (roland)
      QA Contact:     roland
          URL:
       * Summary:     qhost -F and qstat -F should show reserved resources for a running AR
   Status whiteboard:
      Attachments:

     Issue 2812 blocks:
   Votes for issue 2812:


   Opened: Fri Nov 28 04:31:00 -0700 2008 
------------------------


Making a complex like virtual_free consumable and attached to the hosts (vf=800M), it's honored in an AR (-l vf=500M) and conventional jobs can't use the reserved
resources as it should be, while the AR is running. You will get an output line for `qstat -j <job_id>` like:

(-l vf=500M) cannot run at host "pc15370" because it offers only hc:virtual_free=314572800.000000

Anyway, the output of `qhost -F` is:

$ qhost -F
HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
global                  -               -     -       -       -       -       -
pc15370                 lx24-x86        1  0.12  979.9M  142.0M  517.7M   16.0K
...
   hc:virtual_free=800.000M

and only running jobs are lowering the shown value - either in the AR or a normal qsub.

Enhancement:

Splitting the value to two lines with a different letters for the layers they apply to:

hc:virtual_free=300.000M
ac:virtual_free=500.000M

Similar for "gc:" => "kc:" and in qstat -F: "qc:" => "uc:".

Change History (0)

Note: See TracTickets for help on using tickets.