[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1451495979.8255.32.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Wed, 30 Dec 2015 12:19:39 -0500
From: Eric Dumazet <eric.dumazet@...il.com>
To: Xin Long <lucien.xin@...il.com>
Cc: network dev <netdev@...r.kernel.org>, linux-sctp@...r.kernel.org,
mleitner@...hat.com, vyasevic@...hat.com, daniel@...earbox.net,
davem@...emloft.net
Subject: Re: [PATCH net-next 0/5] sctp: use transport hashtable to replace
association's with rhashtable
On Wed, 2015-12-30 at 23:50 +0800, Xin Long wrote:
> besides, this patchset will use transport hashtable to replace
> association hashtable to lookup with rhashtable api. get transport
> first then get association by t->asoc. and also it will make tcp
> style work better.
SCTP already has a hash table, why not simply changing the way items are
hashed into it ?
Sure, storing thousands of sockets in a single hash bucket is not wise.
Switching SCTP to rhashtable at this moment is premature, it is still
moving fast.
--
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