On Sun, Jan 26, 2020 at 5:48 PM jin wang <
wangjin...@gmail.com> wrote:
>
> 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.
You can get the benchmark code; the benchmarks are in runtime/proc_test.go.
Ian
> 在 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> 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...@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.