Hacker News new | ask | show | jobs
by wh33zle 15 days ago
> Is the Mac UDP stack really that abysmal?

Unfortunately yes.

It is quite easy to replicate if you have a Mac and another machine with a Thunderbolt port.

With everything else stripped out, i.e. bare UDP blasting out the interface, you can get the number up to ~675k packets per second which is about 1.25µs of kernel CPU per packet. For comparison, on Linux with segmentation offloading, you end up with around 0.2µs per packet.