Tuning CPU and memory with NUMA