bcache.conf 902 B

1234567891011121314151617181920212223242526272829
  1. template: bcache_cache_errors
  2. on: disk.bcache_cache_read_races
  3. class: Errors
  4. type: System
  5. component: Disk
  6. lookup: sum -1m unaligned absolute
  7. units: errors
  8. every: 1m
  9. warn: $this > 0
  10. delay: up 2m down 1h multiplier 1.5 max 2h
  11. info: number of times data was read from the cache, \
  12. the bucket was reused and invalidated in the last 10 minutes \
  13. (when this occurs the data is reread from the backing device)
  14. to: sysadmin
  15. template: bcache_cache_dirty
  16. on: disk.bcache_cache_alloc
  17. class: Utilization
  18. type: System
  19. component: Disk
  20. calc: $dirty + $metadata + $undefined
  21. units: %
  22. every: 1m
  23. warn: $this > 75
  24. delay: up 1m down 1h multiplier 1.5 max 2h
  25. info: percentage of cache space used for dirty data and metadata \
  26. (this usually means your SSD cache is too small)
  27. to: sysadmin