-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core-mmap: touch + check just start of each page rather than filling …
…them stress-mmap just needs to touch and check the start of each page rather than completely filling them and checking every value. The main overhead is actually writing to recently mapped pages that cause a page fault on each new page being written to, so the win here is small but it still is worth making this optimization. On an Alderlake i9-12900 with 1 CPU this works out to be ~7.6% faster overall on a 10 second mmap stress test. Signed-off-by: Colin Ian King <[email protected]>
- Loading branch information
1 parent
d1c7141
commit aef94fd
Showing
3 changed files
with
54 additions
and
5 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
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
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