juergbi opened a new pull request, #1950:
URL: https://github.com/apache/buildstream/pull/1950

   * Add `reserved-disk-space` config option to the `cache` section
       BuildStream has been relying on buildbox-casd's default for this, which 
is currently set at 2 GB. This adds a config option and sets the default to 5% 
of the size of the filesystem as it doesn't seem reasonable to fill up the 
filesystem more than 95% by default.
   * Add `low-watermark` config option to the `cache` section
       BuildStream currently uses a hard-coded value of 50% for the low 
watermark. This adds a config option but doesn't change the default. This 
requires [buildbox-casd 
1.2.17+](https://gitlab.com/BuildGrid/buildbox/buildbox/-/merge_requests/669) 
to be effective. Older versions of buildbox-casd will continue to use 50% as 
low watermark.
   * Change the default `low-watermark` of the cache from 50% to 80%
       Pruning half the cache when hitting the cache quota seems excessive as a 
default value, resulting in a lower cache hit rate.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to