Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Extensions can be recompressed with `advdef`, Reduce size of '.dsl' & '.tar.gz' files< Next Oldest | Next Newest >
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: July 11 2007,17:05 QUOTE

Interesting link, hatsrule.

lzop uses LZO compression -  I suppose that is different to LZMA.  I do have a suspicion that lzop uses more memory than gzip however, but it is way faster.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: July 13 2007,11:22 QUOTE

I refer to the wikipedia entry for AdvanceCOMP:

"DEFLATE specifies a stream-encoding such that any compliant decoder is able to parse any valid stream; the algorithm and program used for the compression stage are not mandated.

For generation of compressed sections of DEFLATE data, an encoder available in the zlib/gzip reference implementation has typically been utilised. The zlib/gzip compressor offers the user a sliding scale between CPU usage and the likely amount of reduction in size achieved on a range of -0 (no compression) to -9 (maximum gzip compression).

The 7-Zip DEFLATE encoder, used in the AdvanceCOMP suite, effectively extends the sliding scale further. A much more detailed search of compression possibilities is performed, at the expense of significant further processor time spent searching. Effectively, the 10-point scale used in gzip is extended to include extra settings above -9, the previous maximum search level. There will be no difference in decompression speed, regardless of the level of compressed size achieved or time taken to encode the data."
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 13 2007,13:38 QUOTE

So, that means it just does a better job of optimizing the compressed file?  Did you actually test this out yet?
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: July 13 2007,16:32 QUOTE

Yes - all the .dsl and .tar.gz extensions I've submitted in the last few months.

To recompress a '.tar.gz' file I would use:
`advdef -z4 foo.tar.gz`
When done, it will show the size in bytes of the current file and original file, and the percentage size of the current file over the original file.
Back to top
Profile PM 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: July 13 2007,21:18 QUOTE

i'm all for anything that compresses the backup file faster. it would justify upgrading to a faster CF card.
Back to top
Profile PM 
21 replies since July 10 2007,14:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Extensions can be recompressed with `advdef`

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code