vmtouch icon indicating copy to clipboard operation
vmtouch copied to clipboard

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

Open ghuls opened this issue 6 years ago • 1 comments

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.

ghuls avatar Jul 23 '19 13:07 ghuls

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.

hoytech avatar Jul 23 '19 14:07 hoytech