-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vflush: Print reclaim statistics #323
vflush: Print reclaim statistics #323
Conversation
25f12b8
to
6e5d44f
Compare
Some more testing revealed that |
I'm pretty sure ChatGPT is wrong about the granularity of |
Yea, so the |
We should probably switch |
6e5d44f
to
39a519d
Compare
Ok, rebased on top of the |
39a519d
to
962e950
Compare
We can also skip this commit, I just used it to measure #328 before and after. |
62e68d3
to
43bb86e
Compare
`KeQueryTickCount` seems to only have a 15.625ms resolution unless the interrupt timer frequency is increased, which should be avoided due to power usage. Instead, this switches the `zfs_lbolt`, `gethrtime` and `random_get_bytes` to use `KeQueryPerformanceCounter`. On my system this gives a 100ns resolution. Signed-off-by: Axel Gembe <[email protected]>
One less division for each call. Signed-off-by: Axel Gembe <[email protected]>
This shows how many reclaims have been processed in thousand increments and also how many reclaims are processed per second. Signed-off-by: Axel Gembe <[email protected]>
43bb86e
to
b5e0630
Compare
Closing because merged as part of #328 |
This shows how many reclaims have been processed in thousand increments and also how many reclaims are processed per second.