google / google/gvisor

Accelerate usermem lookup by introducing a cache for frequently used address

Open
#1,594 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.