Date: Mon, 22 Jul 2002 16:36:30 -0700 From: Luigi Rizzo <rizzo@icir.org> To: Sean Chittenden <sean@chittenden.org> Cc: ipfw@FreeBSD.ORG, net@FreeBSD.ORG Subject: Re: Increasing the hash table size for dummynet... Message-ID: <20020722163630.A70574@iguana.icir.org> In-Reply-To: <20020722224653.GL88755@ninja1.internal>; from sean@chittenden.org on Mon, Jul 22, 2002 at 03:46:53PM -0700 References: <20020722224221.GJ88755@ninja1.internal> <20020722224653.GL88755@ninja1.internal>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 22, 2002 at 03:46:53PM -0700, Sean Chittenden wrote: > > [Sorry for the cross post: I don't know where the dummynet guru's live] > > > > I have a situation where I'm rate shaping a LARGE number of > > concurrent TCP connections, however I've run into a slight > > problem/limitation: dummynet has a max hash table size of 1024 and I'm > > currently handling about 8-17K in TCP connections in a single queue. > > :-/ I quickly looked over the hash algorithm and couldn't see any > > reason why the max size couldn't be increased beyond 1024. Could > > someone comment on the attached? -sc the only thing to verify is that the hash function distributes the sessions well among the available slots. I have not looked too carefully at it, actually if you can provide (privately) the output of "ipfw pipe show" that would be an interesting data set. We are using hash tables with IP addresses in 4 places: dummynet pipes, ipfw dynamic rules, ip_flow.c and libalias. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020722163630.A70574>