cockroachdb / cockroachdb/cockroach
server: log NUMA topology on startup, if applicable
Open
branch-master
C-enhancement
E-quick-win
E-starter
O-sre
T-kv
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Given the Go runtime isn't currently NUMA aware ([source](https://github.com/golang/go/issues/28808#issuecomment-1773902093); [proposal doc](https://docs.google.com/document/d/1d3iI2QWURgDIsSR6G2275vMeQ_X7w-qxM2Vp7iGwwuM/pub)), and this has resulted in poor performance in the past (i.e. gcassit across NUMA domains can be expensive), Cockroach should be able to introspect the NUMA topology of the machine it is running on (if applicable), and log it at startup.
Further, if the process detects that it is running across NUMA domains, it should log a warning.
Jira issue: CRDB-53758
Contributor guide
Assessment
This issue has not been assessed yet.