About 85% to 90% of them are SWAPBLK_NONE based on my experiments.
This will improve searching swblks by a factor of 2.5 to 10 by skipping
despite the cost of double lookups for non-SWAPBLK_NONE ones.
Details
Details
Regression after tapping into swap space.
I use 'make buildworld -j <high#>' to case page in/out.
I have test/experimental code with rate printf.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 27411 Build 25656: arc lint + arc unit
Event Timeline
Comment Actions
Created swp_pager_meta_find_least private API to find and delete in a single
operation. swap_pager_find_least calls it for look up.
With this approach, we don't have any penalty for worst cases unlike the
first revision while expected performance gain doubled - 5 ~ 20 times faster
lookups.