4 ms·
Gotta get rid of all my Mac OS network switches.... I think they value the security and reliability from evicting those kernel extensions and nobody dreams of
by flatiron 7y ago
Gotta get rid of all my Mac OS network switches....
I think they value the security and reliability from evicting those kernel extensions and nobody dreams of using this in some high performance production switch so I think it’s ok.
- monocasa 7y agoA lot of Macs get used for video editing where they love their SANs. This cuts into video editing perf.
- _rs 7y agoJust to clarify, this would only be a problem if the user had network extensions installed (and potentially lots of them, depending on implementation)? It could have negligible impact if the video editing workstation didn't have these installed, if I'm reading this right?
- monocasa 7y agoI'm just saying there's a lot of use cases where people actually saturate their network connections on workstations, and you shouldn't discount them just because 'I'm not running mac as a switch'. But yes, network perf is needed only for workflows that involve large remote resources, and not to all video editing use cases out there.
- flatiron 7y agoYou can still saturate your network connection. Just takes a bit of context switching to user land. So if you have a crazy core hyperthreaded cpu your 1 gig network connection will easily get filled without a blink. This is like the ssl argument at the beginning of encrypting everything. The world was going to end and then it didn’t
- monocasa 7y agoContext switches can absolutely cut into maximum bandwidth and leave you unable to saturate a network.
- Dylan16807 7y agoIn certain machines with very weak CPUs and/or many very powerful connections. For a workstation, assuming mild levels of competence, there's no issue.
- monocasa 7y agoNo, on workstations and servers, particularly in a post spectre world, putting your network drivers into user space will absolutely destroy your perf because of the added context switches. You'd maybe have a point if it were an L4, but mach ports are used as an example now of how not to do microkernel IPC because of how much overhead they use.
- Dylan16807 7y agoA few thousand context switches per second is minor enough even with spectre mitigations, and if you need more than that you failed the "mild levels of competence" test.
- monocasa 7y agoBecause those DPDK guys are just a bunch of clowns I guess, trying to avoid even the normal one user/kernel transition.
- Dylan16807 7y agoThey have a completely different goal, much harder than merely saturating a single network port.