From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 46D4F1384B4 for ; Tue, 10 Nov 2015 19:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5011721C02A; Tue, 10 Nov 2015 19:07:31 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (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 0B498E086E for ; Tue, 10 Nov 2015 19:07:30 +0000 (UTC) Received: by wmec201 with SMTP id c201so149171603wme.0 for ; Tue, 10 Nov 2015 11:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=G9dVPeq3DSH9VI8yRjM9Da4gV4uRZae2PZwxrwiikME=; b=zUlwvXNCixS5x5hBlcRVbDxD1LGWmslQcmGLrw2I/XXOZgzRivkyqz7USCNlzk27rS LStMBYII4bAnbhF6zccJ9WYjW21LueaOlwzQH+no10bhdSHoIFW/3MST7SBGJxYHHmbR O9s6nWJxuWzrYsBHCqMJGr1kg7emmH7rUuYS1iAoEc4w3qKEBx76AUaj+voirzcH4BFo /JbbbLCmsGCNugaj5LaHY8DQYV+JZwXZErtpUlLd1YmR284L+k68Vozc5LQbvOj52EpM l65QVDu7kYnckkd+1uIprL6dQOQ/SNNsTQ1X5kO8k1IhDflMlOe+jfahjsZZ3JuEtsBv xr1A== X-Received: by 10.28.55.212 with SMTP id e203mr36018673wma.7.1447182448766; Tue, 10 Nov 2015 11:07:28 -0800 (PST) Received: from [192.168.88.253] ([130.204.240.118]) by smtp.gmail.com with ESMTPSA id c13sm1313702wmd.14.2015.11.10.11.07.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 11:07:27 -0800 (PST) Subject: Re: [gentoo-user] Better CPU for compiling with gcc To: gentoo-user@lists.gentoo.org References: <56422D9C.6060001@gmail.com> <201511101817.35016.michaelkintzios@gmail.com> <56423958.2030802@gmail.com> <56423DB7.4030605@gmail.com> From: Stanislav Nikolov Message-ID: <5642406E.2080808@gmail.com> Date: Tue, 10 Nov 2015 21:07:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.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: <56423DB7.4030605@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9a2cc0f4-0333-4cad-bfa4-3423a3ff2135 X-Archives-Hash: 98e18789dac9d234c84a609c8076c596 On 11/10/2015 08:55 PM, Alan McKinnon wrote: > On 10/11/2015 20:37, Stanislav Nikolov wrote: >> >> On 11/10/2015 08:17 PM, Mick wrote: >>> On Tuesday 10 Nov 2015 17:47:08 Stanislav Nikolov wrote: >>>> Dear Gentoo users, >>>> I'm building a new PC. I have a budget of ~$550-$650. No GPU, no special >>>> case (I may use a card box), not even a hdd or ssd. So, as you can see, >>>> it's pretty much "get the best CPU and mobo/ram that are compatible with >>>> it". The problem is, which is the best one. By "best" I mean to compile >>>> shit fast. My laptop with 3rd gen i5 compiles firefox for 40 minutes on >>>> average. >>>> >>>> The most expensive Intel CPU is the skylake i7-6700k. But is it the best? >>>> Is there something from AMD that will perform even better? I can't find >>>> any benchmarks with AMD/Intel CPUs. And how much does the mobo matter? >>>> Will a cheap $30 400W PSU power that thing? >>>> >>>> Thanks >>> I don't (yet) own a i7-6700k, but my 6 year old laptop with (1st generation) >>> i7 Q720 @1.60GHz takes slightly less than yours: >>> >>> Sat Oct 3 14:35:40 2015 >>> www-client/firefox-38.3.0 >>> merge time: 36 minutes and 53 seconds. >>> >>> Fri Nov 6 09:10:06 2015 >>> www-client/firefox-38.4.0 >>> merge time: 38 minutes and 8 seconds. >>> >>> >>> In contrast a year old AMD A10-7850K APU is significantly faster: >>> >>> Sat Oct 3 19:40:48 2015 >>> www-client/firefox-38.3.0 >>> merge time: 17 minutes and 42 seconds. >>> >>> Fri Nov 6 08:41:02 2015 >>> www-client/firefox-38.4.0 >>> merge time: 18 minutes and 18 seconds. >>> >>> >>> I would also be interested to see compile times of more modern i7s and FXs, >>> but bear in mind that in single core operations Intel is these days >>> significantly better than AMD. >>> >> So, I shouldn't prepare for a 8x times faster compile time... :( >> > > > I can't help but think you are approaching this from the wrong perspective. > > Why exactly are you using compile times as your sole criterion? Are you > building a compile farm for Ubuntu? Running continuous integration tests > for LibreOffice [on a $600 budget in a cardboard box :-) ]? > > Or do you want emerge world to get it over with quicker? > > If the latter, you better rethink your priorities. In computing terms, > compilation is a rare event; launching apps is a common event; and > writing to the disk happens all the time. Optimize for the common case. > > A CPU never works in isolation, it is always part of a much larger > system, like disks, RAM and all possible kinds of I/O. The best CPU on > the market plugged into a POS motherboard will perform on emerge world > like a piece of shit - it will follow the weakest link. > > If you want to build a compiling machine, buy the best collection of > stuff that works together well and still fits the budget. If you want a > machine that you can use and be happy with, ignoree the temptation to > must have the biggest baddest fastest CU (you will never get to use all > that big bad fast) and invest rather in gobs of RAM and an SSD. Remember > that apps are launched many times more than they are compiled. Or put > another way, sacrifice compilation times t get something you can use. 8GB of RAM are waaay more than I use daily (several firefox tabs, nvim = 2Gb max), I have a pretty fast SSD too. Even buying 8GB RAM and a brand new SSD, I have > $450 left. Can I buy a AMD CPU that will get the job done faster than 6700k and/or cheaper?