question wrt context switching during disk i/o

From: Mike Galbraith (mikeg@wen-online.de)
Date: Fri Oct 20 2000 - 01:04:26 EST


Hi,

This is something that has been bugging me for a while. I notice
on my system that during disk write we do much context switching,
but not during disk read. Why is that?

   procs memory swap io system cpu
 r b w swpd free buff cache si so bi bo in cs us sy id
 0 1 1 0 1940 588 113672 0 0 0 3526 216 3707 0 14 86
 0 1 1 0 1940 588 113672 0 0 0 3567 218 3722 0 15 85
 0 1 1 0 1940 588 113672 0 0 0 3567 216 3711 0 18 82
 0 1 1 0 1940 588 113672 0 0 0 3412 213 3712 0 15 85
 1 1 1 0 1940 588 113672 0 0 0 3628 218 3669 0 13 87
 0 1 1 0 1460 588 114152 0 0 0 3505 215 3744 0 17 83
 1 0 1 0 1460 588 114148 0 0 2417 310 262 680 0 6 94
 1 0 1 0 1460 588 114148 0 0 3520 31 324 620 0 16 84
 2 0 1 0 1460 588 114148 0 0 3488 31 321 623 0 10 90
 1 0 1 0 1460 588 114148 0 0 3168 310 307 590 0 18 82
 1 0 1 0 1460 588 114148 0 0 3584 0 327 626 0 12 88
 1 0 1 0 1460 588 114148 0 0 3520 62 322 612 0 12 88
 1 0 1 0 1460 588 114148 0 0 3488 31 320 675 0 15 85

        -Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:17 EST