Snapshot listing speedup.

Fabian Keil freebsd-listen at fabiankeil.de
Mon Jan 23 20:37:26 UTC 2012


Pawel Jakub Dawidek <pjd at FreeBSD.org> wrote:

> If you have many snapshots and you were complaining that listing them
> takes a lot of time, you may find the commit below useful.

Indeed.
 
> It only works if your listing is limited to snapshot names and you want
> to sort also by snapshot name (by default snapshots are sorted by
> creation time).

After adjusting my backup script, I can confirm that gathering
the available snapshots is more than 200 times faster now.

Previously figuring out what to send frequently took more
time than actually sending the data.

Thanks a lot.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120123/2fd2e8bf/signature.pgp


More information about the freebsd-current mailing list