Skip to content
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

Feature request: Only touch pages of file that are not in memory. #75

Open
ghuls opened this issue Jul 23, 2019 · 1 comment
Open

Feature request: Only touch pages of file that are not in memory. #75

ghuls opened this issue Jul 23, 2019 · 1 comment

Comments

@ghuls
Copy link

ghuls commented Jul 23, 2019

It would be nice if there would be an option to only touch pages of file that are not in cache yet.

I am trying to use vmtouch for files of 100GiB. Touching all pages (even those that are already in memory) takes quite a while, so it would be nice that only needed pages are touched.

Another way that would work although a bit less flexible, would be a new command that would be able to write the non-paged blocks as a range request that could be used with the -p option.

@hoytech
Copy link
Owner

hoytech commented Jul 23, 2019

Great idea! I'm a bit busy currently but will try to look into this at some point. Patches welcome of course.

I also like the idea to output ranges in "-p" format. I actually was experimenting with similar things in vmprobe but haven't worked on that in a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants