!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 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-rooms295 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@griff79:matrix.orggriffI was thinking more to store NarInfo there to guard against corruption.16:01:16
@raitobezarius:matrix.orgraitobezariuswe wanted to remove the SQLite DB and store the data directly in xattrs dir inodes16:01:29
@griff79:matrix.orggriffBut 1994 is VERY tight16:01:30
@raitobezarius:matrix.orgraitobezariusunfortunately a graph cannot fit into 1994b16:01:37
@raitobezarius:matrix.orgraitobezariushence why we gave up on this16:01:43
@raitobezarius:matrix.orgraitobezariusit seems like this is mostly a linux problem for the record16:01:51
@raitobezarius:matrix.orgraitobezariusi think macOS and Windows have very comfortable margins16:01:57
@raitobezarius:matrix.orgraitobezariusthen also the code that writes "big xattrs" in ext4 frightened me a bit16:02:18
@raitobezarius:matrix.orgraitobezariusand i could see the day where a fs stops remounting because this part of ext4 code is not super well tested16:02:29
@raitobezarius:matrix.orgraitobezariusFTR, ext4 is 4040 bytes max16:02:41
@raitobezarius:matrix.orgraitobezarius(in ~default settings)16:02:46
@griff79:matrix.orggriffI knew that one. It is not just 4040 max it takes up 4K even if you store a couple of bytes. Filled up my drive once learning that.16:04:13
@aloisw:julia0815.dealoisw Do we have a reproducer for that? I sometimes (but rarely) run into the retry warning, but never saw the deadlock thing myself. 16:05:00
@aloisw:julia0815.dealoisw Regarding xattrs, it's also easy to lose them when transferring files, and then wonder what's going on. 16:06:07
@qyriad:katesiria.orgQyriad well if it's just meta, that's fine — the same derivation can have different meta attrs after all 16:12:45
@raitobezarius:matrix.orgraitobezariuswhy can the exact same derivation have different meta attrs?18:17:56
@raitobezarius:matrix.orgraitobezariusah i see what you mean18:18:07
@raitobezarius:matrix.orgraitobezariusDrv → Meta is not injective18:18:13
@raitobezarius:matrix.orgraitobezariusthat's right18:18:16
@raitobezarius:matrix.orgraitobezariusbut like if people starts depending on them via xattrs, that sounds ugh18:18:35
@raitobezarius:matrix.orgraitobezariusbasically large scale CI, nej workloads18:18:41
@raitobezarius:matrix.orgraitobezariusIt doesn't deadlock though18:18:49
@raitobezarius:matrix.orgraitobezariusIt's just way too slow18:18:51
@aloisw:julia0815.dealoisw Hm yes, that's where I have seen these messages. Not noticed any excessive slowness though, but I can see different bottlenecks showing up there depending on machine speed. 18:20:07
@aloisw:julia0815.dealoisw For example, one thread not being enough to saturate the disk, transaction commit being stuck in fsync, deadlock on shitty code. 18:21:23
@aloisw:julia0815.dealoisw Not sure how much better other databases are on most of these points, except the first obviously. 18:22:50
@aloisw:julia0815.dealoisw
SQL> CONNECT 'meow.db';
Statement failed, SQLSTATE = 08001
I/O error during "lock" operation for file "/home/aloisw/meow.db"
-Database already opened with engine instance, incompatible with current

Am I doing something wrong or does it not support concurrency at all?

19:07:59
@k900:0upti.meK900You have to use WAL mode19:08:17
@k900:0upti.meK900To get single writer multiple readers19:08:22
@aloisw:julia0815.dealoisw This is firebird, not SQLite. 19:09:05

Show newer messages


Back to Room ListRoom Version: 10