!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

698 Members
Rust158 Servers

Load older messages


SenderMessageTime
9 Mar 2025
@andrew15_5:matrix.orgAndrewidk about fast, but it is SSD16:56:27
@andrew15_5:matrix.orgAndrewDo I need to reboot or no?16:59:48
@phanirithvij:matrix.orgloudgolem systemctl status swapspace should be green 17:01:02
@andrew15_5:matrix.orgAndrew Is services.swapspace.enable = true; enough? 17:01:20
@phanirithvij:matrix.orgloudgolemyes17:01:51
@andrew15_5:matrix.orgAndrewok, I'll try then17:02:00
@phanirithvij:matrix.orgloudgolem then run the build again, also watch swapon --show in another window to monitor your swap 17:02:23
@phanirithvij:matrix.orgloudgolem * then run the build again, also watch swapon --show in another window to monitor your swap files 17:02:27
@andrew15_5:matrix.orgAndrewIt does eat a ton of memory very rapidly, in a matter of 20 seconds or so. Not sure if swapspace can keep up with that17:02:33
@andrew15_5:matrix.orgAndrewYeah, I'm interested in that.17:02:53
@k900:0upti.meK900I'd start by not building on a tmfps17:03:09
@k900:0upti.meK900If you are building on a tmpfs17:03:13
@k900:0upti.meK900 Then drop --cores 17:03:19
@k900:0upti.meK900Then you can think about swap17:03:23
@andrew15_5:matrix.orgAndrewdefault is to not use tmpfs17:03:52
@andrew15_5:matrix.orgAndrewdoes show do something?17:04:46
@phanirithvij:matrix.orgloudgolemlists active swap files and partitions17:05:15
@andrew15_5:matrix.orgAndrew I thought swapon does that 17:05:53
@phanirithvij:matrix.orgloudgolem swapon [options] [<spec>] Enable devices and files for paging and swapping. 17:06:14
@phanirithvij:matrix.orgloudgolem *

swapon [options] [<spec>]

Enable devices and files for paging and swapping.

 --show[=<columns>]   display summary in definable table
17:06:28
@phanirithvij:matrix.orgloudgolemthis is getting offtopic, so feel free to dm me17:07:14
@phanirithvij:matrix.orgloudgolem this is very important as well Andrew along with -j (jobs) 17:09:36
@andrew15_5:matrix.orgAndrewlast time when it was due to LTO it didn't help17:11:05
@andrew15_5:matrix.orgAndrewwhat did help is to disable LTO attribute17:11:27
@andrew15_5:matrix.orgAndrewthough this time I didn't even reach the last step, so I don't know if the LTO is used for building LLVM.17:14:29
@andrew15_5:matrix.orgAndrewSo, as I was saying, it doesn't do anything, unless I specify the columns, which I don't.17:25:30
@andrew15_5:matrix.orgAndrewimage.png
Download image.png
17:25:37
@andrew15_5:matrix.orgAndrewBut it did work at the last moment, which is pretty cool to see.17:25:55
@phanirithvij:matrix.orgloudgolemswapspace manages your storage <-> swap swapon --show is just to monitor the usage17:26:28
@andrew15_5:matrix.orgAndrew I'm talking about the use of --show argument. 17:26:58

Show newer messages


Back to Room ListRoom Version: 6