lkml.org 
[lkml]   [2001]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvmstat help
Hi,
I am using the vmstat that came along with the SuSE 7.0 distribution.
I have problem interpretting the data reported by vmstat. The vmstat
document reads that the block information reported is always in terms of
1K blocks. Just to findout the validity of the data reported by vmstat,
I carried out the a small copy test. Here is the configuration I have

1) I have two file systems which are created with 4096 block size
2) These two file systems are on two different disks. (but both are
sitting on same scsi controller)
3) I am trying to copy a 4GB file from one disk to another using the
simple "cp" command.
4) I am capturing vmstat with 30 sec interval. I stop the vmstat after
cp is done
5) The copy takes anywhere between 7 to 10 minutes.

On vmstat report has bi and bo's ranging form 700 to 4000.

Just to get the total blocks read, I multiple the value reported in bi
column with 30 (as 30 sec was my sampling interval) and sum them all. To
my surprise, they add up only to around (1 GB).

What is wrong here, the documentation or my intepretation of vmstat
output.



-
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 12:54    [W:0.027 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site