Re: SO_REUSEPORT?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tom Herbert <therbert@...>
Cc: Stephen Hemminger <stephen.hemminger@...>, <netdev@...>
Date: Thursday, August 7, 2008 - 4:14 pm

> I'm not sure that's applicable for us since the server application and

Well, if you _really_ want the load spread, you may need to use a 
multiqueue (at least inbound if not also later outbound) interface, 
"know" how the NIC will hash and then have N distinct port numbers each 
assigned to a LISTEN endpoint.  The old song and dance about making an N 
CPU system look as much like N single-CPU systems and all that...

Unless there are NICs you can "tell" where to send the interrupts, which 
IMO is preferable - I have a preference for the application/scheduler 
telling "networking" where to work rather than networking (or the NIC) 
telling the scheduler where to run a thread - the archives of either 
here or netnews will probalby pull-up stuff were I've talked about 
Inbound Packet Scheduling (IPS) vs Thread Optimized Packet Scheduling 
(TOPS) and limitations of simplistic address hashing to pick a 
queue/processor/whatnot :)

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SO_REUSEPORT?, Tom Herbert, (Thu Aug 7, 12:57 pm)
Re: SO_REUSEPORT?, Rémi Denis-Courmont, (Thu Aug 7, 1:09 pm)
Re: SO_REUSEPORT?, Tom Herbert, (Thu Aug 7, 1:58 pm)
Re: SO_REUSEPORT?, Rick Jones, (Thu Aug 7, 2:17 pm)
Re: SO_REUSEPORT?, Stephen Hemminger, (Thu Aug 7, 3:03 pm)
Re: SO_REUSEPORT?, Tom Herbert, (Thu Aug 7, 3:43 pm)
Re: SO_REUSEPORT?, Rick Jones, (Thu Aug 7, 4:14 pm)
Re: SO_REUSEPORT?, Tom Herbert, (Thu Aug 7, 7:05 pm)
Re: SO_REUSEPORT?, Rick Jones, (Thu Aug 7, 7:28 pm)