public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Boot <bootc@bootc.net>
To: Jurriaan <thunder7@xs4all.nl>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: MD Raid 6: poor algorithm choice?
Date: Thu, 23 Feb 2006 21:31:52 +0000	[thread overview]
Message-ID: <43FE29C8.1000606@bootc.net> (raw)
In-Reply-To: <20060223210915.GA2800@amd64.of.nowhere>

thunder7@xs4all.nl wrote:
> From: Chris Boot <bootc@bootc.net>
> Date: Thu, Feb 23, 2006 at 06:00:10PM +0000
>   
>> Hi all,
>>
>> [4295106.474000] raid6: mmxx2     2500 MB/s
>> [4295106.521000] raid6: sse1x2    2339 MB/s
>> [4295106.524000] raid6: using algorithm sse1x2 (2339 MB/s)
>> [4295106.531000] md: raid6 personality registered for level 6
>>
>> I just loaded the raid6 module for fun (might end up using it one day), and 
>> I was surprised at its choice of algorithm. By the messages above, I would 
>> have assumed it would choose the mmxx2 algorithm at 2500 MB/s instead of 
>> sse1x2 at the slightly slower 2339 MB/s. This is probably entirely expected 
>> behaviour, but why?
>>
>>     
> Because it is more cache-efficient (allows the other code to run at a
> higher speed). This comes up now and again, perhaps these messages
> should be rephrased.
>   
I knew there would be a good reason for this, I just couldn't figure it 
out from those messages. That's a very good explanation indeed, and as 
you say, perhaps the messages should be updated.

Cheers,
Chris

-- 
Chris Boot
bootc@bootc.net

      reply	other threads:[~2006-02-23 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 18:00 MD Raid 6: poor algorithm choice? Chris Boot
2006-02-23 21:09 ` thunder7
2006-02-23 21:31   ` Chris Boot [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=43FE29C8.1000606@bootc.net \
    --to=bootc@bootc.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thunder7@xs4all.nl \
    /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