Nginx 多核cpu负载均衡

L:122

 

查看Linux CPU 缓存大小

cat /sys/devices/system/cpu/cpu1/cache/index0/size //指令缓存
cat /sys/devices/system/cpu/cpu1/cache/index1/size //数据缓存
cat /sys/devices/system/cpu/cpu1/cache/index2/size //l2的数据缓存大小
cat /sys/devices/system/cpu/cpu1/cache/index3/size //l3的数据缓存大小 是cpu共享

//添加 numactl命令
yum install numactl
numactl --hardware //看cpu分配大小

numastat //查看命中率

猜你喜欢

转载自www.cnblogs.com/jackey2015/p/10622178.html