Improving Linux networking performance
lwn.net
lwn.net
Then I go back to adding another layer of abstraction to my bloated Java code and die a little inside.
p.s. not undermining the need to optimize and all
I don't know what exactly the 32ns measurement is from, sounds similar to the "in-page" figures on the above page.
https://www.youtube.m/wco?v=D0atch9jdbS6oSI
Facebook had a job posting that showed up on HN for a position to help speed up Linux's networking stack. While I doubt these improvements will surpass the kernel bypassing model, I'm glad a developer has decided to tackle this head on and help overall efficiency.
It is super fast, but also lower latency. Many of the features used in lower latency environments like busy polling have been slowly making their way upstream[5]. I think Linux will get pretty close to the userspace kernel bypass stuff, and this is coming from a guy who works in a low latency environment for $REAL_JOB.
[1] http://www.openonload.org/
[2] http://www.mellanox.com/page/software_vma?mtag=vma
[3] https://www.myricom.com/support/downloads/dbl.html
[4] http://www.intel.com/content/www/us/en/intelligent-systems/i...
https://github.com/SnabbCo/snabbswitch/wiki
Hypervisor, Kernel, LuaJIT, Userspace. Amazing!
It's 10 years since motherboard integrated 1G became commonplace in regular PCs, same for 10G is nowhere in sight...
It's easier for a lot of places to use twinax with 10 gig SFP+ switches rather than going copper 10 gig. That is definitely not going to trickle down to the consumer level.
It will probably be another 1-2 years before 10 gig is ubiquitous at the server level, and another 2-3 years after that before it is commonly on consumer equipment. Or maybe it never will be, and things will go in another direction.
I might be missing your definition of tor. The juniper QFX5100 series has the 48T which does 48x 10GBASE-T plus 6x QSFP. the 5100-96S does 96x SFP+ and 8x QSFP. There are plenty of other cheap merchant silicon platforms that look similar. Personlly Im happy with DAC on SFP+ ports.
List prices are utter nonsense for switches, but the QFX does come in above the other two I mentioned. Perhaps because of its fibre-channely nature that no one (I hope) cares about.
QFX5100-48T: $24,000 Nexus 3064-T: $13,000 7050T-52: $20,000
Still, any of these would work if you get the right deal. I could see an advantage for 10g copper if I had mixed racks where not all of my hosts needed 10g on the server side, but that's a big premium to pay over 1g TOR if you aren't using lots of 10 gig ports.
For me, I just use copper on 1 gig racks and DAC on 10 gig racks. So far, so good.
[1] http://www.supermicro.com/products/motherboard/Xeon/C600/X9S...
Would any consumers be able to use this, or would it only make sense with a commercial switch (probably for a shared connection for an apartment complex or similar?)?
What would I have to do at home to take advantage of it?
Once 4k or 8k streaming becomes more common, sure then you'd like to have full Gbit where max bitrate would be 340Mbit - but for even decent full-hd streaming - nobody needs more than 50Mbit (in real throughput that is).
Higher speed things are more important on servers that have to handle more and more connections, and the end of this horizontal expansion is not in sight. Everybody starts using the internet for more and more things, and this all has to end up on servers that have to handle connections from millions of clients.
I'm definitely interested to see how other operating systems handle this, though. In particular: Windows (is networking in user-mode?) and Solaris-likes.
1 http://quigon.bsws.de/papers/2009/eurobsdcon-faster_packets/
Because of Ethernet's mandatory minimum inter-packet spacing.
So what is your shorter/faster ifg buying in practice.
Looks like jasper's recommended way is to improve or find a way to bypass the memory managment (slab allocation) subsystem.
There should be a way to tack on a more network optimized memory management layer or allocator onto the regular one.
Could turn out be a good research project.
40G has been out for a few years but it's fairly expensive since it uses four lanes. 25G will be the best option if you need something faster than 10G IMO.
I think this is largely being driven by the server folk, who want to connect at 25G instead of 10.
There may be latency improvements inherent from design improvements within newer packet processing / switching ASICs themselves, just like Intel's tick/tock. For example, NASDAQ offers a 10G handoff to their 40G infrastructure which is 5-9us faster because of topology and equipment upgrades [1].
The nice thing about 40G is that it is compatible with 10G so you can selectively upgrade your switches to 40G but keep your 10G NICs, using these neato QSFP+->SFP+ breakout cables [2].
[1] http://www.nasdaqtrader.com/content/Productsservices/trading...