4 ms·
> There is no longer a limit on the GOMAXPROCS setting. (In Go 1.9 the limit was 1024.) Why was there ever a limit? Is anyone in the know on this?
by 59nadir 9y ago
> There is no longer a limit on the GOMAXPROCS setting. (In Go 1.9 the limit was 1024.)
Why was there ever a limit? Is anyone in the know on this?
- shabbyrobe 9y agoLooks like it was because an internal structure in the runtime had a fixed size, but that has changed: https://stackoverflow.com/questions/40943065/golang-why-runtime-gomaxprocs-is-limited-to-256 https://stackoverflow.com/questions/40943065/golang-why-runt... https://github.com/golang/go/commit/ee55000f6c45d2f5c38d91679def933fdf27c029 https://github.com/golang/go/commit/ee55000f6c45d2f5c38d9167... https://github.com/golang/go/issues/15131 https://github.com/golang/go/issues/15131