| 9 Mar 2025 |
Andrew | idk about fast, but it is SSD | 16:56:27 |
Andrew | Do I need to reboot or no? | 16:59:48 |
loudgolem | systemctl status swapspace should be green | 17:01:02 |
Andrew | Is services.swapspace.enable = true; enough? | 17:01:20 |
loudgolem | yes | 17:01:51 |
Andrew | ok, I'll try then | 17:02:00 |
loudgolem | then run the build again, also watch swapon --show in another window to monitor your swap | 17:02:23 |
loudgolem | * then run the build again, also watch swapon --show in another window to monitor your swap files | 17:02:27 |
Andrew | It does eat a ton of memory very rapidly, in a matter of 20 seconds or so. Not sure if swapspace can keep up with that | 17:02:33 |
Andrew | Yeah, I'm interested in that. | 17:02:53 |
K900 | I'd start by not building on a tmfps | 17:03:09 |
K900 | If you are building on a tmpfs | 17:03:13 |
K900 | Then drop --cores | 17:03:19 |
K900 | Then you can think about swap | 17:03:23 |
Andrew | default is to not use tmpfs | 17:03:52 |
Andrew | does show do something? | 17:04:46 |
loudgolem | lists active swap files and partitions | 17:05:15 |
Andrew | I thought swapon does that | 17:05:53 |
loudgolem | swapon [options] [<spec>]
Enable devices and files for paging and swapping.
| 17:06:14 |
loudgolem | * swapon [options] [<spec>]
Enable devices and files for paging and swapping.
--show[=<columns>] display summary in definable table
| 17:06:28 |
loudgolem | this is getting offtopic, so feel free to dm me | 17:07:14 |
loudgolem | this is very important as well Andrew along with -j (jobs) | 17:09:36 |
Andrew | last time when it was due to LTO it didn't help | 17:11:05 |
Andrew | what did help is to disable LTO attribute | 17:11:27 |
Andrew | though 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 |
Andrew | So, as I was saying, it doesn't do anything, unless I specify the columns, which I don't. | 17:25:30 |
Andrew |  Download image.png | 17:25:37 |
Andrew | But it did work at the last moment, which is pretty cool to see. | 17:25:55 |
loudgolem | swapspace manages your storage <-> swap
swapon --show is just to monitor the usage | 17:26:28 |
Andrew | I'm talking about the use of --show argument. | 17:26:58 |