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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CAB5E139083 for ; Tue, 5 Dec 2017 11:11:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2172CE0FAF; Tue, 5 Dec 2017 11:10:55 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EC02E0F30 for ; Tue, 5 Dec 2017 11:10:54 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vB5B8cXu017830 for ; Tue, 5 Dec 2017 12:10:49 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2ena67m32a-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 05 Dec 2017 12:10:49 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B94683D for ; Tue, 5 Dec 2017 11:10:48 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A425B2A48 for ; Tue, 5 Dec 2017 11:10:48 +0000 (GMT) Received: from [10.50.186.1] (10.75.127.49) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 5 Dec 2017 12:10:48 +0100 Subject: Re: [gentoo-user] is multi-core really worth it? To: References: <6b5fbeca-453c-f103-5e4e-a8db83a6dabf@st.com> <6661527.9k004Oio64@eve> <1768467.U8M6HPhz0d@peak> <5A267913.5030902@youngman.org.uk> From: Raffaele Belardi Message-ID: <8ad51522-2b55-f976-8908-9ad48fe4be52@st.com> Date: Tue, 5 Dec 2017 12:13:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4.0 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 MIME-Version: 1.0 In-Reply-To: <5A267913.5030902@youngman.org.uk> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG4NODE3.st.com (10.75.127.12) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-05_03:,, signatures=0 X-Archives-Salt: 9836aa2d-5c5d-44de-a187-b0a7a0d2e141 X-Archives-Hash: 627b71458a0397cdaff691e8523102b1 Wols Lists wrote: >> >> If a tmpfs fills up, the excess gets swapped out, but with 32GB RAM here I >> haven't yet seen any swap used at all - not even in an emerge -e world. > > Same here. Note that tmpfs defaults to half ram, so that would give you > a 16GB /var/tmp/portage. With 16GB ram here, that would probably cause > things like emerging libreoffice or firefox or gcc to abort. Not really, libreoffice and gcc compile slowly but fine here with 3Gb RAM and 3Gb spin-disk swap, and using PORTAGE_NICENESS=19 the system is still usable (rebuilding world for the profile switch right now). That's with an LXDE desktop, Gnome3 survived only a few months, _that_ was really unusable. $ free total used free shared buff/cache available Mem: 3102960 1316120 964848 370488 821992 1123260 Swap: 3076344 91648 2984696 $ df Filesystem Size Used Avail Use% Mounted on tmpfs 304M 1.9M 302M 1% /run none 1.5G 0 1.5G 0% /dev/shm $ eix -I libreoffice [I] app-office/libreoffice Available versions: 5.4.2.2 (~)5.4.3.2 Installed versions: 5.4.3.2 $ gcc-config -l [1] i686-pc-linux-gnu-7.2.0 * $ qlop -gH libreoffice | tail -n 2 libreoffice: Wed Nov 22 18:13:17 2017: 12 hours, 37 minutes, 9 seconds libreoffice: 13 times $ qlop -gH gcc | tail -n 2 gcc: Mon Dec 4 21:50:26 2017: 3 hours, 9 minutes, 7 seconds gcc: 80 times $ uname -a Linux ws2912 4.14.0-gentoo #1 SMP Fri Nov 17 09:31:56 CET 2017 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz GenuineIntel GNU/Linux