News for hackers. Stuff that matters.
Re:Reimagining the future of routers by signa11 on Wednesday June 08, 2016 @06:19AM (#11861201)
> If all of these routers adopted this, my lowly traffic would have to read from main memory on each route lookup...

yes, but current COTS hardware, via userspace networking can very easily saturate a 10g interface at 64b packet-size / core.

imho, it is the convergence of a large number of advances in COTS hardware over the last couple of years, that has changed the field to mostly a software problem rather than a combination of hardware + software one. when you have proprietary hardware, software tends to be more or less proprietary, which is where most of the networking vendors are currently.

a large number of projects are actively attacking this space e.g. snabb(https://github.com/lukego/snabb), routebricks (http://routebricks.org/) etc.

Re:Reimagining the future of routers by Cerium on Wednesday June 08, 2016 @10:06AM (#11862328)
I wouldn't say that they easily reach 10g on small packets. I got to about 8g before I started to have trouble. It certainly takes some optimization. If I remember correctly Intel's DPDK documents warn that you only have about 80 cycles between packets.
Re:Reimagining the future of routers by signa11 on Wednesday June 08, 2016 @11:09AM (#11862731)
Hmm, for our case I 'program' flows which then end up being used by per-core tasks for forwarding decisions, and with couple of tweaks etc was able to handle line rate across 4 10g interfaces for 64b packets, with one physical core per port.

This is on bare metal though, so might be different experience if you are running stuff on vm's where without sr-iov you would have multiple layers of indirection + context switches before someone can actually do something meaningful to the pdu...

edit: slight clarification added

Re:Reimagining the future of routers by netten on Wednesday June 08, 2016 @11:22PM (#11867348)
can you tell me how you did this, i would really like to try this out.
Re:Reimagining the future of routers by amazon_not on Wednesday June 08, 2016 @07:56AM (#11861570)
> yes, but current COTS hardware, via userspace networking can very easily saturate a 10g interface at 64b packet-size / core.

Citation needed.

Re:Reimagining the future of routers by feld on Wednesday June 08, 2016 @08:00AM (#11861586)
Heard of Netmap or DPDK?
Re:Reimagining the future of routers by amazon_not on Wednesday June 08, 2016 @08:07AM (#11861612)
Yes. As far as I know neither of them can push 15Mpps per core. Please please prove me wrong. I'd love to be.
Re:Reimagining the future of routers by tyingq on Wednesday June 08, 2016 @12:55PM (#11863665)
It's also comparing basically an assembled automobile with a pile of parts. I suspect there will be a well vetted router-centric distribution that leverages DPDK soon, but I don't think that exists yet.
Re:Reimagining the future of routers by bogomipz on Wednesday June 08, 2016 @10:53PM (#11867264)
Huh? All 10 Gig NICs can and do push 14 Mpps using minimum MTU:

http://www.ieee802.org/3/10G_study/public/speed_adhoc/email/...

What are you talking about?

Re:Reimagining the future of routers by signa11 on Wednesday June 08, 2016 @08:10AM (#11861628)
Re:Reimagining the future of routers by reitanqild on Wednesday June 08, 2016 @10:00AM (#11862295)
I hate lmgtfy used for this. Possibly more than Citation needed.