Installing LMDE on BTRFS with lzo compression, almost

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

R: Installing LMDE on BTRFS with lzo compression, almost

Postby penzoiders on Thu Feb 07, 2013 4:13 am

To make effective the changes you have to reboot if we are talking about your /.

To have compression if you install it on plain btrfs then you mount root sub volume with compression, an rsync things there.. While copying it will compress.

Lzo probably is best for compression but zlib is very lightweight on cpu.

Both will move ahead the write barrier.


Note: if you notice performance drop using discard you may disable it and clean the free space with fstrim from time to time. On sandforce controller I do like this.

Cheers!

Inviato da un telefono a gettoni con tapatalk
User avatar
penzoiders
Level 1
Level 1
 
Posts: 17
Joined: Sun Feb 03, 2013 10:17 am

Linux Mint is funded by ads and donations.
 

Re: Installing LMDE on BTRFS with lzo compression, almost

Postby keantoken on Thu Feb 07, 2013 3:18 pm

The BTRFS wiki says the opposite about Zlib and Lzo:

https://btrfs.wiki.kernel.org/index.php/Compression

Lzo is designed to be real-time, compromising on compression ratio. But you said you tested it and found Zlib to perform better?
keantoken
Level 1
Level 1
 
Posts: 14
Joined: Sat Jan 07, 2012 11:14 am

R: Re: Installing LMDE on BTRFS with lzo compression, almost

Postby penzoiders on Fri Feb 08, 2013 7:42 pm

keantoken wrote:The BTRFS wiki says the opposite about Zlib and Lzo:

https://btrfs.wiki.kernel.org/index.php/Compression

Lzo is designed to be real-time, compromising on compression ratio. But you said you tested it and found Zlib to perform better?

By testing it seems that speed is almost same.
When i said zlib is better i was speaking about compression related to cpu stress.

But zlib is very light on cpu and very effectife in compression... may worth using it.

These are my 2c.

Inviato dal mio Transformer TF101G con Tapatalk 2
User avatar
penzoiders
Level 1
Level 1
 
Posts: 17
Joined: Sun Feb 03, 2013 10:17 am

Re: Installing LMDE on BTRFS with lzo compression, almost

Postby nunol on Tue Feb 12, 2013 11:10 am

You could test which is better for, it depends on the CPU and HDD/SDD performance.

One uses lzo the other zlib (-3) so you could try to isolate compression by using lzop and gzip in a tmpfs and compare the result with your disk performance.

Would be nice to be able to select other compressions levels (-1 to -9) and have other compressors availabled (xz, lz4, etc).
User avatar
nunol
Level 9
Level 9
 
Posts: 2664
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Previous

Return to Installation & Boot

Who is online

Users browsing this forum: MSNbot Media and 1 guest