On Sunday, 20 October 2019 12:59:03 BST Wols Lists wrote: > Well, I do all my emerges on tmpfs, so if things like LO, firefox et al > need maybe 10GB, I need at least that available ... (that said, 16GB ram > could probably do it without needing swap :-)
Anecdotal evidence suggests 16G RAM may not be enough: A number of times I was emerging chromium with USE="jumbo-build" enabled on a PC with 16G RAM, while a user was running Kmail, firefox and some other apps. FF in particular is a hog, as it pre-emptively allocates more RAM as you keep opening more tabs. With 15-20 FF tabs open and MAKEOPTS="-j5", all RAM was exhausted and swap started being used heavily by portage, thrashing the disk as jobs were being swapped I/O. With no swap the emerge would have been killed with an OOM. > But seeing as I try to fill up my mobo ram, my disks are mirrored, and I > still try and stick to the "twice ram" rule, this setup means any > upgrades/changes to the computer means I don't break that rule. If it's > overkill, well disk is cheap (and I can always nick a swap partition and > repurpose it temporarily if needs be :-) > > Cheers, > Wol Quite, disks are cheap and having more swap won't break the bank. On PCs with limited RAM I often end up adding more swap space and reducing job counts to get big emerges through. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.