From: kenneth johansson <ken@kenjo.org>
To: Tejun Heo <tj@kernel.org>
Cc: Grant Grundler <grundler@google.com>,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: weird throughput on write to SATA disk
Date: Tue, 14 Oct 2008 21:10:49 +0200 [thread overview]
Message-ID: <1224011449.10090.7.camel@duo> (raw)
In-Reply-To: <48F463C4.3070405@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 855 bytes --]
On Tue, 2008-10-14 at 18:17 +0900, Tejun Heo wrote:
> kenneth johansson wrote:
> > On Mon, 2008-10-13 at 18:33 -0700, Grant Grundler wrote:
> >> On Mon, Oct 13, 2008 at 3:19 PM, kenneth johansson <ken@kenjo.org> wrote:
> >> ...
> >>>> Can you try "dd oflag=direct if=/dev/null of=/dev/sdb bs=64k"?
> >>> I changed to use O_DIRECT and it's much more consistent now. 69-75 with
> >>> 74 about 95% of the time.
> >> That's low but it could be worse. Many things can contribute to slow
> >> disks.
> > Well my main problem was that it was fluctuating so much that can't be
> > right.
> Can you try deadline scheduler?
>
I did but it was so bad I restarted my computer and did it again. Same
result complete disaster. so fas O_DIRECT is the only one that is as it
should be.
Alan mentioned a patch by Arjan van de Ven anyone knows how to find that
one?
[-- Attachment #2: deadline2.png --]
[-- Type: image/png, Size: 5526 bytes --]
[-- Attachment #3: direct.png --]
[-- Type: image/png, Size: 3778 bytes --]
next prev parent reply other threads:[~2008-10-14 19:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 19:19 weird throughput on write to SATA disk kenneth johansson
2008-10-13 21:07 ` Grant Grundler
2008-10-13 21:22 ` kenneth johansson
2008-10-13 21:34 ` Grant Grundler
2008-10-13 21:35 ` Grant Grundler
2008-10-13 22:19 ` kenneth johansson
2008-10-14 1:33 ` Grant Grundler
2008-10-14 9:14 ` kenneth johansson
2008-10-14 9:17 ` Tejun Heo
2008-10-14 19:10 ` kenneth johansson [this message]
2008-10-14 16:09 ` Grant Grundler
2008-10-13 22:39 ` Alan Cox
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=1224011449.10090.7.camel@duo \
--to=ken@kenjo.org \
--cc=grundler@google.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox