by mrpippy · 8y ago · 0 comments
On macOS, I believe they're still using the traditional in-kernel transport stack for everything. They want to move to user-space for macOS though, this is why Network Kernel Extensions (NKEs) are deprecated (which started last year). I wouldn't be surprised if macOS uses the user-space stack starting next year and NKEs are fully gone (this also corresponds with 32-bit processes being gone)
AHA, so this is why I had to hit the Google cache for that documentation. I wanted to write an NKE as a side-project but they just blackholed all the docs, this is the first I'm seeing about deprecation.
https://developer.apple.com/videos/play/wwdc2017/707/ https://developer.apple.com/videos/play/wwdc2017/709
Also, the 30% less overhead is underwhelming. I would have expected much better improvement than that. That being said, if their measurement includes the encryption layer then the I/O benefit may be overshadowed by the encryption overhead.
Still, pretty cool stuff to make publicly available.
Which is to say, you're saying "detrimental impact on performance" and yet this seems to be a significant win over BSD sockets.
[0] https://devstreaming-cdn.apple.com/videos/wwdc/2017/707h2gkb...