If you set request / limit to 1 core but you run on 64 cores node , then you runtime will see that which will bring performance down.
If you set request / limit to 1 core but you run on 64 cores node , then you runtime will see that which will bring performance down.
I still believe it's best to set these variables regardless of cpu limits and/or cpu shares
Other people have encountered it too hence libraries like Automaxprocs existing and issues being open with Go for it.
This aligns with what others have reported on the Go runtime issue open for this.
"When go.uber.org/automaxprocs rolled out at Uber, the effect on containerized Go services was universally positive. At least at the time, CFS imposed such heavy penalties on Go binaries exceeding their CPU allotment that properly tuning GOMAXPROCS was a significant latency and throughput improvement."
https://github.com/golang/go/issues/33803#issuecomment-14308...