From mboxrd@z Thu Jan 1 00:00:00 1970 From: ard.biesheuvel@linaro.org (Ard Biesheuvel) Date: Thu, 25 Jun 2015 10:50:56 +0200 Subject: [PATCH] md/raid6: delta syndrome for ARM NEON In-Reply-To: References: <1435164213-25410-1-git-send-email-ard.biesheuvel@linaro.org> <12EF8D94C6F8734FB2FF37B9FBEDD1735FCC7052@EXCHANGE.collogia.de> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 25 June 2015 at 10:30, Ard Biesheuvel wrote: > On 25 June 2015 at 08:32, Markus Stockhausen wrote: >>> Von: Ard Biesheuvel [ard.biesheuvel at linaro.org] >>> Gesendet: Mittwoch, 24. Juni 2015 18:43 >>> An: linux-arm-kernel at lists.infradead.org; hpa at zytor.com >>> Cc: Ard Biesheuvel; Markus Stockhausen; Neil Brown >>> Betreff: [PATCH] md/raid6: delta syndrome for ARM NEON >>> >>> This implements XOR syndrome calculation using NEON intrinsics. >>> As before, the module can be built for ARM and arm64 from the >>> same source. >> >>> Relative performance on a Cortex-A57 based system: >>> >>> raid6: int64x1 gen() 905 MB/s >>> raid6: int64x1 xor() 881 MB/s >>> raid6: int64x2 gen() 1343 MB/s >>> raid6: int64x2 xor() 1286 MB/s >>> raid6: int64x4 gen() 1896 MB/s >>> raid6: int64x4 xor() 1321 MB/s >>> raid6: int64x8 gen() 1773 MB/s >>> raid6: int64x8 xor() 1165 MB/s >>> raid6: neonx1 gen() 1834 MB/s >>> raid6: neonx1 xor() 1278 MB/s >>> raid6: neonx2 gen() 2528 MB/s >>> raid6: neonx2 xor() 1942 MB/s >>> raid6: neonx4 gen() 2888 MB/s >>> raid6: neonx4 xor() 2334 MB/s >>> raid6: neonx8 gen() 2957 MB/s >>> raid6: neonx8 xor() 2232 MB/s >>> raid6: using algorithm neonx8 gen() 2957 MB/s >>> raid6: .... xor() 2232 MB/s, rmw enabled >>> >> >> Nice to see that the placeholders get filled. >> Did you have a chance to do some real tests? >> > > Hello Markus, > > I haven't done any real world testing yet. Can you recommend any test > tools or test suites in particular? > I am assuming you are asking about benchmarks, right? The code passes the raid6test tests, so the correctness part should be covered (although more testing is always better, of course) -- Ard.