www/mozilla-firefox 69 will need datasize bump to build

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

www/mozilla-firefox 69 will need datasize bump to build

Christian Weisgerber
In the weeks before a new Firefox release I usually switch to
landry@'s port of the beta version, which I compile myself.

Firefox 69 no longer builds in 5 GB on amd64: llvm runs out of
memory when compiling gkrust.

5.5 GB is sufficient.

I guess we'll have to bump datasize-cur for the pbuild user.
Any other ideas?

The 5 GB limit was originally required for PyPy.  Firefox used to
be a smaller pig.  Following a period of explosive growth with
binutils ld, things had settled down after the switch to lld.  Since
then, I haven't had a reason to pay attention to Firefox's memory
consumption at build time.

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: www/mozilla-firefox 69 will need datasize bump to build

Theo de Raadt-2
Christian Weisgerber <[hidden email]> wrote:

> In the weeks before a new Firefox release I usually switch to
> landry@'s port of the beta version, which I compile myself.
>
> Firefox 69 no longer builds in 5 GB on amd64: llvm runs out of
> memory when compiling gkrust.
>
> 5.5 GB is sufficient.
>
> I guess we'll have to bump datasize-cur for the pbuild user.
> Any other ideas?
>
> The 5 GB limit was originally required for PyPy.  Firefox used to
> be a smaller pig.  Following a period of explosive growth with
> binutils ld, things had settled down after the switch to lld.  Since
> then, I haven't had a reason to pay attention to Firefox's memory
> consumption at build time.

No other ideas -- pbuild will need a larger farm.

https://www.thedodo.com/whats-misleading-about-the-tea-843842300.html

Reply | Threaded
Open this post in threaded view
|

Re: www/mozilla-firefox 69 will need datasize bump to build

Landry Breuil-5
In reply to this post by Christian Weisgerber
On Fri, Aug 16, 2019 at 05:15:17PM +0200, Christian Weisgerber wrote:

> In the weeks before a new Firefox release I usually switch to
> landry@'s port of the beta version, which I compile myself.
>
> Firefox 69 no longer builds in 5 GB on amd64: llvm runs out of
> memory when compiling gkrust.
>
> 5.5 GB is sufficient.
>
> I guess we'll have to bump datasize-cur for the pbuild user.
> Any other ideas?
>
> The 5 GB limit was originally required for PyPy.  Firefox used to
> be a smaller pig.  Following a period of explosive growth with
> binutils ld, things had settled down after the switch to lld.  Since
> then, I haven't had a reason to pay attention to Firefox's memory
> consumption at build time.

I never really looked nor cared. Not my war :) between rust, llvm & lld..
this bumps to 5.5G.

Index: etc.amd64/login.conf
===================================================================
RCS file: /cvs/src/etc/etc.amd64/login.conf,v
retrieving revision 1.11
diff -u -r1.11 login.conf
--- etc.amd64/login.conf        2 Jun 2019 06:46:17 -0000       1.11
+++ etc.amd64/login.conf        16 Aug 2019 17:33:21 -0000
@@ -92,7 +92,7 @@
 #
 pbuild:\
        :datasize-max=infinity:\
-       :datasize-cur=5120M:\
+       :datasize-cur=5632M:\
        :maxproc-max=1024:\
        :maxproc-cur=384:\
        :tc=default:

i've had datasize-cur=6144M in the staff class on my builder since at
least the 10 of june, dont remember if that was for firefox 69 beta or a
rust update itself..

Landry

Reply | Threaded
Open this post in threaded view
|

Re: www/mozilla-firefox 69 will need datasize bump to build

Antoine Jacoutot-7
In reply to this post by Christian Weisgerber
On Fri, Aug 16, 2019 at 05:15:17PM +0200, Christian Weisgerber wrote:

> In the weeks before a new Firefox release I usually switch to
> landry@'s port of the beta version, which I compile myself.
>
> Firefox 69 no longer builds in 5 GB on amd64: llvm runs out of
> memory when compiling gkrust.
>
> 5.5 GB is sufficient.
>
> I guess we'll have to bump datasize-cur for the pbuild user.
> Any other ideas?
>
> The 5 GB limit was originally required for PyPy.  Firefox used to
> be a smaller pig.  Following a period of explosive growth with
> binutils ld, things had settled down after the switch to lld.  Since
> then, I haven't had a reason to pay attention to Firefox's memory
> consumption at build time.

I don't have a clever idea.
I am tempted to say "who cares", let's bump the limits just for building.

Most OpenBSD deployments I see these days have a tweaked login.conf and
sysctl.conf anyway because our default values don't work in the real world; so
cranking limits for _pbuild makes sense imho.

--
Antoine