echo "Off Node memory allocation test"
echo "-------------------------------"
uname -a
echo "Initial state:"
echo "--------------"
cat /sys/devices/system/node/node{2,3}/{meminfo,numastat}
echo
time taskset 20 dd if=/mnt/1gb of=/dev/null
echo
echo "State after copying 1gb file"
echo "----------------------------"
cat /sys/devices/system/node/node{2,3}/{meminfo,numastat}
time taskset 20 ./fatmem
echo "State after running 500Mb memalloc program"
echo "------------------------------------------"
cat /sys/devices/system/node/node{2,3}/{meminfo,numastat}

