-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vDSO (virtual dynamic shared object) is exported by Linux kernel into every userspace program, designed to speed up this process for certain system calls. For Linux/x86_64, getcpu() can be called via vDSO, which makes getcpu() much faster. The faster getcpu() invocation is beneficial when retrieving NUMA node information. Benchmarking[1] on AMD Ryzen Threadripper 2990WX 32-Core Processor: getcpu: syscall: 103 nsec/call getcpu: vdso: 18 nsec/call [1] https://github.com/nathanlynch/vdsotest Co-authored-by: Chin-Hao Lo <[email protected]> Signed-off-by: Jim Huang <[email protected]>
- Loading branch information
Showing
1 changed file
with
87 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters