Saw a presentation at Shmoocon 2013 - C10M Defending The Internet At Scale! on tecniques on how to support 10 million concurrent connections. Thought this group would find it interesting. Has anyone here had experience with building the TCP/IP stack in user space? On a sidenote the PF_RING architecture looks a lot like the Disruptor's ring buffer.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.
Last year I worked with a client and we scaled a single server to 1 million concurrent connections with async programming in Java and some sensible kernel tuning. I've heard they have since taken this to over 5 million concurrent connections.
BTW Open Onload is an open source implementation.
> Building a solid TCP stack is real work though. In our case we wanted to do
> that anyway but more generally there seems to be a place for a good open
> source userspace one in the world. Maybe Snabb Switch will grow one one
> day...
I'd be interested in hearing your approach here especially around how
you present the stack to the application. E.g. the OpenOnload
approach is to replace the standard C library so that you can stick to
your existing Linux/Posix API (select/poll/epoll/read/write), which is
quite nice for retrofitting OpenOnload into existing applications.
An open source TCP/IP stack for the Intel 82599 would be a very cool
thing to have.
I'd be interested in hearing your approach here especially around howyou present the stack to the application. E.g. the OpenOnload
approach is to replace the standard C library so that you can stick to
your existing Linux/Posix API (select/poll/epoll/read/write), which is
quite nice for retrofitting OpenOnload into existing applications.
--
Open Onload is such a user space stack. http://www.openonload.org/
I've benchmarked the Solareflare cards with this stacck and it much lower latency and higher throughput than a standard Intel cards and the Linux kernel stack.
Does the Open onload's userspace TCP stack can be used on any platform running on Linux. Looks like it is designed to work only with the Solarflare NIC. Am I missing anything?If it is tightly coupled with their NIC, then it is not quite an open source on.
I am trying to figure out an open source user space TCP which works with multi process mode like Nginx. The rump kernel does not support that yet.
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.