All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] tps for block device vs lvm device
Date: Fri, 8 Aug 2008 09:29:32 -0700	[thread overview]
Message-ID: <20080808162932.GA12253@us.ibm.com> (raw)
In-Reply-To: <f9d530070808071804s36f55963y504cdf0ccd73f00b@mail.gmail.com>

I believe, that is due to bio vs request. LVM/DM block devices receive
and use bio requests where as sdX uses requests (which are coalesced
from these bio's using elevator algorithms). So the actual disk
transactions would be fewer.

--Malahal.

unlisted [unlisted@gmail.com] wrote:
>    Why would I see 50x the amount of transactions on the lvm volume vs the
>    actual underlying block device ?
> 
>    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>               0.00    0.00   11.41   57.07    0.00   31.51
>    Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
>    sda             211.33         0.00        56.12          0        113
>    sdb             268.47        63.05         0.00        128          0
>    dm-0          14365.52         0.00        56.11          0        113
>    dm-1              0.00         0.00         0.00          0          0
>    sdc               0.00         0.00         0.00          0          0
>    211 tps versus 14365 tps.  The box is idle and the following command was
>    running:
> 
>    dd if=/dev/sdb of=/home/xxxxxxx/bigrandomfile.txt bs=4k count=10000000
>    Sam

> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

      reply	other threads:[~2008-08-08 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-08  1:04 [linux-lvm] tps for block device vs lvm device unlisted
2008-08-08 16:29 ` malahal [this message]

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=20080808162932.GA12253@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=linux-lvm@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.