[pbs-devel] [RFC v2 proxmox-backup 24/36] index: fetch chunk form index by start/end-offset

Dietmar Maurer dietmar at proxmox.com
Tue Mar 12 14:03:08 CET 2024


> On 12.3.2024 13:51 CET Christian Ebner <c.ebner at proxmox.com> wrote:
> 
>  
> On 3/12/24 13:47, Dietmar Maurer wrote:
> > 
> > Maybe the second search could be optimized, because end must be greater than start?
> 
> Yes, most definitely, will fix this in the next version of the patches!

Also, a linear search for the end could be much faster for small file sizes.

Further, possible value for "start" increase during archive creation, so you do not need to start the search from zero...




More information about the pbs-devel mailing list