Post Reply

[Q] BTRFS+Compression+SSD optimization on folio

13th September 2011, 01:27 PM   |  #1  
gingerboy92's Avatar
OP Senior Member
Thanks Meter: 88
 
430 posts
Join Date:Joined: May 2011
would it be possible to change the filesystem from ext4 to btrfs with compression and ssd optimization.
i do have the knowledge about the possible of having more cpu overhead than the improvement in transfer speed.. but when it comes to space saving, i think it does worth it. i have been using btrfs compression on opensuse for quite a while. the space saving is amazing. with compression enabled, the space usage is half the normal size.
the only concern im having about getting this to be done is the kernel. does the kernel we are using support btrfs compression at the first place(mblaster?)? i do not have the technical knowledge of how to get this done. hope someone could turn this idea to a reality.
14th September 2011, 08:11 AM   |  #2  
Recognized Developer
Thanks Meter: 95
 
430 posts
Join Date:Joined: Aug 2007
Quote:
Originally Posted by gingerboy92

...does the kernel we are using support btrfs compression at the first place(mblaster?)?

Nope, sorry. Btrfs is not in atm (could be changed for a test), but I don't know if compression would be supported. Also I am not convinced that compression would help a lot on the folio for two reasons: First the compression end uncompression both need cpu cycles, slowing down the system. And second the kind of files you typically have on such a device (mp3, videos etc.) are not really compressable. I doubt you would get more then a few percent more storage out of your device.
15th September 2011, 03:43 PM   |  #3  
gingerboy92's Avatar
OP Senior Member
Thanks Meter: 88
 
430 posts
Join Date:Joined: May 2011
ehem.. about the cpu cycle, lzo compression could reduce the cpu usage, but i don't know by how much, probably still wouldn't worth the gain too. i don't know. but even if it does gives a worthy gain, maybe there's too much work to be done, lzo needs kernel 2.6.38 kernel to work if i'm not mistaken. compression(if possible) could be applied to something like the boot partition? maybe it could improve boot time, just a maybe.
looks like i didn't consider everything before i speak. thanks mblaster. ^.^
19th September 2011, 06:29 PM   |  #4  
Senior Member
Flag Szczecin
Thanks Meter: 8
 
246 posts
Join Date:Joined: Jul 2007
More
Quote:
Originally Posted by mblaster

Nope, sorry. Btrfs is not in atm (could be changed for a test), but I don't know if compression would be supported. Also I am not convinced that compression would help a lot on the folio for two reasons: First the compression end uncompression both need cpu cycles, slowing down the system. And second the kind of files you typically have on such a device (mp3, videos etc.) are not really compressable. I doubt you would get more then a few percent more storage out of your device.

True, what is stored on storage ? Mp3, mp4? ~ all of them are mostly compressed, where other - mathematical/lossles compression wouldnt help - in most cases would it make worse
8th February 2014, 04:25 AM   |  #5  
Palatis's Avatar
Junior Member
Thanks Meter: 0
 
10 posts
Join Date:Joined: Nov 2009
Smile
Quote:
Originally Posted by gingerboy92

ehem.. about the cpu cycle, lzo compression could reduce the cpu usage, but i don't know by how much, probably still wouldn't worth the gain too. i don't know. but even if it does gives a worthy gain, maybe there's too much work to be done, lzo needs kernel 2.6.38 kernel to work if i'm not mistaken. compression(if possible) could be applied to something like the boot partition? maybe it could improve boot time, just a maybe.
looks like i didn't consider everything before i speak. thanks mblaster. ^.^

compression is already applied on kernels.
usually you compile a kernel into bzImage, the "z" just means it's compressed.

modern linux kernels allow you to choose from gzip, bzip2, lzma, xz, lzo, lz4.
this includes ramdisk.
8th February 2014, 10:46 AM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Feb 2010
If you need space, just use an sdcard or microusb or Mount a network share...

Gesendet von meinem folio100 mit Tapatalk
Post Reply Subscribe to Thread

Tags
btrfs, compress, kernel
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes