On Sun, Jan 26, 2020 at 2:31 AM jin wang <wangjinjinj...@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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcU-R%3D6A9c7CPE-%3DB-orsVJxmJfU0FRBm7Jr-DXBxrgKtw%40mail.gmail.com.

Reply via email to