lkml.org 
[lkml]   [2002]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.085 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site