| 10 Aug 2023 |
atemu12 | 32G is plenty | 10:41:55 |
atemu12 | You can even do it with 16G with some zram cache | 10:42:17 |
atemu12 | It was a few years ago that I did this though | 10:42:32 |
atemu12 | * You can even do it with 16G with some zram swap | 10:43:21 |
raitobezarius | but doesn't the memory consumption scale with the number of cores? | 10:46:38 |
raitobezarius | is the build very parallel or not? | 10:46:41 |
atemu12 | It's very parallel indeed | 10:47:15 |
atemu12 | I can't tell you how much it requires with more than 8 cores though | 10:47:33 |
atemu12 | *16 Threads | 10:47:49 |
raitobezarius | yeah I have 128T | 10:48:17 |
atemu12 | And how much RAM? | 10:48:33 |
raitobezarius | 128G | 10:50:18 |
raitobezarius | but soon 256G | 10:50:20 |
atemu12 | I'd give it 32-64G of zram swap to be sure but it's probably fine | 10:50:52 |
| @jusc140a:tu-dresden.de left the room. | 12:56:05 |
| @pederbs:pvv.ntnu.no changed their display name from pbsds (UTC+1) to pbsds. | 14:54:58 |
raitobezarius | Yeah I guess | 16:31:40 |
samueldr | In reply to @atemu12:matrix.org 32G is plenty as long as you don't use tmpfs on tmp | 18:02:56 |
atemu12 | samueldr: Good point, build directory should be on disk for this | 18:06:03 |
raitobezarius | yeah | 23:20:23 |
| 11 Aug 2023 |
@angryant:envs.net | In reply to @samueldr:matrix.org as long as you don't use tmpfs on tmp How much tmp space would a build need? | 09:42:58 |
@angryant:envs.net | Like if you wanted to use tmp on tmpfs anyway. | 09:43:09 |
atemu12 | AngryAnt: Something on the order of 50GB IIRC? | 09:54:03 |
atemu12 | You just simply don't want the build dir in a tmpfs unless you've got many hundreds of GiB and even then any benefit would be questionable | 09:54:36 |
@angryant:envs.net | Thanks. Just wanted to see if it was doable :) | 09:54:52 |
@angryant:envs.net | Mostly thinking of flash writes. | 09:55:18 |
atemu12 | AngryAnt: I wouldn't worry about that too much | 09:55:34 |
@angryant:envs.net | For sure. However if there's sufficient RAM then not making use of it for this would be more silly. | 09:55:57 |
atemu12 | Even basic consumer SSDs are rated for at least a few dozen GB per day and what SSDs can actually endure is often far greater than what manufacturers advertise | 09:56:45 |
atemu12 | If you're not running two builds a day every day, you're fine. | 09:57:00 |