Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756453Ab3ENCf5 (ORCPT ); Mon, 13 May 2013 22:35:57 -0400 Received: from ringil.hengli.com.au ([178.18.16.133]:58595 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755783Ab3ENCfz (ORCPT ); Mon, 13 May 2013 22:35:55 -0400 Date: Tue, 14 May 2013 10:35:26 +0800 From: Herbert Xu To: Tim Chen Cc: "H. Peter Anvin" , "David S. Miller" , "Martin K. Petersen" , James Bottomley , Matthew Wilcox , Jim Kukunas , Keith Busch , Erdinc Ozturk , Vinodh Gopal , James Guilford , Wajdi Feghali , Jussi Kivilinna , linux-kernel , linux-crypto@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v3 0/4] Patchset to use PCLMULQDQ to accelerate CRC-T10DIF checksum computation Message-ID: <20130514023526.GB19306@gondor.apana.org.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1359 Lines: 30 On Wed, May 01, 2013 at 12:52:47PM -0700, Tim Chen wrote: > Currently the CRC-T10DIF checksum is computed using a generic table lookup > algorithm. By switching the checksum to PCLMULQDQ based computation, > we can speedup the computation by 8x for checksumming 512 bytes and > even more for larger buffer size. This will improve performance of SCSI > drivers turning on the CRC-T10IDF checksum. In our SSD based experiments, > we have seen increase disk throughput by 3.5x with T10DIF for 512 byte > block size. > > This patch set provides the x86_64 routine using PCLMULQDQ instruction > and switches the crc_t10dif library function to use the faster PCLMULQDQ > based routine when available. > > Tim > > v3 > 1. Update the crct10dif crypto transform used in the crct10dif library in a safe way. > 2. Load the accelerated t10dif transform for the x86_64 cpus that support it. > 3. Added generic crct10dif crypto transform. All applied. Thanks Tim. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/