[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd thing about restore times
- To: tarsnap-users@tarsnap.com
- Subject: Re: Odd thing about restore times
- From: Bob Eager <rde@tavi.co.uk>
- Date: Sat, 24 Nov 2018 09:48:00 +0000
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUwXjFLc0vD0cS7y7zw9PDZ4tkWSRaVrZZ+m39qi2tXfVj////7+/utwK4IPggAOAAJUUA7AAABKklEQVQ4jWPYjQMwDFYJp0NKEKCNJmEf9h8CsimXiL2e33s3/e7F7K2Cs3f3dCMkQkMKj4YuCY3K3iR+e7fMaiSjvkX0/5cFGrWpe2uLzOpaExUVqMS/8PX/Re5ey960OLBTZpFA8+IlSBKPQ92zNyUUBsosN58uIY0k8f+/ONCoYytkVuhWzVwNkYiYbqk5M3NmOVBi41YZ8RsGF7shEtFb5KJ3r969CyixM7OTPeFUxG2IxLO8/9/SvqXlc+/x3h295YzLlj2nIRJQj//nRvc5TEIal8RsXBLVuCQwIgoq/u80DomP6HEOk/iOS+IJLonZOCT+ReOQ+Lkbh0QKLonbOCR+7MYhsRqHBJrVcIl/1TgklqKLQyQ+tGKIgyQOqXpjig94diZRAgAXmDX6jyWafAAAAABJRU5ErkJggg======
- In-reply-to: <1543023306.2691.73.camel@wrathall>
- References: <1543023306.2691.73.camel@wrathall>
On Fri, 23 Nov 2018 17:35:06 -0800
Craig Hartnett <craig@1811.spamslip.com> wrote:
> Hi there,
>
> This email was going to be a (mild) complaint about restore times, but
> then I noticed an odd thing: If I restore a directory with about 30
> full-size, full-resolution images, the directories in the path to the
> directory I restore are all created within about 45-90 seconds, and
> then the files start coming down at roughly the rate I might expect
> for files of about 2 MB each. The files were all restored within
> about 5 minutes. If I restore a single, small text file, it is
> restored in seconds.
>
> Yet in both cases, the command does not exit for about 16-21 minutes,
> which is what was going to lead me to complain. However, the actual
> restore was done about as quickly as one would expect.
>
> In all test cases I used the following command:
>
> tarsnap -x -f ARCHIVE media/USER/PATH/DIRECTORY
> tarsnap -x -f ARCHIVE
> > media/USER/PATH/DIRECTORY/FILE.EXT
>
> Is it possible I'm doing something wrong, or is this a known bug?
> There is nothing mentioned at
> http://www.tarsnap.com/improve-speed.html that would seem to be about
> this.
I am guessing to some extent, but I would imagine that tarsnap is
scanning to see if there is a more recent version of the file in the
same archive (this is possible with tar, anyway, and I suppose that if
you give the two names to tarsnap it will do the same).
I wonder what happens if you use:
tarsnap -x -k -f ARCHIVE media/USER/PATH/DIRECTORY