linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
@ 2016-08-02 23:28 Gayatri Kammela
  2016-08-03  5:44 ` AW: " Markus Stockhausen
  0 siblings, 1 reply; 4+ messages in thread
From: Gayatri Kammela @ 2016-08-02 23:28 UTC (permalink / raw)
  To: linux-raid
  Cc: shli, linux-kernel, hpa, james.t.kukunas, fenghua.yu, megha.dey,
	ravi.v.shankar, Gayatri Kammela

This is the patch set for adding AVX512 optimized gen_syndrome
and recovery functions.

Optimization of RAID6 using AVX512 instructions should improve the
RAID6 performance.These patches are tested and observed the improvement
in performance.

Gayatri Kammela (4):
  lib/raid6: Add AVX512 optimized gen_syndrome functions
  lib/raid6: Add AVX512 optimized recovery functions
  lib/raid6/test/Makefile: Add avx512 gen_syndrome and recovery
    functions
  (DO NOT APPLY) lib/raid6: Add unroll by 8 to AVX512 optimized 
    gen_syndrome functions

 arch/x86/Makefile        |   5 +-
 include/linux/raid/pq.h  |   5 +
 lib/raid6/Makefile       |   2 +-
 lib/raid6/algos.c        |  13 ++
 lib/raid6/avx512.c       | 466 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/raid6/recov_avx512.c | 335 ++++++++++++++++++++++++++++++++++
 lib/raid6/test/Makefile  |   5 +-
 lib/raid6/x86.h          |  10 +
 8 files changed, 837 insertions(+), 4 deletions(-)
 create mode 100644 lib/raid6/avx512.c
 create mode 100644 lib/raid6/recov_avx512.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
  2016-08-02 23:28 [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions Gayatri Kammela
@ 2016-08-03  5:44 ` Markus Stockhausen
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Stockhausen @ 2016-08-03  5:44 UTC (permalink / raw)
  To: Gayatri Kammela, linux-raid
  Cc: shli, linux-kernel, hpa, james.t.kukunas, fenghua.yu, megha.dey,
	ravi.v.shankar

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

> Von: linux-raid-owner@vger.kernel.org [linux-raid-owner@vger.kernel.org]" im Auftrag von "Gayatri Kammela [gayatri.kammela@intel.com]
> Gesendet: Mittwoch, 3. August 2016 01:28
> An: linux-raid@vger.kernel.org
> Cc: shli@kernel.org; linux-kernel@vger.kernel.org; hpa@zytor.com; james.t.kukunas@linux.intel.com; fenghua.yu@intel.com; megha.dey@linux.intel.com; ravi.v.shankar@intel.com; Gayatri Kammela
> Betreff: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
> 
> This is the patch set for adding AVX512 optimized gen_syndrome
> and recovery functions.
> 
> Optimization of RAID6 using AVX512 instructions should improve the
> RAID6 performance.These patches are tested and observed the improvement
> in performance.

Hi Gayatri,

as you already implemented the gen_syndrome() functions it should be a piece
of cake to add the xor_syndrome() ones. Only if these are implemented we can
make use of Read-Modify-Write operations if the kernel chooses an processor 
optimized algorithm. They are already in the SSE2 path but are still missing from 
the current AVX2 implementation.

More infos here:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fe5cbc6e06c7d8b3a86f6f5491d74766bb5c2827
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a582564b24bec0443b5c5ff43ee6d1258f8bd658
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0e833e697bcf4c2f3f7fb9fce39d08cd4439e5d7

It would give the final touch to the patches.

Best regards.

Markus

=

[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 1650 bytes --]

****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497

****************************************************************************

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
  2016-08-02 21:08 ` Kammela, Gayatri
@ 2016-08-02 22:03   ` Shaohua Li
  0 siblings, 0 replies; 4+ messages in thread
From: Shaohua Li @ 2016-08-02 22:03 UTC (permalink / raw)
  To: Kammela, Gayatri; +Cc: linux-raid, linux-kernel

On Tue, Aug 02, 2016 at 09:08:39PM +0000, Kammela, Gayatri wrote:
> Hi shaohua,
> I am wondering if there are any comments on this patch series ?

I didn't see the patches in my mailbox. please resend.

