Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: NUMA optimization for channels #12298
This is a big job. This is an optimization of the sharing memory by communicating method.
When a struct (not a pointer) above a GO_NUMA_MIGRATE size (determined at compile time) is sent across a channel the slice should be relocated to run on a local NUMA node.
A slice is just a pointer, basically. See http://blog.golang.org/go-slices-usage-and-internals
The scheduler continues to improve, and data locality is definitely a part of that.
I don't think there's anything specifically actionable here.