Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-13 Thread Kenneth Lee
On Sat, Aug 11, 2018 at 11:26:48PM +0800, Kenneth Lee wrote: > Date: Sat, 11 Aug 2018 23:26:48 +0800 > From: Kenneth Lee > To: Jean-Philippe Brucker , Kenneth Lee > , Jerome Glisse > CC: Herbert Xu , "k...@vger.kernel.org" > , Jonathan Corbet , Greg > Kroah-Hartman , Zaibo Xu , > "linux-...@v

RE: [PATCH] Performance Improvement in CRC16 Calculations.

2018-08-13 Thread David Laight
From: Jeff Lien > Sent: 10 August 2018 20:12 > > This patch provides a performance improvement for the CRC16 calculations done > in read/write > workloads using the T10 Type 1/2/3 guard field. For example, today with > sequential write > workloads (one thread/CPU of IO) we consume 100% of the C

RE: [PATCH] Performance Improvement in CRC16 Calculations.

2018-08-13 Thread David Laight
> A more interesting version would be to generate the lookup table > for a byte followed by 3 zero bytes. > You could then run four separate register dependency chains using the > same 256 entry lookup table. Not sure that works with a table lookup :-( David - Registered Address Lakeside

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread James Bottomley
> Ample information, including documentation, installation > instructions, > and project details, is available at: > >   * https://www.wireguard.com/ >   * https://www.wireguard.com/papers/wireguard.pdf In your paper you say this: > Finally, WireGuard is cryptographically opinionated. It intenti

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread Willy Tarreau
On Mon, Aug 13, 2018 at 08:40:11AM -0700, James Bottomley wrote: > Could we please build planning for this crypto failure day into > wireguard now rather than have to do it later? It doesn't need to be > full cipher agility, it just needs to be the ability to handle multiple > protocol versions ..

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread Jason A. Donenfeld
Hi James, On 8/13/18, James Bottomley wrote: >> Ample information, including documentation, installation >> instructions, >> and project details, is available at: >> >> * https://www.wireguard.com/ >> * https://www.wireguard.com/papers/wireguard.pdf > > In your paper you say this: > >> Finall

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread James Bottomley
On Mon, 2018-08-13 at 10:02 -0700, Jason A. Donenfeld wrote: > > Could we please build planning for this crypto failure day into > > wireguard now rather than have to do it later?  It doesn't need to > > be full cipher agility, it just needs to be the ability to handle > > multiple protocol version

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread Jason A. Donenfeld
> but it's very hard for a flow classifier because you have to The construction and identifier strings might not obviously help with the extremely narrow idea you've brought up, but it is very important for safely introducing additional versions. Namely, it prevents against cross-protocol key reus

Re: [PATCH v1 0/3] WireGuard: Secure Network Tunnel

2018-08-13 Thread James Bottomley
On Mon, 2018-08-13 at 10:55 -0700, Jason A. Donenfeld wrote: > > but it's very hard for a flow classifier because you have to > > The construction and identifier strings might not obviously help with > the extremely narrow idea you've brought up, but it is very important > for safely introducing a

RE: [PATCH] Performance Improvement in CRC16 Calculations.

2018-08-13 Thread Jeffrey Lien
Joe, Doug, Nicolas, The CONFIG patch change suggested by Joe and Doug makes sense to do. I'll do some additional testing to verify the performance on my systems. Jeff Lien -Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Saturday, August 11, 2018 10:06 AM To: d

Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-13 Thread Jerome Glisse
On Mon, Aug 13, 2018 at 05:29:31PM +0800, Kenneth Lee wrote: > > I made a quick change basing on the RFCv1 here: > > https://github.com/Kenneth-Lee/linux-kernel-warpdrive/commits/warpdrive-v0.6 > > I just made it compilable and not test it yet. But it shows how the idea is > going to be. > > T

Re: [PATCH] Performance Improvement in CRC16 Calculations.

2018-08-13 Thread Tim Chen
On 08/10/2018 12:12 PM, Jeff Lien wrote: > This patch provides a performance improvement for the CRC16 calculations done > in read/write > workloads using the T10 Type 1/2/3 guard field. For example, today with > sequential write > workloads (one thread/CPU of IO) we consume 100% of the CPU beca

[GIT PULL] random updates for 4.19

2018-08-13 Thread Theodore Y. Ts'o
The following changes since commit 81e69df38e2911b642ec121dec319fad2a4782f3: random: mix rdrand with entropy sent in from userspace (2018-07-17 21:32:36 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git tags/random_for_linus for

Re: [RFC PATCH 0/7] A General Accelerator Framework, WarpDrive

2018-08-13 Thread Kenneth Lee
On Mon, Aug 13, 2018 at 03:23:01PM -0400, Jerome Glisse wrote: > Received: from popscn.huawei.com [10.3.17.45] by Turing-Arch-b with POP3 > (fetchmail-6.3.26) for (single-drop); Tue, 14 Aug 2018 > 03:30:02 +0800 (CST) > Received: from DGGEMM401-HUB.china.huawei.com (10.3.20.209) by > DGGEML402-