From owner-freebsd-net@FreeBSD.ORG Thu Aug 29 14:08:17 2013 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 57BF4DCD for ; Thu, 29 Aug 2013 14:08:17 +0000 (UTC) (envelope-from btv1==9536076923e==tgubatayao@barracuda.com) Received: from bsf01.barracuda.com (bsf01.barracuda.com [64.235.145.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 327EE2A36 for ; Thu, 29 Aug 2013 14:08:17 +0000 (UTC) X-ASG-Debug-ID: 1377784346-03dc6652b2ad260005-oFaieN Received: from bn-scl-fe06.Cudanet.local (mail.barracuda.com [10.8.1.48]) by bsf01.barracuda.com with ESMTP id Y4hkEaZuDp7hhtlV (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO); Thu, 29 Aug 2013 06:52:28 -0700 (PDT) X-Barracuda-Envelope-From: tgubatayao@barracuda.com Received: from bn-scl-be03.Cudanet.local (10.8.1.54) by bn-scl-fe06.Cudanet.local (10.8.1.48) with Microsoft SMTP Server (TLS) id 8.3.298.1; Thu, 29 Aug 2013 06:51:19 -0700 Received: from BN-SCL-MBX03.Cudanet.local ([fe80::e5b6:9fef:a4d2:a5ba]) by bn-scl-be03.Cudanet.local ([::1]) with mapi; Thu, 29 Aug 2013 00:28:00 -0700 From: "T.C. Gubatayao" To: Andre Oppermann , Alan Somers Date: Thu, 29 Aug 2013 00:27:59 -0700 Subject: RE: Flow ID, LACP, and igb Thread-Topic: Flow ID, LACP, and igb X-ASG-Orig-Subj: RE: Flow ID, LACP, and igb Thread-Index: Ac6kgE7vX+IaHy2MTXGTTUxllQgr3AAAYtHH Message-ID: References: <521BBD21.4070304@freebsd.org> , <521EE8DA.3060107@freebsd.org> In-Reply-To: <521EE8DA.3060107@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: mail.barracuda.com[10.8.1.48] X-Barracuda-Start-Time: 1377784348 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://bsf01.barracuda.com:8000/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at barracuda.com X-Barracuda-Spam-Score: 0.74 X-Barracuda-Spam-Status: No, SCORE=0.74 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=CN_BODY_332, COMMA_SUBJECT, THREAD_INDEX, THREAD_TOPIC X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.139746 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig== 0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)... 0.60 COMMA_SUBJECT Subject is like 'Re: FDSDS, this is a subject' 0.12 CN_BODY_332 BODY: CN_BODY_332 Cc: Jack F Vogel , "Justin T. Gibbs" , "net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 14:08:17 -0000 > No problem with fnv_hash(). Doesn't it have bad mixing? Good distribution is important since this code= is for load balancing. FNV is also slower compared to most of the newer non-cryptographic hashes, certainly on large keys, but even on small ones. Of course, performance wi= ll vary with the architecture. > While I agree that it is likely that siphash24() is slower if you could a= fford > the time do a test run it would be great to from guess to know. +1 You might want to consider lookup3 too, since it's also readily available i= n the kernel [1]. T.C. [1] http://svnweb.freebsd.org/base/head/sys/libkern/jenkins_hash.c?view=3Dm= arkup=