5 ms·
> > On servers with 100+ cores I have seen scheduling time take over 10% of the program runtime. > On Linux, go uses sched_getaffinity … Since cgroups are a L
by eadmund 2y ago
> > On servers with 100+ cores I have seen scheduling time take over 10% of the program runtime.
> On Linux, go uses sched_getaffinity …
Since cgroups are a Linux-only feature, OP must be running Linux. I wonder if his experience pre-dates Go’s usage of sched_getaffinity.
edit: I realised that he references cgroups so must be on Linux.