[systemd-devel] journal fragmentation on Btrfs

Kai Krakow hurikhan77 at gmail.com
Mon Apr 17 14:06:13 UTC 2017


Am Mon, 17 Apr 2017 16:01:48 +0200
schrieb Kai Krakow <hurikhan77 at gmail.com>:

> > We also ask btrfs to defrag the file as soon as we mark it as
> > archived...  
> 
> This makes sense. And I've learned that journal on btrfs works much
> better if you use many small files vs. a few big files. I've currently
> set the journal size limit to 8 MB for that reason which gives me very
> good performance.

Hmm well, just looked, I eventually stopped doing that, probably when
you introduced defragging the archived journals. But I see no journal
file being bigger than 128M which seems to work well.

-- 
Regards,
Kai

Replies to list-only preferred.



More information about the systemd-devel mailing list