Re: SO_REUSEPORT?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stephen Hemminger <stephen.hemminger@...>
Cc: Rick Jones <rick.jones2@...>, <netdev@...>
Date: Thursday, August 7, 2008 - 3:43 pm

On Thu, Aug 7, 2008 at 12:03 PM, Stephen Hemminger
<stephen.hemminger@vyatta.com> wrote:

I'm not sure that's applicable for us since the server application and
networking will max out all the CPUs on host anyway; one way or
another we need to dispatch the work of incoming connections to
threads on different CPUs.  If we do this in user space and do all
accepts in one thread, the CPU of that  thread becomes the bottleneck
(we're accepting about 40,000 connections per second).  If we have
multiple accept threads running on different CPUs, this helps some,
but the load is spread unevenly across the CPUs and we still can't get
the highest connection rate.  So it seems we're looking for a method
that distributes the incoming connection load across CPUs pretty
evenly.

Tom




But we need to spread the load across multiple threads on different CPUs
--
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)