Note that as of a long time ago, GOMAXPROCS now defaults to the number of threads on your machine. So if you have an intel processor with 4 cores and each has hyperthreading enabled, runtime.GOMAXPROCS(0) will return 8.