Chinaunix
标题:
vmstat :system:in cs非常高是什么原因?
[打印本页]
作者:
xiaoxiongg
时间:
2012-04-28 11:53
标题:
vmstat :system:in cs非常高是什么原因?
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 5022368 14841392 1839112 0 0 1 0 0 2 0 0 100 0
1 0 0 5022236 14841392 1839112 0 0 0 0 77 98 0 0 100 0
0 0 0 5022236 14841392 1839112 0 0 0 0 75 100 0 0 100 0
0 0 0 5022236 14841392 1839112 0 0 0 0 51 62 0 0 100 0
0 0 0 5022360 14841392 1839112 0 0 0 0 78 96 0 0 100 0
0 0 0 5022360 14841392 1839112 0 0 0 0 50 62 0 0 100 0
0 0 0 5022360 14841392 1839112 0 0 0 0 64 76 0 0 100 0
12 0 0 4827880 14841392 1839128 0 0 0 0 6519 9883 10 0 90 0
8 0 0 4402568 14841392 1839140 0 0 0 0 8827 10724 25 1 74 0
12 0 0 3999560 14841400 1839216 0 0 0 38 13666 19096 26 2 72 0
8 0 0 3838024 14841400 1839420 0 0 0 0 16897 32029 28 2 70 0
7 0 0 3710528 14841400 1839716 0 0 0 0 15954 29502 33 2 65 0
4 0 0 3645016 14841408 1839936 0 0 0 6 13948 21873 25 2 73 0
2 0 0 3573216 14841408 1840092 0 0 0 0 9512 11425 14 1 85 0
4 0 0 3530512 14841408 1840200 0 0 0 0 4725 4415 14 0 86 0
3 0 0 3501964 14841416 1840196 0 0 0 6 6052 4262 11 0 88 0
0 0 0 3479532 14841416 1840196 0 0 0 0 1288 987 5 0 95 0
0 0 0 3479400 14841416 1840308 0 0 0 0 78 102 0 0 100 0
复制代码
vmstat :system:in cs非常高是什么原因?如何解决?
作者:
ePower518
时间:
2013-06-05 09:22
同问,解决了没有!
作者:
wenhq
时间:
2013-06-05 09:31
vmstat |column -t 输出格式化一下。
还有cs比较高有可能是interrupt导致。需要具体的查查。
作者:
wenhq
时间:
2013-06-05 09:33
追加找个LMbench 工具查查。
http://sourceforge.net/projects/lmbench/
作者:
ePower518
时间:
2013-06-05 11:59
谢谢!LMbench 只显示切换数值,并不能定位到哪个进程之间切换呀?
Context switching - times in microseconds - smaller is better
-------------------------------------------------------------------------
Host OS 2p/0K 2p/16K 2p/64K 8p/16K 8p/64K 16p/16K 16p/64K
ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw ctxsw
作者:
ePower518
时间:
2013-06-05 17:31
另开贴:
http://bbs.chinaunix.net/forum.p ... =4084969&extra=
使用LMbench检查,请协助看看!索然看到CS值太高,但是还不能定位是什么导致他CS值太高。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2