Linux-Raid Archives mirror
 help / color / mirror / Atom feed
From: Yu Kuai <yukuai1@huaweicloud.com>
To: Tom Crane <T.Crane@rhul.ac.uk>, linux-raid@vger.kernel.org
Cc: "yukuai (C)" <yukuai3@huawei.com>
Subject: Re: RAID performance limited by single kernel thread mdX_raid6 ?
Date: Sat, 20 Apr 2024 09:59:32 +0800	[thread overview]
Message-ID: <ef6626c8-a0ad-7eef-d1cd-ccd3fdfbabf8@huaweicloud.com> (raw)
In-Reply-To: <d26a7e97-b120-45ee-9063-e156d79b3e37@rhul.ac.uk>

Hi,

在 2024/04/13 1:35, Tom Crane 写道:
> We have a newly built RAID6 array built using the LVM subsystem. It
> comprises 12-off 1TB NVME drives and 12 stripes to match the number of
> drives.
> 
> The performance seems to be limited by the single [mdX_raid6] kernel
> thread which 'top' shows is maxed out at 100% CPU (on a single core)
> when performance testing the array.

No, IO fast path is not involved with the daemon thread. Daemon thread
is used to handle IO errer, sync IO, update sb, handle spares...

Thanks,
Kuai

> 
> The kernel is a fairly old one (Redhat's 3.10.0-1160.114.2.el7.x86_64)
> on a Centos7 system.  A cursory googling of the topic does not suggest
> that later kernels (e.g. Redhat's 5.14.0-362.18.1.el9_3.x86_64 should we
> upgrade the system to an EL9 distro) have multi-threaded this... Can
> anyone comment ?
> 
> 
> Many thanks
> 
> Tom Crane.
> 
> ps. I'm not subscribed to this ML so please CC me when replying.
> 
> This email, its contents and any attachments are intended solely for the 
> addressee and may contain confidential information. In certain 
> circumstances, it may also be subject to legal privilege. Any 
> unauthorised use, disclosure, or copying is not permitted. If you have 
> received this email in error, please notify us and immediately and 
> permanently delete it. Any views or opinions expressed in personal 
> emails are solely those of the author and do not necessarily represent 
> those of Royal Holloway, University of London. It is your responsibility 
> to ensure that this email and any attachments are virus free.
> 
> .
> 


      reply	other threads:[~2024-04-20  1:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 17:35 RAID performance limited by single kernel thread mdX_raid6 ? Tom Crane
2024-04-20  1:59 ` Yu Kuai [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=ef6626c8-a0ad-7eef-d1cd-ccd3fdfbabf8@huaweicloud.com \
    --to=yukuai1@huaweicloud.com \
    --cc=T.Crane@rhul.ac.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=yukuai3@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).