> Thanks,
> Gayatri Kammela
> 
> -----Original Message-----
> From: Kammela, Gayatri 
> Sent: Friday, July 8, 2016 12:16 PM
> To: linux-raid@vger.kernel.org
> Cc: shli@kernel.org; linux-kernel@vger.kernel.org; Kammela, Gayatri <gayatri.kammela@intel.com>
> Subject: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
> 
> This is the patch set for adding AVX512 optimized gen_syndrome and recovery functions.
> 
> Optimization of RAID6 using AVX512 instructions should improve the
> RAID6 performance.These patches are tested and observed the improvement in performance.
> 
> Gayatri Kammela (4):
>   lib/raid6: Add AVX512 optimized gen_syndrome functions
>   lib/raid6: Add AVX512 optimized recovery functions
>   lib/raid6/test/Makefile: Add avx512 gen_syndrome and recovery
>     functions
>   lib/raid6: Add unroll by 8 to AVX512 optimized gen_syndrome functions
> 
>  arch/x86/Makefile        |   5 +-
>  include/linux/raid/pq.h  |   5 +
>  lib/raid6/Makefile       |   2 +-
>  lib/raid6/algos.c        |  13 ++
>  lib/raid6/avx512.c       | 466 +++++++++++++++++++++++++++++++++++++++++++++++
>  lib/raid6/recov_avx512.c | 335 ++++++++++++++++++++++++++++++++++
>  lib/raid6/test/Makefile  |   5 +-
>  lib/raid6/x86.h          |  10 +
>  8 files changed, 837 insertions(+), 4 deletions(-)  create mode 100644 lib/raid6/avx512.c  create mode 100644 lib/raid6/recov_avx512.c
> 
> --
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions
       [not found] <1468005353-26194-1-git-send-email-gayatri.kammela@intel.com>
@ 2016-08-02 21:08 ` Kammela, Gayatri
  2016-08-02 22:03   ` Shaohua Li
  0 siblings, 1 reply; 4+ messages in thread
From: Kammela, Gayatri @ 2016-08-02 21:08 UTC (permalink / raw)
  To: linux-raid; +Cc: shli, linux-kernel

Hi shaohua,
I am wondering if there are any comments on this patch series ?

Thanks,
Gayatri Kammela

-----Original Message-----
From: Kammela, Gayatri 
Sent: Friday, July 8, 2016 12:16 PM
To: linux-raid@vger.kernel.org
Cc: shli@kernel.org; linux-kernel@vger.kernel.org; Kammela, Gayatri <gayatri.kammela@intel.com>
Subject: [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions

This is the patch set for adding AVX512 optimized gen_syndrome and recovery functions.

Optimization of RAID6 using AVX512 instructions should improve the
RAID6 performance.These patches are tested and observed the improvement in performance.

Gayatri Kammela (4):
  lib/raid6: Add AVX512 optimized gen_syndrome functions
  lib/raid6: Add AVX512 optimized recovery functions
  lib/raid6/test/Makefile: Add avx512 gen_syndrome and recovery
    functions
  lib/raid6: Add unroll by 8 to AVX512 optimized gen_syndrome functions

 arch/x86/Makefile        |   5 +-
 include/linux/raid/pq.h  |   5 +
 lib/raid6/Makefile       |   2 +-
 lib/raid6/algos.c        |  13 ++
 lib/raid6/avx512.c       | 466 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/raid6/recov_avx512.c | 335 ++++++++++++++++++++++++++++++++++
 lib/raid6/test/Makefile  |   5 +-
 lib/raid6/x86.h          |  10 +
 8 files changed, 837 insertions(+), 4 deletions(-)  create mode 100644 lib/raid6/avx512.c  create mode 100644 lib/raid6/recov_avx512.c

--
1.9.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-03  6:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 23:28 [PATCH 0/4] Add AVX512 optimized gen_syndrome and recovery functions Gayatri Kammela
2016-08-03  5:44 ` AW: " Markus Stockhausen
     [not found] <1468005353-26194-1-git-send-email-gayatri.kammela@intel.com>
2016-08-02 21:08 ` Kammela, Gayatri
2016-08-02 22:03   ` Shaohua Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).