Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonots/fadvise
This is a forked version of http://net.doit.wisc.edu/~plonka/fadvise/
https://github.com/sonots/fadvise
Last synced: about 2 months ago
JSON representation
This is a forked version of http://net.doit.wisc.edu/~plonka/fadvise/
- Host: GitHub
- URL: https://github.com/sonots/fadvise
- Owner: sonots
- License: gpl-2.0
- Created: 2013-07-31T07:18:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-31T07:28:40.000Z (over 11 years ago)
- Last Synced: 2024-10-13T08:08:51.998Z (3 months ago)
- Size: 121 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
fadvise is a command used to give file advisory information to the operating system.
Its "don't need" option (fadvise --dontneed) is particularly useful to cause the files' pages (blocks) to be evicted from the buffer-cache.Here is some sample output:
$ fadvise --verbose --dontneed foo.rrd
page size: 4096
foo.rrd: no incore pages.
And the usage information:
Usage:
fadvise [options] file [...]Options:
-help - brief help message
-man - full documentation
-sequential
-random
-willneed
-dontneed
-noreuse
-normal (default)
-offset=n
-length=n
-verbose
-noverboseThe fadvise command was introduced in the paper, "Application Buffer-Cache Management for Performance: Running the World's Largest MRTG", that appears in the proceedings of the LISA 2007 conference in Dallas, November, 2007.
It is available online here:
http://www.usenix.org/events/lisa07/tech/plonka.html
You may also be interested in the related fincore command.