Thank you very much, it's a fact that he change was 6 years ago, it's a pity can't get that benchmark code. 在 2020年1月26日星期日 UTC+8下午11:55:01,Ian Lance Taylor写道: > > On Sun, Jan 26, 2020 at 2:31 AM jin wang <wangjin...@gmail.com > <javascript:>> wrote: > > > > why p's local run queue size is 256, not 128 or 512? > > Well, it has to be something. The choice of 256 was made when the > local run queue was changed to not use mutexes, in > https://golang.org/cl/46170044. Benchmarking showed that the change > was faster, but I don't know what values Dmitry tested other than 256. > > Ian >
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/42361a2f-faa1-41e8-89df-78ef0b2fc819%40googlegroups.com.