Re: tar: compress fast - extract very slow
- From: Robert Nichols <SEE_SIGNATURE@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 18:13:53 -0500 (CDT)
In article <1193047309.437203.299550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<shedir@xxxxxxxxx> wrote:
:Hi folks,
:
:
:I'm having this behavior on different machines and do not know why:
:* I create a tar.gz-file VERY fast (about 20minutes for 120GB => 4GB
:(=not much real data in it - mostly empty))
:* I extract the same tar.gz-file BUT VERY SLOWLY (about 10 hours!!!)
If by "mostly empty" you mean that these are sparse files, then
you need to use the "--sparse" ("-S") option to tell tar to handle
them efficiently. Otherwise, those blocks that are unallocated in
the source file will be replaced by allocated blocks filled with
zeros, which can slow down the extraction dramatically as well as
using a lot of additional disk space.
--
Bob Nichols AT comcast.net I am "RNichols42"
.
- References:
- tar: compress fast - extract very slow
- From: shedir
- tar: compress fast - extract very slow
- Prev by Date: Re: 1GB RAM is missing.
- Next by Date: Re: How to create an SSH/telnet user with read-only permissions ?
- Previous by thread: Re: tar: compress fast - extract very slow
- Next by thread: Re: tar: compress fast - extract very slow
- Index(es):
Relevant Pages
|