All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirby Zhou" <kirbyzhou@sohu-rd.com>
To: "'Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list'"
	<rhelv5-list@redhat.com>,
	'LVM general discussion and development' <linux-lvm@redhat.com>
Subject: [linux-lvm] Does LVM-LV take system cache?
Date: Tue, 7 Sep 2010 00:23:23 +0800	[thread overview]
Message-ID: <001901cb4ddf$d3bff6d0$7b3fe470$@com> (raw)

[-- Attachment #1: Type: text/plain, Size: 909 bytes --]

Does LVM-LV take system cache?

In my test, it does not take system cache on a RHEL5 box, is it a bug or a
feature?

 

Test1, run dd with raw block device, it seems system cache can boost up
reread operation.

 

[@djt_18_69 ~]# dd if=/dev/sdc bs=1M of=/dev/null count=500

524288000 bytes (524 MB) copied, 1.88267 seconds, 278 MB/s

[@djt_18_69 ~]# dd if=/dev/sdc bs=1M of=/dev/null count=500

524288000 bytes (524 MB) copied, 0.13445 seconds, 3.9 GB/s

 

Test2, run dd with lv, it seems system cache CAN NOT boost up reread
operation.

 

[@djt_18_69 ~]# dd if=/dev/vgext/lvtest5 bs=1M of=/dev/null count=500

524288000 bytes (524 MB) copied, 2.17848 seconds, 241 MB/s

[@djt_18_69 ~]# dd if=/dev/vgext/lvtest5 bs=1M of=/dev/null count=500

524288000 bytes (524 MB) copied, 2.17451 seconds, 241 MB/s

 

Both 2.6.18-164.15.1.el5 and 2.6.18-194.el5 do the same behavior.

 

 

  Regards

  Kirby Zhou

 


[-- Attachment #2: Type: text/html, Size: 4201 bytes --]

             reply	other threads:[~2010-09-06 16:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06 16:23 Kirby Zhou [this message]
2010-09-06 20:16 ` [linux-lvm] Does LVM-LV take system cache? Sure Lars Ellenberg
2010-09-07  5:49   ` Kirby Zhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001901cb4ddf$d3bff6d0$7b3fe470$@com' \
    --to=kirbyzhou@sohu-rd.com \
    --cc=linux-lvm@redhat.com \
    --cc=rhelv5-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.