Accelerate usermem lookup by introducing a cache for frequently used address
Open
area: performance
type: proposal
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
When syscalls are called frequently, it cost much time to lookup internal addresses of usermem in CopyIn and CopyOut.
In many cases, the usermems passed into syscalls are repeated or in the same range. So use a cache to store frequently used usermem address mapping may accelerate the PMA lookup.
Contributor guide
Assessment
This issue has not been assessed yet.