* SSSE6 / RAID6
@ 2012-05-22 21:27 Mathias Burén
2012-05-22 22:18 ` H. Peter Anvin
2012-05-23 0:20 ` NeilBrown
0 siblings, 2 replies; 6+ messages in thread
From: Mathias Burén @ 2012-05-22 21:27 UTC (permalink / raw)
To: Linux-RAID
Hi list,
I just compiled 3.4 for my little Atom box. Is there any way I can
confirm if the RAID6 check is using SSSE6 instructions?
$ zcat /proc/config.gz |grep -i -P '(raid|sss)'
CONFIG_RAID_ATTRS=y
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID10=m
CONFIG_MD_RAID456=y
# CONFIG_MULTICORE_RAID456 is not set
CONFIG_DM_RAID=m
CONFIG_ASYNC_RAID6_TEST=m
CONFIG_ASYNC_RAID6_RECOV=y
CONFIG_CRYPTO_SHA1_SSSE3=y
CONFIG_RAID6_PQ=y
$ cat /proc/cpuinfo |grep ssse
flags : fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dts
$ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sdf1[5] sdh1[8] sdg1[0] sde1[7] sdc1[3] sdd1[4] sdb1[9]
9751756800 blocks super 1.2 level 6, 64k chunk, algorithm 2
[7/7] [UUUUUUU]
[>....................] check = 0.7% (15577860/1950351360)
finish=1918.9min speed=16804K/sec
unused devices: <none>
$ ps aux |grep -i -P '(md|raid)'
root 27 0.0 0.0 0 0 ? S< 21:52 0:00 [md]
root 342 15.5 0.0 0 0 ? R 21:52 5:23 [md0_raid6]
root 3937 65.2 0.0 0 0 ? R 22:13 9:11 [md0_resync]
Thanks,
Mathias
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SSSE6 / RAID6
2012-05-22 21:27 SSSE6 / RAID6 Mathias Burén
@ 2012-05-22 22:18 ` H. Peter Anvin
2012-05-22 23:37 ` Mathias Burén
2012-05-23 0:20 ` NeilBrown
1 sibling, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2012-05-22 22:18 UTC (permalink / raw)
To: Mathias Burén; +Cc: Linux-RAID
On 05/22/2012 02:27 PM, Mathias Burén wrote:
> Hi list,
>
> I just compiled 3.4 for my little Atom box. Is there any way I can
> confirm if the RAID6 check is using SSSE6 instructions?
>
It should be printed in the boot log (/var/log/dmesg or similar.)
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SSSE6 / RAID6
2012-05-22 22:18 ` H. Peter Anvin
@ 2012-05-22 23:37 ` Mathias Burén
2012-05-23 0:26 ` Jim Kukunas
0 siblings, 1 reply; 6+ messages in thread
From: Mathias Burén @ 2012-05-22 23:37 UTC (permalink / raw)
To: Linux-RAID
On 22 May 2012 23:18, H. Peter Anvin <hpa@zytor.com> wrote:
> On 05/22/2012 02:27 PM, Mathias Burén wrote:
>> Hi list,
>>
>> I just compiled 3.4 for my little Atom box. Is there any way I can
>> confirm if the RAID6 check is using SSSE6 instructions?
>>
>
> It should be printed in the boot log (/var/log/dmesg or similar.)
>
> -hpa
>
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel. I don't speak on their behalf.
>
$ dmesg|grep -i sss
[ 1.003566] sha1_ssse3: Using SSSE3 optimized SHA-1 implementation
$ dmesg|grep -i raid
[ 0.240120] raid6: int64x1 333 MB/s
[ 0.296660] raid6: int64x2 558 MB/s
[ 0.353377] raid6: int64x4 573 MB/s
[ 0.410019] raid6: int64x8 660 MB/s
[ 0.466731] raid6: sse2x1 578 MB/s
[ 0.523360] raid6: sse2x2 1024 MB/s
[ 0.579973] raid6: sse2x4 1846 MB/s
[ 0.579978] raid6: using algorithm sse2x4 (1846 MB/s)
[ 1.017503] sata_mv: Highpoint RocketRAID BIOS CORRUPTS DATA on all
attached drives, regardless of if/how they are configured. BEWARE!
[ 1.017509] sata_mv: For data safety, do not use sectors 8-9 on
"Legacy" drives, and avoid the final two gigabytes on all RocketRAID
BIOS initialized drives.
[ 1.211831] md: raid6 personality registered for level 6
[ 1.211835] md: raid5 personality registered for level 5
[ 1.211840] md: raid4 personality registered for level 4
[ 5.436217] md/raid:md0: device sdf1 operational as raid disk 4
[ 5.436223] md/raid:md0: device sdh1 operational as raid disk 5
[ 5.436229] md/raid:md0: device sdg1 operational as raid disk 0
[ 5.436234] md/raid:md0: device sde1 operational as raid disk 6
[ 5.436239] md/raid:md0: device sdc1 operational as raid disk 3
[ 5.436244] md/raid:md0: device sdd1 operational as raid disk 2
[ 5.436250] md/raid:md0: device sdb1 operational as raid disk 1
[ 5.438070] md/raid:md0: allocated 7450kB
[ 5.438627] md/raid:md0: raid level 6 active with 7 out of 7
devices, algorithm 2
[ 5.438636] RAID conf printout:
[ 1244.523593] md: data-check of RAID array md0
Hm, doesn't look like it's working? (I missed linux-raid)
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SSSE6 / RAID6
2012-05-22 21:27 SSSE6 / RAID6 Mathias Burén
2012-05-22 22:18 ` H. Peter Anvin
@ 2012-05-23 0:20 ` NeilBrown
1 sibling, 0 replies; 6+ messages in thread
From: NeilBrown @ 2012-05-23 0:20 UTC (permalink / raw)
To: Mathias Burén; +Cc: Linux-RAID
[-- Attachment #1: Type: text/plain, Size: 1915 bytes --]
On Tue, 22 May 2012 22:27:42 +0100 Mathias Burén <mathias.buren@gmail.com>
wrote:
> Hi list,
>
> I just compiled 3.4 for my little Atom box. Is there any way I can
> confirm if the RAID6 check is using SSSE6 instructions?
SSSE6 ? What is that? Some other name for SSSE3 ??
The SSSE3 RAID6 code was too late for 3.4. It is in -next and should appear
in 3.5-rc1.
NeilBrown
>
> $ zcat /proc/config.gz |grep -i -P '(raid|sss)'
> CONFIG_RAID_ATTRS=y
> CONFIG_MD_RAID0=m
> CONFIG_MD_RAID1=m
> CONFIG_MD_RAID10=m
> CONFIG_MD_RAID456=y
> # CONFIG_MULTICORE_RAID456 is not set
> CONFIG_DM_RAID=m
> CONFIG_ASYNC_RAID6_TEST=m
> CONFIG_ASYNC_RAID6_RECOV=y
> CONFIG_CRYPTO_SHA1_SSSE3=y
> CONFIG_RAID6_PQ=y
>
> $ cat /proc/cpuinfo |grep ssse
> flags : fpu vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
> clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts nopl aperfmperf pni dtes64 monitor
> ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dts
>
> $ cat /proc/mdstat
> Personalities : [raid6] [raid5] [raid4]
> md0 : active raid6 sdf1[5] sdh1[8] sdg1[0] sde1[7] sdc1[3] sdd1[4] sdb1[9]
> 9751756800 blocks super 1.2 level 6, 64k chunk, algorithm 2
> [7/7] [UUUUUUU]
> [>....................] check = 0.7% (15577860/1950351360)
> finish=1918.9min speed=16804K/sec
>
> unused devices: <none>
>
> $ ps aux |grep -i -P '(md|raid)'
> root 27 0.0 0.0 0 0 ? S< 21:52 0:00 [md]
> root 342 15.5 0.0 0 0 ? R 21:52 5:23 [md0_raid6]
> root 3937 65.2 0.0 0 0 ? R 22:13 9:11 [md0_resync]
>
> Thanks,
> Mathias
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SSSE6 / RAID6
2012-05-22 23:37 ` Mathias Burén
@ 2012-05-23 0:26 ` Jim Kukunas
2012-05-23 0:30 ` Mathias Burén
0 siblings, 1 reply; 6+ messages in thread
From: Jim Kukunas @ 2012-05-23 0:26 UTC (permalink / raw)
To: Mathias Burén; +Cc: Linux-RAID
On Wed, May 23, 2012 at 12:37:32AM +0100, Mathias Burén wrote:
> On 22 May 2012 23:18, H. Peter Anvin <hpa@zytor.com> wrote:
> > On 05/22/2012 02:27 PM, Mathias Burén wrote:
> >> Hi list,
> >>
> >> I just compiled 3.4 for my little Atom box. Is there any way I can
> >> confirm if the RAID6 check is using SSSE6 instructions?
<snip>
The _SSSE3_ RAID6 recovery functions are in Neil's for-next tree. They aren't
in 3.4.
If they were, you'd see something like:
% dmesg | grep ssse3
[ 0.167849] raid6: using ssse3x1 recovery algorithm
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jim Kukunas
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SSSE6 / RAID6
2012-05-23 0:26 ` Jim Kukunas
@ 2012-05-23 0:30 ` Mathias Burén
0 siblings, 0 replies; 6+ messages in thread
From: Mathias Burén @ 2012-05-23 0:30 UTC (permalink / raw)
To: Mathias Burén, Linux-RAID
On 23 May 2012 01:26, Jim Kukunas <james.t.kukunas@linux.intel.com> wrote:
> On Wed, May 23, 2012 at 12:37:32AM +0100, Mathias Burén wrote:
>> On 22 May 2012 23:18, H. Peter Anvin <hpa@zytor.com> wrote:
>> > On 05/22/2012 02:27 PM, Mathias Burén wrote:
>> >> Hi list,
>> >>
>> >> I just compiled 3.4 for my little Atom box. Is there any way I can
>> >> confirm if the RAID6 check is using SSSE6 instructions?
>
> <snip>
>
> The _SSSE3_ RAID6 recovery functions are in Neil's for-next tree. They aren't
> in 3.4.
>
> If they were, you'd see something like:
>
> % dmesg | grep ssse3
> [ 0.167849] raid6: using ssse3x1 recovery algorithm
>
>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> --
> Jim Kukunas
> Intel Open Source Technology Center
Aha, that makes sense now. (Neil; I meant SSSE3. Obviously SSSE3 +
RAID6 becomes SSSE6 ;))
Perhaps I can cherry pick these patches and apply them to 3.4.
Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-05-23 0:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-22 21:27 SSSE6 / RAID6 Mathias Burén
2012-05-22 22:18 ` H. Peter Anvin
2012-05-22 23:37 ` Mathias Burén
2012-05-23 0:26 ` Jim Kukunas
2012-05-23 0:30 ` Mathias Burén
2012-05-23 0:20 ` NeilBrown
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.