public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* vmstat help
@ 2001-06-04 22:41 Radhakrishnan Manga
  0 siblings, 0 replies; only message in thread
From: Radhakrishnan Manga @ 2001-06-04 22:41 UTC (permalink / raw)
  To: linux-kernel

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-04 22:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-04 22:41 vmstat help Radhakrishnan Manga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox