Ticket #173 (new defect)

Opened 10 years ago

Last modified 3 years ago

IZ1046: incorrect load values for virtual memory

Reported by: joga Owned by:
Priority: low Milestone:
Component: sge Version: current
Severity: Keywords: Sun Solaris execution
Cc:

Description

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

        Issue #:      1046             Platform:     Sun       Reporter: joga (joga)
       Component:     gridengine          OS:        Solaris
     Subcomponent:    execution        Version:      current      CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    pollinger (pollinger)
      QA Contact:     pollinger
          URL:
       * Summary:     incorrect load values for virtual memory
   Status whiteboard:
      Attachments:

     Issue 1046 blocks:
   Votes for issue 1046:


   Opened: Thu May 13 04:21:00 -0700 2004 
------------------------


On Solaris machines (sol-sparc, sol-sparc64,
sol-x86) qhost displays incorrect values for swap
(compared to the values delivered by top):

qhost output:
 % qhost
HOSTNAME                ARCH         NCPU  LOAD
MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
global                  -               -     -
    -       -       -       -
balrog                  sol-sparc64  2.00  0.21
 1.0G  365.0M    1.0G
bilbur                  sol-sparc    1.00  0.03
256.0M  210.0M    1.0G   14.0M
nori                    sol-x86      2.00  0.42
1023.0M  192.0M  512.0M    7.0M


top output:
balrog:
Memory: 1024M real, 659M free, 54M swap in use,
1746M swap free

bilbur:
Memory: 256M real, 47M free, 36M swap in use,
1175M swap free

nori:
Memory: 1024M real, 832M free, 97M swap in use,
1220M swap free

If a value is 0, qhost seems to output no value at
all, see SWAPUS for host balrog.
qstat -F deliveres the following for balrog:
hl:swap_used=0.000B

   ------- Additional comments from sgrell Wed May 19 03:28:34 -0700 2004 -------
The second part of the bug got fixed with the bug fix: 824.
The internal parsing could not handle the B character and
reported an error and qhost printed nothing in case of an
error.
qhost will print now ?E in case of an error.

Stephan

   ------- Additional comments from andy Thu May 27 02:47:31 -0700 2004 -------
Changing priority

Grid Engine currently uses the swapctl() interfcase to get information
about free nad used swap space. The interface itself seems not to
report the correct values. Tools like "top" correct these values and
report  different values.

Need to analyze in detail how to determine swap space on Solaris.


   ------- Additional comments from andy Thu May 27 04:07:48 -0700 2004 -------
no really changed priority

   ------- Additional comments from pollinger Tue Dec 6 03:38:12 -0700 2005 -------
Reassigned to execution category
Note: See TracTickets for help on using tickets.