Comment on Introduction to Golang Preemption MechanismsparentComments−eadmund2y> 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.
Comments
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.