Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Search forums
What's new
New posts
Latest activity
Feedback
View Statistics
Members
Current visitors
Buy Sell Trade
WTB
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Forums
Technology
Home Automation & Networking
The Raspberry Pi Thread
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Marcus Fenix" data-source="post: 2297712" data-attributes="member: 38832"><p>Compressing a OS directory will always show weird shit like this.</p><p></p><p>[ATTACH=full]112065[/ATTACH]</p><p></p><p>As you can see the temp.zip which is from dietpi-backup is far larger in size.</p><p></p><p>The reasoning is that zip operation on a very large no. of small/already compressed OS files which are inherently not very compressible will lead to compression header metadata which may blow up the zip size.</p><p></p><p>Most compression algorithms use whats called a symbol table, basically just peices of the file it uses as elements it can compress. This, of course, creates some overhead in the file but usually results a much smaller file.</p><p></p><p>You see that the dietpi-backup folder has 88,784 files. If you want to backup the OS image to Windows drive as well I would suggest mounting the Windows drive on dietpi and running rsync.</p><p></p><p>[ATTACH=full]112066[/ATTACH]</p><p></p><p>In already compressed files or in case of a large no. of tiny files, it still creates a set of symbols, but there's very little that can be reduce the size on. </p><p></p><p>You might have to read up on file entropy if you are curious about more details on this.</p></blockquote><p></p>
[QUOTE="Marcus Fenix, post: 2297712, member: 38832"] Compressing a OS directory will always show weird shit like this. [ATTACH type="full"]112065[/ATTACH] As you can see the temp.zip which is from dietpi-backup is far larger in size. The reasoning is that zip operation on a very large no. of small/already compressed OS files which are inherently not very compressible will lead to compression header metadata which may blow up the zip size. Most compression algorithms use whats called a symbol table, basically just peices of the file it uses as elements it can compress. This, of course, creates some overhead in the file but usually results a much smaller file. You see that the dietpi-backup folder has 88,784 files. If you want to backup the OS image to Windows drive as well I would suggest mounting the Windows drive on dietpi and running rsync. [ATTACH type="full"]112066[/ATTACH] In already compressed files or in case of a large no. of tiny files, it still creates a set of symbols, but there's very little that can be reduce the size on. You might have to read up on file entropy if you are curious about more details on this. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Technology
Home Automation & Networking
The Raspberry Pi Thread
Top
Bottom