Andre,
I wrote a test program that hoists the hash logic outside of the kernel.
There may be bugs in it, it was written quickly this AM before coffee.
What the program does is allocate a number "fake sockets" set them all
up to run against port 80, then inlines the netinet hash function.
It
On 07.12.2012 18:31, Alfred Perlstein wrote:
It's good to put the power or two thing in its own function.
That said, about the comment changes, hash size changes and auto tuning
changes respectively
Comments: Dude... It's not like removing the helpful comments is going to speed
up either
It's good to put the power or two thing in its own function.
That said, about the comment changes, hash size changes and auto tuning
changes respectively
Comments: Dude... It's not like removing the helpful comments is going to speed
up either compiling this code or how fast it can proces
On 28.11.2012 04:04, Alfred Perlstein wrote:
On 11/27/12 2:12 PM, Andre Oppermann wrote:
On 27.11.2012 04:04, Alfred Perlstein wrote:
Author: alfred
Date: Tue Nov 27 03:04:24 2012
New Revision: 243594
URL: http://svnweb.freebsd.org/changeset/base/243594
Log:
Auto size the tcbhashsize struct
On 11/27/12 2:12 PM, Andre Oppermann wrote:
On 27.11.2012 04:04, Alfred Perlstein wrote:
Author: alfred
Date: Tue Nov 27 03:04:24 2012
New Revision: 243594
URL: http://svnweb.freebsd.org/changeset/base/243594
Log:
Auto size the tcbhashsize structure based on max sockets.
While here, also
On 27.11.2012 04:04, Alfred Perlstein wrote:
Author: alfred
Date: Tue Nov 27 03:04:24 2012
New Revision: 243594
URL: http://svnweb.freebsd.org/changeset/base/243594
Log:
Auto size the tcbhashsize structure based on max sockets.
While here, also make the code that enforces power-of-two mor
Author: alfred
Date: Tue Nov 27 03:04:24 2012
New Revision: 243594
URL: http://svnweb.freebsd.org/changeset/base/243594
Log:
Auto size the tcbhashsize structure based on max sockets.
While here, also make the code that enforces power-of-two more
forgiving, instead of just resetting to 512