[slurm-users] seff: incorrect memory usage (18.08.5-2)

Marcus Wagner wagner at itc.rwth-aachen.de
Tue Feb 26 12:01:48 UTC 2019


Hi Loris,

I assume, this job used FAIRLY few memory, in the kb range, might that 
be true?

replace

sub kbytes2str {
     my $kbytes = shift;
     if ($kbytes == 0) {
         return sprintf("%.2f %sB", 0.0, 'M');
     }
     my $mul = 1024;

     my $exp = int(log($kbytes) / log($mul));
     my @pre = qw/ M G T P E /;
     my $pre = $pre[$exp-1];

     return sprintf("%.2f %sB", ($kbytes / pow($mul, $exp)), $pre ? $pre 
: "");
}


with

     my @pre = qw/ k M G T P E /;
     my $pre = $pre[$exp];


Best
Marcus

On 2/26/19 10:08 AM, Loris Bennett wrote:
> 48.00 EB (estimated maximum)
>    Memory Efficiency: 26388279066.62% of 195.31 GB (1.95 GB/core)

-- 
Marcus Wagner, Dipl.-Inf.

IT Center
Abteilung: Systeme und Betrieb
RWTH Aachen University
Seffenter Weg 23
52074 Aachen
Tel: +49 241 80-24383
Fax: +49 241 80-624383
wagner at itc.rwth-aachen.de
www.itc.rwth-aachen.de




More information about the slurm-users mailing list