lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 17 Jul 2009 11:05:58 -0700
From:	Tom Herbert <therbert@...gle.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH v2] Receive Packet Steering

On Thu, Jul 16, 2009 at 7:48 PM, David Miller <davem@...emloft.net> wrote:
>
> From: Tom Herbert <therbert@...gle.com>
> Date: Tue, 14 Jul 2009 16:28:01 -0700
>
> > Using the Toeplitz hash in steering lookup has given us about 10% more
> > maximum pps (2 different NICs), and we haven't really noticed negative
> > effects because of the extra descriptor overhead-- so I'm not going to
> > give up on it too easily!
>
> Do you have any idea why?  Does Toeplitz distribute better?
> If so, that could be merely because either:
>
> 1) Our modulus avoidance scheme somehow decreases the distribution
>   features of the hash
>
> 2) The way we feed data into the hash has a similar effect
>
> It's worth checking out.

The advantage is that Toeplitz, or any reasonable device provided
hash, allows packet steering to be done without taking any cache
misses on the packet itself.  In particular, this helps with a NIC
that just provides Toeplitz hash (without multiQ),
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