Gentoo Archives: gentoo-dev

From: Roy Bamford <neddyseagoon@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] check-reqs.eclass: clamp MAKEOPTS for memory/RAM usage
Date: Wed, 05 Jan 2022 21:06:50
Message-Id: NIN3AVHM.DX354SJ7.4VNK2WY7@L25JIZPZ.6R2WR5TA.DIHKQJQV
In Reply to: Re: [gentoo-dev] [PATCH] check-reqs.eclass: clamp MAKEOPTS for memory/RAM usage by Sam James
1 On 2022.01.05 20:22, Sam James wrote:
2 >
3 >
4 > > On 5 Jan 2022, at 19:02, Roy Bamford <neddyseagoon@g.o>
5 > wrote:
6 > >
7 > > Sam,
8 > >
9 > > Do users with FEATURES=distcc still have to opt out of this
10 > > MAKEOPTS clamping?
11 > >
12 >
13 > Great point! I think we could add an exemption for that and make it a
14 > noop or warning-only.
15 >
16 > Best,
17 > sam
18 >
19 >
20
21
22 Sam,
23
24 You are building a better mousetrap here. That's not a reason to try.
25
26 Do users of I_KNOW_WHAT_I_AM_DOING, who have already
27 opted to shoot themselves in both feet, get a free pass here?
28
29 There are users who run emerge --jobs=X with MAKEOPTS='-jY"
30 and get firefox, thunderbird and libreoffice all building concurrently
31 as they allow X * Y MAKE threads, reduced by this proposed
32 throttling, still triggering the OOM.
33
34 I don't think you can head that off beforehand.
35
36 --
37 Regards,
38
39 Roy Bamford
40 (Neddyseagoon) a member of
41 elections
42 gentoo-ops
43 forum-mods
44 arm64

Replies