Optimization updating memory usage via mincore syscall is expensive
Open
area: performance
priority: p2
type: enhancement
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
When sentry update memory usage, mincore syscall will be used to check whether pages are resident in memory, this is expensive for CPU utilization, because syscall in sentry kernel will invoke a vmexit and kernel syscall.
Mincore syscall will cause about 1%~%5 CPU utilization in all Guest ring 0 and Host ring 0 CPU utilization of our Java / Go application container.
Contributor guide
Assessment
This issue has not been assessed yet.