Friday, June 29, 2007

Rapid context switching on our User Mode Linux host

Now with hundreds of thousands of context switches per second I'm surprised that the box has any time to do any work in userland!

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
13  0   2760  17060  15596 3767972    0    0    76   224  354 146832 30 70  0  0
10  0   2760  16944  15596 3768020    0    0    48     0  355 135414 45 55  0  0
10  0   2760  16556  15596 3768532    0    0    28     0  349 143074 37 63  0  0
9  0   2760  17380  15596 3767776    0    0    80     0  330 141158 41 59  0  0
9  1   2760  17140  15596 3767852    0    0    20     0  356 144483 39 61  0  0
9  0   2760  17152  15596 3767888    0    0    36   160  322 145730 37 63  0  0
9  0   2760  17000  15596 3768020    0    0   108     0  354 139198 38 62  0  0
6  1   2760  17660  15596 3767264    0    0    72     0  285 129292 48 52  0  0

0 comments: