Thread (11 messages) 11 messages, 6 authors, 2017-09-15

Re: [PATCH preview] btrfs: allow to set compression level for zlib

From: Chris Murphy <hidden>
Date: 2017-08-21 00:38:52

On Fri, Aug 18, 2017 at 10:08 AM, David Sterba [off-list ref] wrote:
That's quite a lot, in kernel. IIRC zlib and lzo use less than 200kb,
zstd wants 800kb for level 1. And this needs to be contiguous memory, so
if we're lucky and get the memory at the mount time, fine. In general
the memory can be fragmented (in the worst case, there are only 4k
chunks available), so we'd have to vmalloc and consume the virtual,
mappings in great numbers.
Any thoughts on bootloader support, both in general, and as it relates
to levels of compression and memory constraints? GRUB switches to
protected mode early on but other bootloaders might have more
limitations. I guess really it's just GRUB and extlinux right now,
there were patches some time ago for Das U-Boot but they still aren't
merged.


-- 
Chris Murphy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help