mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
Cc: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>,
	agk@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: request baset device mapper in Linux
Date: Mon, 25 Jul 2011 00:16:19 +0200	[thread overview]
Message-ID: <20110724221619.GM16487@ics.muni.cz> (raw)
In-Reply-To: <4E2A7806.1060601@ce.jp.nec.com>

On Sat, Jul 23, 2011 at 04:28:06PM +0900, Jun'ichi Nomura wrote:
> How fast is the single disk performance?

about 120MB/s if I run dd on a single disk only. 

> Could you check /proc/interrupts and /proc/softirqs and
> see how they are distributed among CPUs?

I don't see anything strange except function call interrupts hit single CPU
(that ksoftirqd). 

> As for the memory usage, what happens if you add 'iflag=direct' to dd?

then ksoftirqd does not eat significant amount of CPU.


> Also, is it possible for you to try the attached patch?
> I would like to know whether it changes the phenomenon you see.
> This patch should reduce the number of calls to recalc segments.
> If it is the root cause, the patch should fix your case.
> The patch is generated for 3.0 but should be easily applicable to
> other version of request-based dm.

the patch fixed the problem. I didn't test whether it broke something else or
not, though.

> As Kiyoshi suggested, it is important to know whether this
> problem occurs with the latest kernel.
> So if you could try 3.0, it would be very helpful.

so, do I need to check recent kernel as the patch works for me?

-- 
Lukáš Hejtmánek

  reply	other threads:[~2011-07-24 22:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20  8:26 Lukas Hejtmanek
2011-07-21 11:11 ` Kiyoshi Ueda
2011-07-21 13:26   ` Lukas Hejtmanek
2011-07-22  6:56     ` Kiyoshi Ueda
2011-07-22  8:19       ` Lukas Hejtmanek
2011-07-23  7:28         ` Jun'ichi Nomura
2011-07-24 22:16           ` Lukas Hejtmanek [this message]
2011-08-01  9:31             ` Kiyoshi Ueda
2011-09-08 13:27               ` Lukas Hejtmanek
2011-09-15 18:49                 ` Mike Snitzer
2011-09-16 14:08                   ` Lukas Hejtmanek
2011-09-19  5:50                     ` Jun'ichi Nomura
2011-09-29 20:57                       ` Lukas Hejtmanek
2011-10-05  8:13                         ` Jun'ichi Nomura
2011-10-05 10:35                           ` Lukas Hejtmanek
2011-10-06  5:11                             ` Jun'ichi Nomura

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=20110724221619.GM16487@ics.muni.cz \
    --to=xhejtman@ics.muni.cz \
    --cc=agk@redhat.com \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=k-ueda@ct.jp.nec.com \
    --cc=linux-kernel@vger.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

all inboxes | Powered by JetHome®