Re: cttest-0.1

2002-07-06 Thread Patrick Schaaf
if (hashsize%2 == 0) hashsize--; Just so you don't underestimate a requirement ... :-) Underestimating is desirable here. User gives upper bound - observe it! (assume we are checking positive numbers ;-) We are, the variable in question, is unsigned. Actually, I now have this nice

Re: cttest-0.1

2002-07-06 Thread Joakim Axelsson
2002-07-06 17:23:42+0200, Patrick Schaaf [EMAIL PROTECTED] - Hi all, I have released http://bei.bof.de/cttest-0.2.tar.gz. It is now easier to modify the list of sizes and hashes that should be plotted, and there's timing code for the hash functions, together with average used list length

Re: cttest-0.1

2002-07-06 Thread Joakim Axelsson
2002-07-06 23:14:51+0200, Joakim Axelsson [EMAIL PROTECTED] - Also with this idea of using power of (^), we tested the abcd hash using power of instead of just adding the values up: static u32 hash_abcd_power(struct ct_key *key) { u32 res; PER_HASH_TIMER_1(

Re: cttest-0.1

2002-07-06 Thread Svenning Sorensen
At 01:16 07-07-2002, Joakim Axelsson wrote: I guess you all are begining to get a little tired of my mails :-). Anyhow on our little misstake what ^ really does in C (should have known better :-). I guess I seldom use xor in my c-code.) res ^= 0x47441DFB ^ 0x57655A7D is kinda of useless then. So

Re: cttest-0.1

2002-07-05 Thread Martin Josefsson
Hi, I've also done some plotting. about 400 student-machines behind router, it's summer now so there's not as much traffic as the rest of the year, only ~28k entries. hashsize is 16384 with default ip_conntrack_max of 131072. http://gandalf.hjorten.nu/kna-gw/ I added 16384 as size in

Re: cttest-0.1

2002-07-05 Thread Joakim Axelsson
2002-07-03 06:15:02+0200, Joakim Axelsson [EMAIL PROTECTED] - I collected this data 5am during absolut low time. I'll try again later at primetime :-) Here is a new stat with about 85K entries: http://aaricia.hemmet.chalmers.se/~gozem/cttest-2002-07-05_1739/ Look at the 131072 original

Re: cttest-0.1

2002-07-05 Thread Joakim Axelsson
2002-07-05 18:54:15+0200, Patrick Schaaf [EMAIL PROTECTED] - - make the hash bucket count at least individible by 2. This should go as a strong suggestion into the documentation, and should be implemented in the default initialization code. Anybody volunteering for one or the other?

Re: cttest-0.1

2002-07-05 Thread Andrew Smith
2002-07-05 18:54:15+0200, Patrick Schaaf [EMAIL PROTECTED] - - make the hash bucket count at least individible by 2. This should go as a strong suggestion into the documentation, and should be implemented in the default initialization code. Anybody volunteering for one or the other?

Re: cttest-0.1

2002-07-02 Thread Joakim Axelsson
2002-07-02 23:52:06+0200, Patrick Schaaf [EMAIL PROTECTED] - Hi all, I have put a tarball at http://bei.bof.de/cttest-0.1.tar.gz Unpack, look at README, and reproduce the gnuplot pictures I have mentioned earlier today (at http://bei.bof.de/ex1/) I would love to see results from other