Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tortay/cache-toys
Simple tools for checking (& influencing) the filesystem cache content on POSIX systems
https://github.com/tortay/cache-toys
Last synced: 2 months ago
JSON representation
Simple tools for checking (& influencing) the filesystem cache content on POSIX systems
- Host: GitHub
- URL: https://github.com/tortay/cache-toys
- Owner: tortay
- License: isc
- Created: 2015-05-11T11:40:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-14T12:35:28.000Z (over 3 years ago)
- Last Synced: 2024-08-03T01:25:50.633Z (6 months ago)
- Language: C
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - tortay/cache-toys - Simple tools for checking (& influencing) the filesystem cache content on POSIX systems (C)
README
Cache-toys
==========## Simple tools for checking & influencing filesystem cache content on POSIX systems
While the pagecache tools have historically been developped & tested on some other systems, they are now mostly used/tested on Linux.
### drop-from-pagecache
Asks the system to remove files content from the pagecache using `posix_fadvise()`.### prefetch-to-pagecache
Asks the system to prefetch files content to the pagecache using `posix_fadvise()`.### is-in-pagecache
Check if some part of the content of files are in the pagecache (using `mincore()`).### slices-in-pagecache
Display which parts of the content of files (if any) are in the pagecache (using `mincore()`).### hrr
Simple random reader program with optional hints to the pagecache.
Both POSIX (`posix_fadvise()`) and Linux specific (`readahead()`) hints are supported.