!9IQChSjwSHXPPWTa:lix.systems

Lix

1116 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms298 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
4 Dec 2025
@aloisw:julia0815.dealoisw Yes, when the WAL grows too big, as determined by the wal_autocheckpoint pragma. 19:57:26
@rv32ima:envs.netellie changed their display name from Ellie (The Fake One) to ellie.19:57:32
@aloisw:julia0815.dealoisw Which Lix sets to 40000, so it should be 160 MiB. 19:59:20
@aloisw:julia0815.dealoisw Hm, but the checkpointer shouldn't block others if I read the docs correctly? 20:01:12
@cyclopentane:aidoskyneen.eupentane ⭔ changed their profile picture.20:02:32
@aloisw:julia0815.dealoiswIt seems that the writers just slow down massively, so possibly this is only indirectly related to the checkpointer falling behind by creating a huge WAL.20:09:25
@jassu:kumma.juttu.asiaJassukoWtf is that WAL size?! :o21:06:37
@raitobezarius:matrix.orgraitobezariusyeah but read perf deteriorates with the size of the WAL22:43:19
@raitobezarius:matrix.orgraitobezariushave you tried a lower value?22:43:25
@raitobezarius:matrix.orgraitobezariusbut i guess it's really pesky22:44:19
@raitobezarius:matrix.orgraitobezariuslix by nature in large substitution scenarios is read-write intensive22:44:29
@raitobezarius:matrix.orgraitobezarius* lix by nature in large substitution/builds scenarios is read-write intensive22:44:34
@raitobezarius:matrix.orgraitobezariusbut i feel like the fact that lix is blocked by the potential event that the WAL contains a record relevant to it is a mistake given our usage of flock to mark the future happening of a store path22:45:19
@raitobezarius:matrix.orgraitobezariuswhereas for writes, it seems it'd be good if we could have multiple WAL so that once one is committed, the other can be still filled?22:45:42
@raitobezarius:matrix.orgraitobezariusmaybe we can improve things by initiating checkpoints ourselves at key points…22:46:15
@raitobezarius:matrix.orgraitobezariusit would be interesting to know if we cause checkpoint starvation22:47:19
5 Dec 2025
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
have you tried a lower value?
I have not, but I think the problem is not so much that the size is excessive, but that the checkpointer is never alone so the WAL grows without bound.
06:26:19
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
but i feel like the fact that lix is blocked by the potential event that the WAL contains a record relevant to it is a mistake given our usage of flock to mark the future happening of a store path
Thanks for the hint, I will investigate whether this has any influence on the situation.
06:27:54
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
maybe we can improve things by initiating checkpoints ourselves at key points…
SQLite does that because of autocheckpoint, but the problem is that these are non-blocking (PASSIVE) checkpoints. I will investigate tomorrow whether RESTART makes the situation better; it should prevent unbounded WAL growth at the expense of some concurrency, but maybe it's still a net win if the write transactions aren't slowed down so much.
06:30:51
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
whereas for writes, it seems it'd be good if we could have multiple WAL so that once one is committed, the other can be still filled?
wal2 when
06:31:04
@jassu:kumma.juttu.asiaJassuko What exactly are you using the DB for in this case? 09:15:48

Show newer messages


Back to Room ListRoom Version: 10