From: "J. Ryan Earl" <heretic@clanhk.org>
To: linux-kernel@vger.kernel.org
Subject: AMD64 and RAID6
Date: Sat, 08 May 2004 12:48:54 -0500 [thread overview]
Message-ID: <409D1D86.6050907@clanhk.org> (raw)
I noticed the following in my dmesg:
raid5: measuring checksumming speed
generic_sse: 6604.000 MB/sec
raid5: using function: generic_sse (6604.000 MB/sec)
raid6: int64x1 1847 MB/s
raid6: int64x2 2753 MB/s
raid6: int64x4 2878 MB/s
raid6: int64x8 1902 MB/s
raid6: sse2x1 1015 MB/s
raid6: sse2x2 1488 MB/s
raid6: sse2x4 1867 MB/s
raid6: using algorithm sse2x4 (1867 MB/s)
md: raid6 personality registered as nr 8
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Why doesn't RAID6 use the int64x4 algorithm in this situation? What is
the motivation of setting the 'prefer field' on the sse algorithms and
not on the integer based algorithms?
From drivers/md/raid6.h:
/* Routine choices */
struct raid6_calls {
void (*gen_syndrome)(int, size_t, void **);
int (*valid)(void); /* Returns 1 if this routine set is
usable */
const char *name; /* Name of this routine set */
int prefer; /* Has special performance attribute */
};
-ryan
next reply other threads:[~2004-05-08 17:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-08 17:48 J. Ryan Earl [this message]
2004-05-08 18:52 ` AMD64 and RAID6 Jurriaan
2004-05-11 2:13 ` H. Peter Anvin
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=409D1D86.6050907@clanhk.org \
--to=heretic@clanhk.org \
--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