[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160114175304.161ff0af@lxorguk.ukuu.org.uk>
Date: Thu, 14 Jan 2016 17:53:04 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Tom Herbert <tom@...bertland.com>
Cc: Haiyang Zhang <haiyangz@...rosoft.com>,
David Miller <davem@...emloft.net>,
"vkuznets@...hat.com" <vkuznets@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
KY Srinivasan <kys@...rosoft.com>,
"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"eric.dumazet@...il.com" <eric.dumazet@...il.com>
Subject: Re: [PATCH net-next] hv_netvsc: don't make assumptions on struct
flow_keys layout
> These results for Toeplitz are not plausible. Given random input you
> cannot expect any hash function to produce such uniform results. I
> suspect either your input data is biased or how your applying the hash
> is.
>
> When I run 64 random IPv4 3-tuples through Toeplitz and Jenkins I get
> something more reasonable:
IPv4 address patterns are not random. Nothing like it. A long long time
ago we did do a bunch of tuning for network hashes using big porn site
data sets. Random it was not.
It's probably hard to repeat that exercise now with geo specific routing,
and all the front end caches and redirectors on big sites but I'd
strongly suggest random input is not a good test, and also that you need
to worry more about hash attacks than perfect distributions.
Alan
Powered by blists - more mailing lists