renicing X, cfs-v5 vs sd-0.46
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · Gene Heskett
This message prompted me to do some checking in re context switches myself, and I've come to the conclusion that there could be a bug in vmstat itself.
Perhaps. perhaps not. :)
Quoted 3 lines
Run singly the context switching is reasonable even for a -19 niceness of x, its only showing about 200 or so on the first loop of vmstat. But throw in the -n 1 arguments and it goes crazy on the second and subsequent loops.
man vmstat:
"The first report produced gives averages since the last reboot. Additional reports give information on a sampling period of length delay."
Regards,
Niel
Quoted 7 lines · Niel Lambrechts
Quoted 3 lines · Gene Heskett
This message prompted me to do some checking in re context switches myself, and I've come to the conclusion that there could be a bug in vmstat itself.
Perhaps. perhaps not. :)
Quoted 8 lines
Quoted 4 lines
Run singly the context switching is reasonable even for a -19 niceness of x, its only showing about 200 or so on the first loop of vmstat. But throw in the -n 1 arguments and it goes crazy on the second and subsequent loops.
man vmstat:
"The first report produced gives averages since the last reboot. Additional reports give information on a sampling period of length delay."
I missed that, concentrating on finding the method of telling it the delay I guess.
So then the next question is, over what period is that obviously lower figure being averaged over? Certainly not over a 1 second period else it would then be much higher, as seen by the figures after the initial delay. The time slice spec'd in /proc/sys/kernel/sched_granularity_ns, which here is currently 5000000 or 5 milliseconds? If that was the case, the first answer would be in the area of 15, not 200.
So educate me, off list if you would like and have the time.
Thanks Niel.
Signature · 6 lines
Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Sweet sixteen is beautiful Bess, And her voice is changing -- from "No" to "Yes".