All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rosen Penev <rosenp@gmail.com>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Question about btrfs and XOR offloading
Date: Sat, 2 Jan 2021 23:12:55 -0800	[thread overview]
Message-ID: <CAKxU2N8tHnnnOO9AeTTSJdPNmZonQ+Gx90xLGRpAB7GWGQRKUg@mail.gmail.com> (raw)
In-Reply-To: <be4e5508-b8dd-148c-33d1-366b73f22d98@gmx.com>

On Sat, Jan 2, 2021 at 10:53 PM Qu Wenruo <quwenruo.btrfs@gmx.com> wrote:
>
>
>
> On 2021/1/3 上午11:50, Rosen Penev wrote:
> > I've noticed that internally, btrfs' XOR code is CPU only. Does anyone
> > know if there is a performance advantage to using a hardware
> > accelerated path? I ask as I use BTRFS on a Marvelll ARM platform with
> > XOR offload capability.
> >
> AFAIK XOR is only utilized by RAID56, while RAID56 is not considered
> safe due to write-hole, thus I don't believe whether btrfs supports
> hardware XOR would make any difference for now.
Right the question is about performance. I don't know if XOR being
async would make any difference.
>
> Thanks,
> Qu

  reply	other threads:[~2021-01-03  7:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-03  3:50 Question about btrfs and XOR offloading Rosen Penev
2021-01-03  6:53 ` Qu Wenruo
2021-01-03  7:12   ` Rosen Penev [this message]
2021-01-04 14:44 ` David Sterba
2021-01-04 22:56   ` Rosen Penev
2021-01-05 15:33     ` David Sterba
2021-01-05 22:40       ` Rosen Penev
2021-01-06 12:37         ` David Sterba
2021-01-06 21:52           ` Rosen Penev

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=CAKxU2N8tHnnnOO9AeTTSJdPNmZonQ+Gx90xLGRpAB7GWGQRKUg@mail.gmail.com \
    --to=rosenp@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.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.