Project

General

Profile

Idea #11139

Updated by Peter Amstutz about 7 years ago

<pre> 
 tetron@compute3.c97qk:/usr/local/share/arvados-compute-ping-controller.d$ awk '($1 == "MemTotal:"){print ($2 / 1024)}' </proc/meminfo 
 3440.54 
 </pre> 

 <pre> 
 df -m /tmp | perl -e ' 
 > my $index = index(<>, " 1M-blocks "); 
 > substr(<>, 0, $index + 10) =~ / (\d+)$/; 
 > print "$1\n"; 
 > ' 
 51170 
 </pre> 

 <pre> 
 tetron@compute3.c97qk:/usr/local/share/arvados-compute-ping-controller.d$ sinfo -n compute3 --format "%c %m %d" 
 CPUS MEMORY TMP_DISK 
 1 3440 51169 
 </pre> 

 <pre> 
 >>> szd["Standard_D1_v2"] 
 <NodeSize: id=Standard_D1_v2, name=Standard_D1_v2, ram=3584 disk=50 bandwidth=0 price=0 driver=Azure Virtual machines ...> 
 >>>  
 </pre> 

 So there's a ~144 MiB discrepancy between the advertised RAM size and the amount of RAM considered available by Linux. 

Back