cache-bench
Использование
memory cache-bench [-h] [--to_file] [-p <path>] [-r <read>] [-w <write>]
Описание
Explore the impact of virtual memory settings on caching efficiency on Linux systems under memory pressure.
Аргументы
--to_file
- Redirect output to file (/tmp/cli-stdout.txt).path
- path to the directory to write or read filesread
- how many mebibytes will be read from the files in the directorywrite
- the number of mebibyte files to be written to the directory
Примеры использования
cache-bench -w 300
cache-bench -r 20000