From: Nicolae Mihalache <mache@abcpages.com>
To: Michael Evans <mjevans1983@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: slow sequential read on partitioned raid6
Date: Fri, 19 Mar 2010 07:47:42 +0100 [thread overview]
Message-ID: <4BA31E0E.3070306@abcpages.com> (raw)
In-Reply-To: <4877c76c1003171940y5bc70260mac7784452b2d4d7c@mail.gmail.com>
Actually my problem as written in the subject of the mail was that the
sequential read was slow. Somebody suggested to use a file instead of
the raw partition. If the file was detected as sparse (who does that??),
it would be even faster to read not slower.
nicolae
On 03/18/2010 03:40 AM, Michael Evans wrote:
> First off, why not use a hard disk benchmark utility (their names
> escape me aside from Bonnie++) which has these issues worked out?
>
> Second, if you absolutely must try to do a benchmark with basic tools
> (that buffer and use cache) try this:
>
> dd if=/dev/zero bs=1M count=10000 | tr '\0' 't' > testfile
> dd if=testfile of=/dev/null bs=1M
>
> You may note that you'll be writing a file with Ts instead of a file
> with 0's; my method should not be detected as sparse, where as the
> case with zeros probably will be detected as sparse and simply not
> stored.
>
> If in doubt you can check the size of the file on disk with ls -ls
> If I'm reading the output correctly the left most column (size on
> disk) is in kilobyte units, even on a 4kb cluster EXT4 filesystem
next prev parent reply other threads:[~2010-03-19 6:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-16 19:05 slow sequential read on partitioned raid6 Nicolae Mihalache
2010-03-16 22:22 ` Neil Brown
2010-03-16 23:16 ` Nicolae Mihalache
[not found] ` <1268783497.3781.14.camel@localhost.localdomain>
2010-03-17 8:23 ` Nicolae Mihalache
2010-03-18 2:40 ` Michael Evans
2010-03-19 6:47 ` Nicolae Mihalache [this message]
2010-03-19 8:16 ` Michael Evans
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=4BA31E0E.3070306@abcpages.com \
--to=mache@abcpages.com \
--cc=linux-raid@vger.kernel.org \
--cc=mjevans1983@gmail.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.