Browse Source

Merge pull request #1005 from trapexit/readme-readahead

Update README.md regarding readahead
pull/1007/head
trapexit 3 years ago
committed by Antonio SJ Musumeci
parent
commit
c784d06029
  1. 2
      README.md

2
README.md

@ -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 `symlinkify` if your data is largely static and read-only
* use tiered cache drives * use tiered cache drives
* use LVM and LVM cache to place a SSD in front of your HDDs * 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. If you come across a setting that significantly impacts performance please contact trapexit so he may investigate further.

Loading…
Cancel
Save