Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 20:56:06 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Snapshot listing speedup.
Message-ID:  <20120123205606.7a9bc26d@fabiankeil.de>
In-Reply-To: <20120122112322.GF1723@garage.freebsd.pl>
References:  <201201212112.q0LLCrQn009840@svn.freebsd.org> <20120122112322.GF1723@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/j+IFZGNSGAdZi9mK==iijZ2
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Pawel Jakub Dawidek <pjd@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.
=20
> 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

--Sig_/j+IFZGNSGAdZi9mK==iijZ2
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk8du1oACgkQBYqIVf93VJ09CwCfd1YxSFh1mppWC8kv7cFCr3Ss
j94AoLTLv06Nrn9pFGsfhywuXv+jkziu
=zQ//
-----END PGP SIGNATURE-----

--Sig_/j+IFZGNSGAdZi9mK==iijZ2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120123205606.7a9bc26d>