Sponsored Content
Operating Systems Solaris ZCAT xxx.Z|tar -xvf - decompression slow ? Post 302808271 by smcart on Thursday 16th of May 2013 10:26:51 AM
Old 05-16-2013
Sun ZCAT xxx.Z|tar -xvf - decompression slow ?

I have recently built a new server and patched Soalris 10 up tp latest bundle etc...
When I run a decompress using the format zcat fred.Z |tar -xvf - it runs at a very slow rate.
A similiar server which is less powerful runs over twice as quick.
Is there any work arounds to configure decompress ?

I know I can try other forms of compression/de-compression but a quick fix to getting this working correctly would be helpful.

I have heard might be some kernal parameters to change ?

thanks
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

'tar -xvf' command filled up /dev/root

On a newly configured hp unix server, I got the following error while I was trying to untar a file: tar -xvf 9201rdbms.tar .... /htc_ora_prod/stage9.2.0_64bit/Disk2/stage/Components/oracle.rdbms.seeddb.compoltp/9.2.0.1.0/1/DataFiles/Expanded/seed/templates/Transaction_Processing.dfj, 174282115... (2 Replies)
Discussion started by: YuChing
2 Replies

2. Shell Programming and Scripting

Delete a file from XXX.tar.Z

Hi All can u please let me know how to delete a file from XXX.tar.Z file with out uncompressing this file. thanks in advance. --Bali (0 Replies)
Discussion started by: balireddy_77
0 Replies

3. UNIX for Dummies Questions & Answers

xxx.tar.gz error

Hi All, We have taken data backup using gzip but when we try to restore from ex:xxx.tar.gz file got below error. invalid compressed data--crc error and invalid compressed data--length error How to recover my original data. Thanks in advance for your suggestion (1 Reply)
Discussion started by: bache_gowda
1 Replies

4. Solaris

tar -xvf is showing error

Hi, When i am trying to untar a file for installation its showing an error like tar -xvf te_agent__sparc.en_tar.gz tar: directory checksum error Please help me to solve this issue........... (10 Replies)
Discussion started by: Renjesh
10 Replies

5. AIX

tar -xvf doesnt work

Hello Im trying to extract this file tar -xvf opt-samba-base.tar.tar tar: 0511-169 A directory checksum error on media; 0 not equal to 75420. but I get that message I tried algo with gunzip and uncompress but nothing happens gunzip -d opt-samba-base.tar.tar gunzip:... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

6. UNIX for Advanced & Expert Users

GNU tar automatic gz detection/decompression

I stumbled on this feature on a SLES10 system yesterday... if you tar tf filename.tar.gz or tar xf filename.tar.gz it automatically gunzips the data for you. Has this feature been around for a while? I have 1.12 on my system, which doesn't, but the 1.20 manual mentions it... (3 Replies)
Discussion started by: Annihilannic
3 Replies

7. Shell Programming and Scripting

I look help in tar xvf

Dears, I have copied one compressed file from one directory to another directory say finame.txt.tar.gz copied from FirstDirectory to SecondDirecory cd FirstDirectory / cp finame.txt.tar.gz SecondDirecory cd SecondDirecory/ once i do gunzip to finame.txt.tar.gz it, the file got... (4 Replies)
Discussion started by: faiz
4 Replies

8. UNIX for Dummies Questions & Answers

tar xvf to a different directory?

Hi all, I have a tar file that was done with tar -cvf <tar_file> /directory. Is there any way that I can untar this, i.e. tar -xvf <tar_file> into a different directory? So far Google said you can't do tar -xvf to a different directory. Unfortunately, am not the one doing the tar -cvf... (9 Replies)
Discussion started by: newbie_01
9 Replies

9. UNIX for Advanced & Expert Users

Tar xvf in file

Good afternoom, I have a file very big, when I execute tar xvf XXXXXX_2010.tar, and show me this in the screen. x XXXXXX_2010_(01_DE_18).ixf, 3330845041 bytes, 6505557 media blocks. x XXXXXX_2010_(02_DE_18).ixf, 3336071703 bytes, 6515766 media blocks. x XXXXXX_2010_(03_DE_18).ixf, 3333011013... (3 Replies)
Discussion started by: systemoper
3 Replies
MKUZIP(8)						    BSD System Manager's Manual 						 MKUZIP(8)

NAME
mkuzip -- compress disk image for use with geom_uzip(4) class SYNOPSIS
mkuzip [-v] [-o outfile] [-s cluster_size] infile DESCRIPTION
The mkuzip utility compresses a disk image file so that the geom_uzip(4) class will be able to decompress the resulting image at run-time. This allows for a significant reduction of size of disk image at the expense of some CPU time required to decompress the data each time it is read. The mkuzip utility works in two phases: 1. An infile image is split into clusters; each cluster is compressed using zlib(3). 2. The resulting set of compressed clusters along with headers that allow locating each individual cluster is written to the output file. The options are: -o outfile Name of the output file outfile. The default is to use the input name with the suffix .uzip. -s cluster_size Split the image into clusters of cluster_size bytes, 16384 bytes by default. The cluster_size should be a multiple of 512 bytes. -v Display verbose messages. NOTES
The compression ratio largely depends on the cluster size used. For large cluster sizes (16K and higher), typical compression ratios are only 1-2% less than those achieved with gzip(1). However, it should be kept in mind that larger cluster sizes lead to higher overhead in the geom_uzip(4) class, as the class has to decompress the whole cluster even if only a few bytes from that cluster have to be read. The mkuzip utility inserts a short shell script at the beginning of the generated image, which makes it possible to ``run'' the image just like any other shell script. The script tries to load the geom_uzip(4) class if it is not loaded, configure the image as an md(4) disk device using mdconfig(8), and automatically mount it using mount_cd9660(8) on the mount point provided as the first argument to the script. EXIT STATUS
The mkuzip utility exits 0 on success, and >0 if an error occurs. SEE ALSO
gzip(1), zlib(3), geom(4), geom_uzip(4), md(4), mdconfig(8), mount_cd9660(8) AUTHORS
Maxim Sobolev <sobomax@FreeBSD.org> BSD
March 17, 2006 BSD
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy