Re: 2.5.44 io accounting weirdness, bi & bo swapped?

From: Albert D. Cahalan (
Date: Wed Oct 23 2002 - 17:25:28 EST

bert hubert writes:
> On Wed, Oct 23, 2002 at 02:13:47PM +0200, bert hubert wrote:

>> It appears as if the kernel does its accounting wrong in
>> some places. For example, with procps 3.0.4, dd if=/dev/zero
>> of=/mnt/100mb bs=1024 count=100000 causes large 'bi' readings:
> My bad. In this case, what I thought of as sane:
> Is not. Touching a page entails reading it. In Albert's procps
> with 2.5.44, bi and bo are reversed. Rik's vmstat does report
> things correctly.

That's fixed now. Rik's vmstat is not correct; according to his
documentation "bo" means "blocks in" and "bi" means "blocks out",
but that's not what his vmstat does. :-)

The only Linux vmstat that runs according to spec:

---------------- recent changes -----------------

procps-3.0.4 --> procps-3.0.5

top tolerates super-wide displays
better (?) RPM generation
XConsole and top.desktop removed
old build system removed
code cleanup
pgrep and pkill get "-o" (oldest matching process)
had vmstat "bi" and "bo" output interchanged on 2.5.xx
fix man page tbl directives
top man page cleaned up

procps-3.0.3 --> procps-3.0.4

make top go faster
Linux 2.2.xx ELF note warning removed
only show IO-wait on recent kernels
fix top's SMP stats
fix top for "dumb" and "vt510" terminals
in top, limit the priority values to -99 ... 99

procps-3.0.2 --> procps-3.0.3

more "make install" fixes
lib CFLAGS working again
top.1 codes fixed
bad (int*) cast in top removed
top runs faster
libproc memory corruption fixed
rant moved out of top.1 man page
ability to SKIP installing things
fixed ps --sort crash
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:06 EST