NUMA_NODE0_CPUS=`lscpu | grep 'NUMA node0' | cut -d ':' -f 2`
if [[ "$NUMA_NODE0_CPUS" =~ "-" ]] ; then
    CPU_SIDE=(${NUMA_NODE0_CPUS//-/ })
    for index in $(seq ${CPU_SIDE[0]} ${CPU_SIDE[1]})
    do
        CPUS[index]=$index
    done