From nobody Sun Feb 18 17:50:45 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TdCrk3s7Xz5BKlt for ; Sun, 18 Feb 2024 17:51:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-20.consmr.mail.gq1.yahoo.com (sonic313-20.consmr.mail.gq1.yahoo.com [98.137.65.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdCrj0G13z4Xrq for ; Sun, 18 Feb 2024 17:51:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=YUCC4DIg; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708278659; bh=A/52W6z0NlKB5Fgml+/wmeOUzPiKwbRWWXkPSS2mlRI=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=YUCC4DIgTCuk6jqOKgkSNnkRsv/OO+f6lPxG230V+811PYAtpLNXAuJNcThoRbO7Js6zvUyX5bY/CKduLtlIBNn7EoghNQYdMDk7OxW6m13uk5NWIgpGP2UDRka5+hgNmcNeq3nIjMwwA0BLKj460/ZtSboCd/yhp/NU4wt8vJ4zX7VZsRCf4oMLOpN9ru9AFXUJY9gTuOa46LWzRHLW8W+OlDJvWehjT6XfSUfWxuzDcF07QwBkAlzB3okeU3XTtXS/r1pF3U4dc59ig3iYBZUtBM5aa0yLhoOP09wfHdqzANTObDjk7thKY+J5ZJ7gXawJNrzzouWP1+vh9XfMYQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1708278659; bh=RRQgzaSoIbkpQqW1b567Sp77NJ9OEyS9GcMRK51sZaB=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=AvBzrngBmrwlgHw3BcgBpNSC0EiJ2+q3h1Nje1+nI5LZQimAOUwOGMEx6qPEmHrfqrr1qMAtFR4ozqc+R6c3kwBpy1BxzlQzpXJCviAnmJ3WwlQB+fvwVXSxJ3FRoBJkH+dQP0uHiV7Qd6xMCRCq8CxTWM1iOcROILmM32Y5frmFEJWF+c4gQ1bRqPooPj5mt1DBcOz0FoA0qq7I/1WW2NhfVdC2K0cwqcPNonlEIiwBpepdRjjST55BglOk7h6r+GlgB/kMB8PVDNZS6BP9ctu0j3IJtkWxF926k3hP485dg61dsDgwXj5hNRStDN4pY+mmPA15W2NrgiujLKOw1Q== X-YMail-OSG: eJTqTFwVM1m5E4RxuD61HhKhBc_9q1g68NUNs2_USSt.9w3WtH8zAFFSgFHFtyy OtormvrI6YKaBbK..d9sbv5.2WYN2aj15eiN.AqD_itcJSseHFYQvlumMMRLlAIZLaxlCmFd_sb_ tJF4z6P54.CACJBhyQYitDkwew6_z0pdPVHK3vwtdsOrfXXJK4iCSKj7c7pD2SXpRsDi12G0zXE4 dYBuvT9REOInPpUbu0WZIyjL7T4Ur08h83CH.3LaqCy9SXjP55EiBtUIQPG6jlaJhBXPSxE3bH7X RzQPoJVvTw1f07gSCeQ8MHn.2a491IxmE7SLW1.xaA2pwaC__DAU5jJGuj19olpBsSdjKsAaxpYr 5sFCQQ_05CqjSjgqm_lUdJS..JfngazFXXUnBA.KaKeB7BX6A_Trr3TWVeqyLfY1DwCh9sJWiiKn lGh42KFg.b8LcJ_LMSrMwPB.pNj4cX8J6TvVGiy0EcHnRMMnWwBMp_KDOsTVwjP1lld8WK1w1F7N hASLZwSr7VWdAcsrH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aLrVZODubgkkzFphtkL2VLgKNqimo3Ir_hnil Bte5pJPy_D6YU.e2JSLkVIrsKFl6tK9ug4.LeiBdiipoiLcsegmEhG9cSGWuuT587bcCXLMuz34D 8YIco._CIYN5Zr.y2u5SdRePj6703rvM5xE1XsXaalZbwJtvFD6vfsVX4Zs7bSP0mjT_GUKPZg4l mY2Xxqhq8Zlon4L6tGc0ufqZV.udPJgJOvxZOglowbb1vVj4fADLQpsWCX2r1yJnrx9.gl._7J2N C8VBdm1jNNy_ikbtpM298uGSwquFIyZ3WF_0_44UR7GqZD3IfbcE4vgZGOtUvksxqSzqddWZbncc FvBJ6gRiBOpueI04EC4t9ANxvx7FXA6h7T.nYNqUygozCeHoCVgRSZo4054kIOZNUq._vj5juKmd 8xKXf.0.LYK3L5EkGVKUnXdUVBc0rRptfmwdaZfKA8mJysgXtoV1dFt.BFdlcd9Q7WI1_ObvYEP9 P3yvGzdgDYkFOnBPd1BWtHxKIIuwN6LyQC.HtgLxecAgoxnLqx7zjZdrc8cQBxqlyW6BvUsm70eU eO.zZkvmkLV2sgMpbi.HEo13AR3ivMeyPhm2A1Pszf0UPmabe3xyRkIrIMWuhas3Fkn8sqyTATrs bzdTRLaa_vYQs0xSAonymsR5y1yblYeL90LmKDHrmiQ4Zk7xHsXDCcIG3lT34XKQE_DWOQs818yn W X-Sonic-MF: X-Sonic-ID: d6cbb7b3-c789-4594-8790-acc135b98749 Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 18 Feb 2024 17:50:59 +0000 Received: by hermes--production-gq1-5c57879fdf-nxlqc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4c4cb3ce06439b0eda842186f0a75a32; Sun, 18 Feb 2024 17:50:56 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Re: FreeBSD ports community is broken [port building configuration notes] Date: Sun, 18 Feb 2024 09:50:45 -0800 References: <87B38D6C-1D83-4158-B03B-F4C8EA396DD1@yahoo.com> To: aryehfriedman@gmail.com, FreeBSD Mailing List In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3774.400.31) X-Rspamd-Queue-Id: 4TdCrj0G13z4Xrq X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.83:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.83:from] [I also forgot to mention an important FreeBSD configuration setting as well. It is not specific to poudriere use.] > On Feb 18, 2024, at 09:13, Mark Millard wrote: > > [I forgot to mention the armv7 core count involved: 4] > > On Feb 18, 2024, at 08:52, Mark Millard wrote: > >> Aryeh Friedman wrote on >> Date: Sun, 18 Feb 2024 10:37:06 UTC : >> >>> It should not require >>> prodiere running on a supermassive machine to work (in many cases >>> portmaster and make install recursion fail where prodiere works). >> >> As for configuring for small, slow systems relative to >> resource use, I provide some settings that I've >> historically used below. Then I have some other notes >> after that material. >> >> For a 2 GiByte RAM armv7 system with 3 GiByte swap space >> and a UFS file system, no use of tmpfs in normal operation >> (since it competes for RAM+SWAP generally): > > FYI: The armv7 has 4 cores. > >> /usr/local/etc/poudriere.conf has . . . >> >> NO_ZFS=yes >> USE_TMPFS=no >> PARALLEL_JOBS=2 >> ALLOW_MAKE_JOBS=yes >> MAX_EXECUTION_TIME=432000 >> NOHANG_TIME=432000 >> MAX_EXECUTION_TIME_EXTRACT=14400 >> MAX_EXECUTION_TIME_INSTALL=14400 >> MAX_EXECUTION_TIME_PACKAGE=57600 >> MAX_EXECUTION_TIME_DEINSTALL=14400 >> >> /usr/local/etc/poudriere.d/make.conf has . . . >> >> MAKE_JOBS_NUMBER=2 >> >> /etc/fstab does not specify any tmpfs use or the >> like: avoids competing for RAM+SWAP. >> >> The 3 GiBytes of swap space is deliberate: RAM+SWAP >> is important for all means of building in such a >> context: there are a bunch of ports that have >> large memory use for building in all cases. >> >> [armv7 allows around RAM+SWAP=2.5*RAM before >> tradeoff/mistuning notices are generated. aarch64 >> and amd64 allow more like RAM+SWAP=3.4*RAM before >> such notices are reported. The detailed multiplier >> changes some from build to build, so I leave >> margin in my figures to avoid the notices.] >> >> I also historically use USB SSD/NVMe media, no >> spinning rust, no microsd cards or such. /boot/loader.conf has . . . # # Delay when persistent low free RAM leads to # Out Of Memory killing of processes: vm.pageout_oom_seq=120 This is important to allowing various things to complete. (The default is 12. 120 is not the maximum but has been appropriate in my context. The figure is not in time units but larger increases the observed delay so more work gets done before OOM activity starts.) Using vm.pageout_oom_seq is not specific to poudriere use. >> As far as more ports building in poudriere than in >> "portmaster and make install recursion" in other >> respects than resources: it is easier to make ports >> build in poudriere. It provides the simpler/cleaner >> context for the individual builders. More things >> lead to failure outside poudriere that are just not >> issues when poudriere is used so more care is needed >> setting up the ports for the likes of portmaster use. >> (And, yes, I used to use portmaster.) The required >> range of testing contexts is wider for use of the >> likes of portmaster to know that the port build will >> just work in the full range of contexts. >> >> Such issues adds to the port maintainer/committer >> development burdens when portmaster or the like are >> the target level/type of support. >> >> (Note: synth may be more like poudriere for this >> but I've historically had use of platforms that >> synth did not support and so have not looked into >> the details.) === Mark Millard marklmi at yahoo.com