R: Re: Slow startup of systemd-journal on BTRFS
Quoted 7 lines
----Messaggio originale----
Da: [email protected]
Data: 12/06/2014 2.40
A: <[email protected]>, "Goffredo Baroncelli"<[email protected]>
Cc: "systemd Mailing List"<[email protected]>, "linux-btrfs"
Quoted 6 lines
Ogg: Re: Slow startup of systemd-journal on BTRFS
Quoted 2 lines · Goffredo Baroncelli
If someone is able to suggest me how FRAGMENT the log file, I can try to
collect more scientific data.
Quoted 2 lines
So long as you're not using compression, filefrag will show you fragments of
systemd-journald journals. I can vouch for the behavior
Quoted 1 line
you experience without xattr +C or autodefrag, but further it also causes
much slowness when reading journal contents. LIke if I want to
Quoted 1 line
search all boots for a particular error message to see how far back it
started, this takes quite a bit longer than on other file systems.
Quoted 1 line
So far I'm not experiencing this problem with autodefrag or any other
negative side effects, but my understanding is this code is still in flux.
Quoted 2 lines
Since the journals have their own checksumming I'm not overly concerned about
setting xattr +C.
This is true; but it can be a general solution: the checksum of the data are needed during a
scrub and/or a RAID rebuilding.
I want to investigate doing an explicit defrag once a week.
Quoted 2 lines
Chris Murphy
G.Baroncelli