[systemd-devel] [PATCH] [RFCv2 (typos)] Add sync timer to journal server

Colin Walters walters at verbum.org
Mon Mar 18 18:06:58 PDT 2013


On Sat, 2013-03-16 at 18:45 +0200, Oleksii Shevchuk wrote:
> Sync journal with fdatasync after [...] 10 messages (by default)

That's going to be kind of painful for the current GNOME userspace, we
sadly emit a lot of crap at bootup =/  (I'm slowly trying to trim it,
but...it's slow going)

And bootup is pretty much exactly the point at which you don't want a
process stuck in fdatasync() right after everything has queued a lot of
writes to the journal becuase of atime updates...

Isn't after 10 minutes good enough?  

This should probably be tuned to stuff like the ext4 commit interval.




More information about the systemd-devel mailing list