From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E8A6158089 for ; Tue, 12 Sep 2023 19:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75A822BC0AD; Tue, 12 Sep 2023 19:02:02 +0000 (UTC) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E76F62BC08D for ; Tue, 12 Sep 2023 19:02:01 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-31c5c06e8bbso6093798f8f.1 for ; Tue, 12 Sep 2023 12:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694545320; x=1695150120; darn=lists.gentoo.org; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2vH8pQQUXkUVAIS+fDlWID4eg1XfiXngP1E+X6+S63I=; b=n6pklLPQvvdR4LvEvaZmhWrcuws6HEvX0VSRvi3u0lbn05t3qW8dFwVelwoLuZF4bS SNQcVVEl7uCPcMBHjVZ9gSsEWEMPVHAHK0DmayS3yEQ4l3svdjxpIFQx6Vqbas10nhHa fhwTy08BlrDTgY3nPES1xszhJdF0iuKgzNuKYcI0eS6taIHbAQn66yKD5Rjy20+gbAVA 7U9mskQAn0zVVengw+Cx4J9/OORpPZ3L7li55FEdhWankBEKf+HFjCpms2thoK0ZBvo+ Z1+VAB7OrmG8+D3KHvOJ9ES6ZWhJP6HiQtajbSvgb9yQ44zDXmV3wDVZiI/p5OL+2cTN lOdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694545320; x=1695150120; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2vH8pQQUXkUVAIS+fDlWID4eg1XfiXngP1E+X6+S63I=; b=gxQUzjMbhWp4RgBxtRgrFtvtf0J2JU/r9poRVRN2kiQRCp3jO0OaGw2LRR2kmYokkO K3XV6KKxTZFMsiEFrOxdUpizIzeESljEKFmmaca5dJBGwcMnEzMB4YOs6GygiYychx8n JpMhVE02S8q5DyBkiMg8gxitMC1nG/rCkJJI/SPEmLmSUOeP+/NoGYQyhjQMKIRwQDR4 quRlmVmF5QvtyZw23RPbmHIDEIjVenAGeUUMYuXrjBhvHL1F6tZIogBbzsTPo0AZh2dw PwWiSopxtvYiHpKbka1mF6liikKuBtPdOYWKeSlO7MbURgJ1oeAjihVH+cC/aRkB+6cX i1Yw== X-Gm-Message-State: AOJu0YzWzHE4hIv7gGfHrQG5RioRNOJGVpiGZyT3VlShgNoWmV2oXbvN SZRuKtCcvaqUONkR7itr1TIYrXNK6sGXQ2mhIIZsOzV+ X-Google-Smtp-Source: AGHT+IHb57NA55CayvgjEBhMrw7iDnUV2EbkALbsubnfzb2YCqY+/opI2aAth7hXQyph+DagyvvdqifnWNZdJoCdh7g= X-Received: by 2002:a5d:604b:0:b0:31f:8824:4808 with SMTP id j11-20020a5d604b000000b0031f88244808mr267611wrt.70.1694545320160; Tue, 12 Sep 2023 12:02:00 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Alan McKinnon Date: Tue, 12 Sep 2023 21:01:48 +0200 Message-ID: Subject: Re: [gentoo-user] Re: long compiles To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000dd37de06052e1332" X-Archives-Salt: fcddcce7-1667-4c78-93bd-4943a468f88a X-Archives-Hash: 9f0007980f5ca55c644d9af112801f3e --000000000000dd37de06052e1332 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 12, 2023 at 11:19=E2=80=AFAM Nikos Chantziaras wrote: > On 11/09/2023 22:19, Alan McKinnon wrote: > > chromium has been building since 10:14, it's now 21:16 and still going > > so 9 hours at least on this machine to build a browser - almost as bad > > as openoffice at it's worst (regularly took 12 hours). Nodejs also took > > a while, but I didn't record time. > > What's your CPU and how much RAM? Even on my older system I had (an > 4-core i5 2500K) libreoffice took like 2 hours or so to build. > > > > What other packages have huge build times? > > IIRC, dev-qt/qtwebengine is one of the heaviest when it comes to build > times. > > Anyway, a nice way to cut down on build times is to build on tmpfs. To > do that however with heavy packages like that, I had to upgrade to 32GB > RAM. There was a large price drop in the memory market a couple months > ago, so I snatched a 32GB DDR4 3600 kit (2x16GB) for like 80=E2=82=AC. So= now > with plenty of RAM, I configured a 14GB tmpfs in /var/tmp/portage. I > never hit swap when emerging. > That's not an option for me, this is a corporate laptop with 16G RAM and a case I may not open :-) I'm not interested in a remote build host or distcc either But anyways, this is not really about how to deal with long compiles, I was asking what current packages take a long time after a 5 year absence. The answer is what it was always - browsers and libreoffice. I do recall icu being a bit of a beast back then Alan --=20 Alan McKinnon alan dot mckinnon at gmail dot com --000000000000dd37de06052e1332 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Sep 12, 2023 at 11:19=E2=80= =AFAM Nikos Chantziaras <realnc@gmai= l.com> wrote:
On 11/09/2023 22:19, Alan McKinnon wrote:
> chromium has been building since 10:14, it's now 21:16 and still g= oing
> so 9 hours at least on this machine to build a browser - almost as bad=
> as openoffice at it's worst (regularly took 12 hours). Nodejs also= took
> a while, but I didn't record time.

What's your CPU and how much RAM? Even on my older system I had (an 4-core i5 2500K) libreoffice took like 2 hours or so to build.


> What other packages have huge build times?

IIRC, dev-qt/qtwebengine is one of the heaviest when it comes to build
times.

Anyway, a nice way to cut down on build times is to build on tmpfs. To
do that however with heavy packages like that, I had to upgrade to 32GB RAM. There was a large price drop in the memory market a couple months
ago, so I snatched a 32GB DDR4 3600 kit (2x16GB) for like 80=E2=82=AC. So n= ow
with plenty of RAM, I configured a 14GB tmpfs in /var/tmp/portage. I
never hit swap when emerging.

That'= s not an option for me, this is a corporate laptop with 16G RAM and a case = I may not open :-)
I'm not interested in a remote build host = or distcc either

But anyways, this is not real= ly about how to deal with long compiles, I was asking what current packages= take a long time after a 5 year absence.

The answ= er is what it was always - browsers and libreoffice. I do recall icu being = a bit of a beast back then


Alan
=

=C2=A0


--
Alan McKinnon
alan dot mckinnon at gmail dot com
--000000000000dd37de06052e1332--