Ubuntu 20.04 Beta BTRFS compression & Intel GPU crashing

Soldato
Joined
7 Nov 2007
Posts
6,824
Location
Required
I'm currently using the following to compress the BTRFS filesystem with ZLIB:

Code:
sudo btrfs filesystem defragment -r -v -czlib /

I know that ZLIB has different compression levels but I don't know how to raise it to a higher level? I've also noticed that, as the compression is running, if I refresh the files view to look at the current free space it rises from 220mb to 4gb, but then starts falling again and by the time the operation has done the whole drive it's down to 2.2gb, so something is growing in size when compressed!

Does anyone know how to change the compression level and how to stop it expanding files when compressing some of them?

A secondary issue I have is that anything using OpenGL (Steam, WebGL, 0 A.D etc) seems to hang the system? It's a Pentium N4200 Lenovo netbook with Intel HD 505 graphics.

Thanks
 
re: compression level - see here.

re: file sizes - I suspect what's happening there is that the file size being reported initially isn't entirely accurate, and as it progresses with the compression it gets closer to reality. So files aren't growing in size, it's just that the system is figuring out that some stuff isn't actually compressible.

re: OGL - which driver is your system using? xf86-video-intel?
 
Back
Top Bottom