Subject: RE: multi-core router
To: Bill Stouder-Studenmund <wrstuden@NetBSD.org>
From: De Zeurkous <firstname.lastname@example.org>
Date: 11/03/2007 21:19:10
On Sat, November 3, 2007 20:50, Bill Stouder-Studenmund wrote:
> 1) How would you design a router to make use of multiple cores. We've
> talked about different multi-core setups for running the TCP stack on one
> core and IP on another and so on to sustain 10 GigE TCP connections. But
> this case is different in that all we're doing is NAT and forwarding.
Split both stacks and the NATd into if-dependent and if-independent parts,
and run them concurrently -- one instance of the if-independent 'core' to
arbitrate and route and numif instances of the if-dependent part. Then
introduce a tuning option to allocate sockets to threads, like nfsd -n.
Perhaps spin off all software checksumming into seperate threads?
> Take care,