From: Jan Kara <jack@suse.cz>
To: "lkml@tigusoft.pl" <lkml@tigusoft.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Very poor latency when using hard drive (raid1)
Date: Fri, 19 Apr 2013 17:01:56 +0200 [thread overview]
Message-ID: <20130419150156.GC26647@quack.suse.cz> (raw)
In-Reply-To: <kkgj31$jc6$1@ger.gmane.org>
On Mon 15-04-13 11:59:59, lkml@tigusoft.pl wrote:
> There are 2 hard drives (normal, magnetic) in software raid 1
> on 3.2.41 kernel.
Any possibility in trying a newer kernel? Like 3.8 / 3.9?
> When I write into them e.g. using dd from /dev/zero to a local file
> (ext4 on default settings), running 2 dd at once (writing two files) it
> starves all other programs that try to use the disk.
That shouldn't really happen. I presume you use the default IO scheduler?
i.e. CFQ?
> Running ls on any directory on same disk (same fs btw), takes over half
> minute to execute, same for any other disk touching action.
>
> Did anyone seen such problem, where too look, what to test?
Not in such a simple setting as yours.
> What could solve it (other then ionice on applications that I expect to
> use hard drive)?
ionice wouldn't help because dd writes the data into page cache and from
there flusher thread writes them to disk. So IO happens in flusher context
which won't be ioniced.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2013-04-19 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-15 9:59 lkml
2013-04-16 6:49 ` lkml
2013-04-16 7:24 ` Mike Galbraith
2013-04-16 11:23 ` Michael Tokarev
2013-04-19 15:01 ` Jan Kara [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=20130419150156.GC26647@quack.suse.cz \
--to=jack@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tigusoft.pl \
/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
all inboxes | Powered by JetHome®