News for hackers. Stuff that matters.
Re:SELinux is unmanageable; just turn it off if it gets in y... by bitcharmer on Wednesday April 27, 2022 @03:03AM (#31177125)
Ultra-low latency applications on Linux are definitely one domain were containers are a big no-no for performance reasons. In my field (HFT) you won't find any serious performance-sensitive deployments using containers. So that's one example.
Re:SELinux is unmanageable; just turn it off if it gets in y... by megous on Wednesday April 27, 2022 @03:40AM (#31177353)
Why would a container increase latency? It's just a pointer on a process. It's there on all processes.

https://elixir.bootlin.com/linux/latest/source/include/linux...

Re:SELinux is unmanageable; just turn it off if it gets in y... by geraldwhen on Wednesday April 27, 2022 @06:20AM (#31178245)
https://www.diva-portal.org/smash/get/diva2:1252694/FULLTEXT...

Also docker NAT will add significant latency if you don’t use host network mode.

When microseconds matter, everything matters. Any intermediate program would be suspect.

Re:SELinux is unmanageable; just turn it off if it gets in y... by megous on Wednesday April 27, 2022 @08:06AM (#31178874)
Then that's not about containers, but about NAT. So maybe don't use NAT. You can have NAT on the host, too, and it would slow down things also.

"Container" (namespace to be precise) is not really an intermediate program, it's a state associated with any Linux process.

Re:SELinux is unmanageable; just turn it off if it gets in y... by CraigJPerry on Wednesday April 27, 2022 @04:28AM (#31177646)
Are you referring to kube rather than containers?

A container is just namespaces and cgroups. You can still have your mellanox or solarflare zero-copy network stack for a containerised process.

That is, a containerised user space process can directly access the hardware, bypassing the kernel but isolated from other processes.

There are plenty of footguns for sure though but my experience working in HFT has been everyone is pretty elite skill-wise so sharp edges are not an issue in practice.