News for hackers. Stuff that matters.
Re:How to receive a million packets per second by jemfinch on Tuesday June 16, 2015 @12:49PM (#9727137)
Who, in 2015, agrees that BSD is better at networking?

I remember these claims being made in the late 90s, and perhaps they were true back then, but it's been 15 years, and I would be surprised if Linux hasn't caught up by virtue of its faster development pace, greater mindshare, and increased corporate/datacenter usage.

So, in all seriousness: what recent, well argued essays/papers can you refer me to so I can understand the claim that BSD networking is still better than Linux in 2015?

Re:How to receive a million packets per second by jedberg on Tuesday June 16, 2015 @12:59PM (#9727214)
There was a good discussion about it on reddit about 10 months back: http://www.reddit.com/r/linux/comments/2d5wzg/linux_network_...

It was also linked to from HN: https://news.ycombinator.com/item?id=8167126

Both have some pretty good sources (and some not so good sources too)

Re:How to receive a million packets per second by vezzy-fnord on Tuesday June 16, 2015 @02:02PM (#9727632)
Facebook made the rounds last year for a job posting that stated the goal was "for the Linux kernel network stack to rival or exceed that of FreeBSD": http://www.phoronix.com/scan.php?page=news_item&px=MTc1NjY
Re:How to receive a million packets per second by tachion on Tuesday June 16, 2015 @02:34PM (#9727856)
One thing - Netmap, that can give you speeds like ~10mpps. It was first developed for FreeBSD and there was a proposition for Linux to adopt the code, but for some reason they havent. Since then, Linux tries to catch up, but its not like FreeBSD/Netmap is staying in one place either.
Re:How to receive a million packets per second by justincormack on Tuesday June 16, 2015 @05:05PM (#9728693)
No. Netmap is available for Linux too and there are other options like dpdk available on both. But that's not the FreeBSD network stack that's an Ethernet stack. The kernel IP stack apparently scales better in FreeBSD but I have not seen recent hard data. Netflix do stream all their content from FreeBSD though.
Re:How to receive a million packets per second by the-dude on Wednesday June 17, 2015 @10:52AM (#9732119)
Whatsapp too IIRC
Re:How to receive a million packets per second by the-dude on Tuesday June 16, 2015 @02:00PM (#9727612)
Re:How to receive a million packets per second by teacup50 on Tuesday June 16, 2015 @01:26PM (#9727384)
http://info.iet.unipi.it/~luigi/netmap/

Shipped in FreeBSD by default, developed for FreeBSD first -- and that's just the bleeding edge side of things.

Re:How to receive a million packets per second by snoman on Tuesday June 16, 2015 @01:44PM (#9727486)
Some of the very same reasons you give for the proposition that network performance having caught up can be used to argue that it may have slowed down (ie feature creep and bloat). So the other question is: who, in 2015 disagrees and what recent, well argued, essays/papers can you refer us to that might demonstrate that anything has changed at all.
Re:How to receive a million packets per second by martin1975 on Tuesday June 16, 2015 @05:19PM (#9728764)
Here's an interesting kqueue v epoll benchmark I picked up somewhere when this topic came up.. http://daemonforums.org/showthread.php?t=2124

Time for a epoll for kqueue swap, and make this performance debate go away for both, Linux and FreeBSD once and for all. No reason for this pissing contest.

Re:How to receive a million packets per second by trentnelson on Wednesday June 17, 2015 @12:30AM (#9730068)
Registered I/O on Windows is about three to four decades ahead, conceptually.

(As in, the stuff that facilitates registered I/O is based on concepts that can be traced back to VMS, released in 1977. Namely, the Irp, plus, a kernel designed around waitable events, not runnable processes.)

Re:How to receive a million packets per second by 15155 on Wednesday June 17, 2015 @12:33AM (#9730079)
kqueue allows more sophisticated action to occur with each call.

epoll requires more syscalls to do the same stuff.

that's not responsible for the differences speed, but at this level syscalls are a meaningful expense.

Re:How to receive a million packets per second by est on Tuesday June 16, 2015 @11:16PM (#9729909)
There isn't SO_SPLICE on linux. splice() needs a pipe.
Re:How to receive a million packets per second by nly on Wednesday June 17, 2015 @05:58AM (#9730836)
Isn't SO_SPLICE a bit like sendfile() on Linux?