Doug Hoyte

Results 217 comments of Doug Hoyte

You can copy the binary somewhere and add it to your path. For example you can put in `~/bin/` and then put `export PATH=$PATH:~/bin` in your `.bashrc` and then logout...

@Michael-IDA - Yes, pretty much. Actually you technically can use memory locking, but most systems are configured with very small limits for non-root users. For example here's a stock ubuntu...

In this particular example could you not do: vmtouch -l /file1 /file2 /file3 This will mlock() each file in sequence.

Oh and by the way, you can background a process with "&" in your shell to avoid daemonizing. Daemonizing will actually put the daemon process into a separate session, which...

Interesting result, thank you for posting. I'll have to investigate this in more detail, 200k entries shouldn't be an issue for tsearch. In the meantime, you could try the `-h`...

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...

On linux (and most OSes) the page cache will grow and shrink depending on how much memory is needed for other things. This tool is useful for figuring out which...

Really good question... I believe that WILLNEED doesn't actually read in the whole range, it just triggers the normal readahead mechanism. That said, it wouldn't surprise me if there is...

Yes that's a good point.. I've been thinking about an interface for madvise that lets the user decide, maybe something like "vmtouch -a sequential,willneed my-file.dat"

Yes, this is a great idea and I'd love to do it one day! I've been thinking about this for a while, and I implemented something in the related vmprobe...