Messages in this thread | | | Date | Wed, 23 Oct 2002 14:48:19 +0200 | From | bert hubert <> | Subject | Re: 2.5.44 io accounting weirdness, bi & bo swapped? |
| |
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:
> However, mmapping a file and touching 100mb of pages does the following, > which looks sane: > > r b w swpd free buff cache si so bi bo in cs us sy id > 1 0 1 14320 7972 1952 146560 0 0 0 1912 1279 277 2 53 45
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.
Because I saw vmstat sometimes being right and sometimes being wrong, I derived that is was the kernel that was at fault.
Perhaps Albert's procps isn't ready for 2.5.44?
Regards,
bert hubert
-- http://www.PowerDNS.com Versatile DNS Software & Services http://lartc.org Linux Advanced Routing & Traffic Control HOWTO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |