[pbs-devel] [PATCH proxmox-backup 4/4] docs: add description for gc-cache-capacity tuning parameter
Christian Ebner
c.ebner at proxmox.com
Fri Apr 4 14:37:03 CEST 2025
On 4/4/25 14:28, Lukas Wagner wrote:
>
>
> On 2025-04-04 14:20, Thomas Lamprecht wrote:
>> Two alternatives:
>> - Changes this to the shift width, i.e. the x from 2^x, similar to the
>> ZFS setting. Makes it nice small number to configure and for most
>> use cases the exponential nature should be still granular enough.
>> That said, it's not very user-friendly, at least to those without
>> some level of CS background or the like.
>>
>> - just drop the * 1024 factor and allow users to enter the full number,
>> it then can be simply described as numbers of chunks which is trivial
>> to understand and relate too.
>>
>> Personally I'd favor the second option, mainly because it's so simple,
>> and having big numbers here is not that of a huge problem.
>
> Sounds like a good idea, I like it.
> My main gripe with the "times 1024" option was that it makes it a bit
> more confusing to the user (e.g. me, when reading 'GC LRU cache capacity (in multiples of 1024 chunk digests)'
> in the UI I first thought that the value itself must be a multiple of 1024).
>
> Changing the setting to the full number, we avoid this potential for confusion while
> still giving power-users a good sense of what is going on under the hood.
Okay, so let's go with the full values there, that should be the least
confusing one.
More information about the pbs-devel
mailing list