Opened 11 years ago

Last modified 9 years ago

#542 new defect

IZ2643: accounting and online usage of interactive jobs are wrong on hp11 and hp1164

Reported by: pollinger Owned by:
Priority: low Milestone:
Component: sge Version: 6.2alpha
Severity: Keywords: HP HP-UX execution
Cc:

Description

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

        Issue #:      2643             Platform:     HP         Reporter: pollinger (pollinger)
       Component:     gridengine          OS:        HP-UX
     Subcomponent:    execution        Version:      6.2alpha      CC:    None defined
        Status:       NEW              Priority:     P4
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    pollinger (pollinger)
      QA Contact:     pollinger
          URL:
       * Summary:     accounting and online usage of interactive jobs are wrong on hp11 and hp1164
   Status whiteboard:
      Attachments:

     Issue 2643 blocks:
   Votes for issue 2643:


   Opened: Wed Jul 9 07:51:00 -0700 2008 
------------------------


On hp11, the cpu usage is not exactly correct. The sum of "ru_utime" and
"ru_stime" is always lesser than the "cpu" value, e.g. ru_utime+ru_stime = 119.5
s and cpu = 123 s. The wallclock time says 122 s, so "cpu" is obviously wrong.

On hp1164, the online usage (while the job is running, use "qstat -j <jobid>" to
see it) is not working, all values are always 0. The usage values of the
finished job are correct.

   ------- Additional comments from rayson Wed Jul 9 12:48:33 -0700 2008 -------
PDC support was added to HP-UX and AIX in:
http://gridengine.sunsource.net/servlets/ReadMsg?list=cvs&msgNo=7147
http://gridengine.sunsource.net/servlets/ReadMsg?list=cvs&msgNo=7148

However, looks like HP-UX and AIX are not setting up the additional group ID
correctly:

Grep the source for "sge_add_group", and you will find that the following files
call sge_add_group() but #def only for LINUX||SOLARIS||ALPHA:
 3rdparty/remote/rshd.c
 3rdparty/remote/sgessh.c
 libs/uti/sge_uidgid.c

Without the additional group ID attached to the job, online accounting won't
work properly.

Change History (0)

Note: See TracTickets for help on using tickets.