On 26-06-2017 17:20, Adrian Sevcenco wrote:

On 06/22/2017 01:34 PM, Ole Holm Nielsen wrote:

I'm announcing an updated version 0.50 of the node status tool "pestat" for Slurm. I discovered how to obtain the node Free Memory with sinfo, so now we can do nice things with memory usage!

Hi! thank you for the great tool! i don't know if this is intended but :

[Monday 26.06.17 18:12] adrian@sev : ~  $
sinfo -N -t idle -o "%N %P %C %O %m %e %t" | column -t
NODELIST   PARTITION  CPUS(A/I/O/T)  CPU_LOAD  MEMORY  FREE_MEM  STATE
localhost  local*     0/8/0/8        0.03      14984   201       idle

[Monday 26.06.17 18:13] adrian@sev : ~  $
free -m
total used free shared buff/cache available
Mem:          14984         392         182         134       14409  14081
Swap:          8191           0        8191

[Monday 26.06.17 18:13] adrian@sev : ~  $
pestat
Hostname Partition Node Num_CPU CPUload Memsize Freemem Joblist State Use/Tot (MB) (MB) JobId User ...
localhost          local*     idle   0   8    0.03     14984      201*


while it is clear that the reported free mem is what is reported by free as "free" one might argue that buffers/cache is memory available for usage as it will shrink with the application usage ...

Maybe the FREE_MEM should be reported as (free + cached) ?

The pestat tool simply reports the free_mem value provided by sinfo.
I'm not sure I understand your point, but only SchedMD can change Slurm's reporting.

/Ole

Reply via email to