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 - 7:28 pm

Tom Herbert wrote:

That is where needing to know/control the NIC's hashing comes into play.


All IPS in HP-UX 10.20 was was hash the IP/port numbers and queue based 
on that - this at the handoff between driver and netisr.  The problem 
was if you had a thread of execution servicing more than one connection, 
you would start whipsawing across the processors based on the remote 
addressing.

There are IIRC indeed some NICs where you can give them a finite number 
of tuples and say where each tuple should go.  I'm sure those vendors if 
watching can speak-up :)  That sort of functionality can be useful and 
would address the limitations of ISS/plain NIC header address hashing. 
At least for long-lived connections.  Or perhaps even long-lived LISTEN 
endpoints :)

While you say you are constrained to a single port number, are you 
similarly constrained to a single IP address?


I'm not sure.  Anything is possible.  The nice thing about TOPS in UX 
11.X was/is the lookup was essentially free and didn't involve things 
going across I/O busses.  Start to have to update those tuple mappings 
on the NIC with any frequency and that's the end of that.

rick
--
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)