Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936313AbcLUQig (ORCPT ); Wed, 21 Dec 2016 11:38:36 -0500 Received: from frisell.zx2c4.com ([192.95.5.64]:45935 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935159AbcLUQid (ORCPT ); Wed, 21 Dec 2016 11:38:33 -0500 MIME-Version: 1.0 In-Reply-To: <1482335804.8944.44.camel@edumazet-glaptop3.roam.corp.google.com> References: <20161221032829.3031.qmail@ns.sciencehorizons.net> <1482298164.8944.8.camel@edumazet-glaptop3.roam.corp.google.com> <1482335804.8944.44.camel@edumazet-glaptop3.roam.corp.google.com> From: "Jason A. Donenfeld" Date: Wed, 21 Dec 2016 17:33:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: HalfSipHash Acceptable Usage To: Eric Dumazet Cc: George Spelvin , "Theodore Ts'o" , Andi Kleen , David Miller , David Laight , "Daniel J . Bernstein" , Eric Biggers , Hannes Frederic Sowa , Jean-Philippe Aumasson , kernel-hardening@lists.openwall.com, Linux Crypto Mailing List , LKML , Andy Lutomirski , Netdev , Tom Herbert , Linus Torvalds , Vegard Nossum Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 879 Lines: 22 Hi Eric, On Wed, Dec 21, 2016 at 4:56 PM, Eric Dumazet wrote: > That really was for 1024 bytes blocks, so pretty much useless for our > discussion ? > > Reading your numbers last week, I thought SipHash was faster, but George > numbers are giving the opposite impression. > > I do not have a P4 to make tests, so I only can trust you or George. I'm not sure how George came up with those numbers, but the ones I sent are output from that benchmark function in the last email. I'd be interested in learning this too. As mentioned in the last email, it looks like potential 32-bit issues are really just specific to old Intel chips. Other 32-bit architectures do fine. So, for new kernels, even if somehow there is a tiny performance regression (though I couldn't see one) on old architectures, I really doubt it will affect anybody in practice. Jason