vmtouch
vmtouch copied to clipboard
Portable file system cache diagnostics and control
Use mlock2() instead of mlock() on Linux: - mlock2() allows a third argument MLOCK_ONFAULT, which allow to lock the pages in a range before touching them, so mlock2() can be...
Hi, if you run `vmtouch -vb` the progress bar lines are added twice to the output file. It would be great if the lines just occur once. Steps to reproduce:...
Issue #53 relates to unwanted carriage return characters. Their purpose it to redraw an existing line. However they're only needed on occasions where the line needs output more than once....
This adds a file containing an autoloadable completion function for use with zsh so that zsh users can get hints on vmtouch usage with their tab key. In the process,...
If I use for exmp. vmtouch -dlw it reads all from the drive but if I let totem play the music files it has (and the vmtouch process didn't lock...
I get error messages (title) because it's just too large but I've 40GB RAM so - how can I fix that?
On ubuntu 16.04 with 192 GB of ram: I have a directory of size 43GB and 277071 files. I want to keep this whole directory in RAM. When i give...
1. Simplify the code 2. Replace size unit with macro 3. Repair a possible typo: here([vmtouch.c#L219](https://github.com/hoytech/vmtouch/blob/master/vmtouch.c#L219)) are duplicate `freopen("/dev/null", "w", stdout) == NULL`. Maybe the second one should be `stderr`?
Hi, and thanks for this tool (: The important option -w misses in the [manual](https://github.com/hoytech/vmtouch/blob/master/vmtouch.pod) and is only displayed when issuing --help. This is confusing. After all, in daemon mode...
1. If vmtouch.c is compiled with gcc -O2, evict succeeds by calling posix_fadvise. But with gcc -O0, evict fails and mincore shows that memory is still used. What's the difference...