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

Loris Bennett loris.bennett at fu-berlin.de
Tue Feb 26 12:20:40 UTC 2019


Hi Marcus,

Thanks for the response, but that doesn't seem to be the issue.  The
problem seems to be that the raw data are incorrect:

Slurm data: ... Ncpus Nnodes Ntasks    Reqmem PerNode   Cput Walltime                 Mem ExitStatus
Slurm data: ...    50      2      1 102400000       0 503611    16310 1.8014398509482e+16          0

Cheers,

Loris

Marcus Wagner <wagner at itc.rwth-aachen.de> writes:

> 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)
-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett at fu-berlin.de



More information about the slurm-users mailing list