Merge pull request #1005 from trapexit/readme-readahead

Update README.md regarding readahead
This commit is contained in:
trapexit 2022-01-15 17:33:44 -05:00 committed by Antonio SJ Musumeci
commit c784d06029

View File

@ -829,6 +829,8 @@ NOTE: be sure to read about these features before changing them to understand wh
* use `symlinkify` if your data is largely static and read-only
* use tiered cache drives
* use LVM and LVM cache to place a SSD in front of your HDDs
* if `cache.files` is enabled increase readahead: `echo "1024" > /sys/class/bdi/0:$(stat -c%d /MOUNT)/read_ahead_kb`
* increase readahead on all devices: `ls -1 /sys/class/bdi/*/read_ahead_kb | xargs -n1 -I{} sh -c "echo 1024 > {}"`
If you come across a setting that significantly impacts performance please contact trapexit so he may investigate further.