!9IQChSjwSHXPPWTa:lix.systems

Lix

963 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-rooms260 Servers

Load older messages


SenderMessageTime
9 Jul 2025
@k900:0upti.meK900ACTUALLY17:15:29
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)the shared memory thing?17:15:51
@k900:0upti.meK900Hm17:15:56
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) i mean, that shouldn't be slow, at least not on the end of the closure thingy 17:16:28
@k900:0upti.meK900What the fuck17:16:31
@k900:0upti.meK900It doesn't let you change the buffer size17:16:38
@k900:0upti.meK900On the pipe17:16:40
@k900:0upti.meK900 OK dumb idea what if you pipe it through pv 17:18:08
@k900:0upti.meK900With a huge buffer17:18:13
* @raitobezarius:matrix.orgraitobezarius will let you fix your rust subprocess fun17:21:15
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)fair enough17:24:39
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i mean i didn't change the rust part so i was mightly confused 2.92/2.91 give such different perf. But i guess buffer changes might do that...17:25:25
@k900:0upti.meK900Yeah17:25:29
@k900:0upti.meK900I'm mildly annoyed17:25:37
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i'll see if there is a better way than just pv17:26:04
@k900:0upti.meK900https://doc.rust-lang.org/std/process/struct.ChildStdout.html17:26:22
@k900:0upti.meK900 You can intorawfd it 17:26:25
@k900:0upti.meK900 You can into_raw_fd it 17:26:29
@k900:0upti.meK900 And then F_SETPIPE_SZ 17:26:41
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh no!17:26:51
@k900:0upti.meK900I can do the thing maybe17:29:01
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)You can. And this seems to have helped: https://git.grimmauld.de/Grimmauld/nix-closure-thingy/src/commit/833c8d5d09626e85c52a9a590c7970c4735f6f00/src/main.rs#L70 Seems to be about as slow/quick as before. Likely the bottleneck now is the sqlite lock again17:47:48
@k900:0upti.meK900Wait what17:47:59
@k900:0upti.meK900That's the wrong reader17:48:06
@k900:0upti.meK900Lol17:48:07
@k900:0upti.meK900 Can you try the try branch on my fork 17:48:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) its faster now XD 17:48:29
@k900:0upti.meK900Can you try my fork17:48:40
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i can try your version, maybe we can combine both XD17:48:42
@k900:0upti.meK900My ideal result is that we ~match nej17:51:21

Show newer messages


Back to Room ListRoom Version: 10