!UUYziobKGGxpovWyAN:nixos.org

Robotnix

262 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix82 Servers

Load older messages


SenderMessageTime
10 Aug 2023
@atemu12:matrix.orgatemu1232G is plenty10:41:55
@atemu12:matrix.orgatemu12You can even do it with 16G with some zram cache10:42:17
@atemu12:matrix.orgatemu12It was a few years ago that I did this though10:42:32
@atemu12:matrix.orgatemu12 * You can even do it with 16G with some zram swap10:43:21
@raitobezarius:matrix.orgraitobezariusbut doesn't the memory consumption scale with the number of cores?10:46:38
@raitobezarius:matrix.orgraitobezariusis the build very parallel or not?10:46:41
@atemu12:matrix.orgatemu12It's very parallel indeed10:47:15
@atemu12:matrix.orgatemu12I can't tell you how much it requires with more than 8 cores though10:47:33
@atemu12:matrix.orgatemu12 *16 Threads 10:47:49
@raitobezarius:matrix.orgraitobezariusyeah I have 128T10:48:17
@atemu12:matrix.orgatemu12And how much RAM?10:48:33
@raitobezarius:matrix.orgraitobezarius128G10:50:18
@raitobezarius:matrix.orgraitobezariusbut soon 256G10:50:20
@atemu12:matrix.orgatemu12I'd give it 32-64G of zram swap to be sure but it's probably fine10:50:52
@jusc140a:tu-dresden.de@jusc140a:tu-dresden.de left the room.12:56:05
@pederbs:pvv.ntnu.no@pederbs:pvv.ntnu.no changed their display name from pbsds (UTC+1) to pbsds.14:54:58
@raitobezarius:matrix.orgraitobezariusYeah I guess16:31:40
@samueldr:matrix.orgsamueldr
In reply to @atemu12:matrix.org
32G is plenty
as long as you don't use tmpfs on tmp
18:02:56
@atemu12:matrix.orgatemu12 samueldr: Good point, build directory should be on disk for this 18:06:03
@raitobezarius:matrix.orgraitobezariusyeah23:20:23
11 Aug 2023
@angryant:envs.net@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@angryant:envs.netLike if you wanted to use tmp on tmpfs anyway.09:43:09
@atemu12:matrix.orgatemu12 AngryAnt: Something on the order of 50GB IIRC? 09:54:03
@atemu12:matrix.orgatemu12You 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 questionable09:54:36
@angryant:envs.net@angryant:envs.netThanks. Just wanted to see if it was doable :)09:54:52
@angryant:envs.net@angryant:envs.netMostly thinking of flash writes.09:55:18
@atemu12:matrix.orgatemu12 AngryAnt: I wouldn't worry about that too much 09:55:34
@angryant:envs.net@angryant:envs.netFor sure. However if there's sufficient RAM then not making use of it for this would be more silly.09:55:57
@atemu12:matrix.orgatemu12 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:matrix.orgatemu12If you're not running two builds a day every day, you're fine.09:57:00

Show newer messages


Back to Room ListRoom Version: 6