From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 22:53:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46A58CC2 for ; Wed, 27 Feb 2013 22:53:12 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 0720A897 for ; Wed, 27 Feb 2013 22:53:11 +0000 (UTC) Received: from [188.108.250.211] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1UAprp-00016g-FL; Wed, 27 Feb 2013 23:52:53 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Frederico Costa" Subject: Re: Performance Related Question References: <8d801e895617b492ddf724b6ce980448@www.mufley.com> <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> Date: Wed, 27 Feb 2013 23:53:03 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <95256df2d5f04884368acf0f73bb82d0@www.mufley.com> User-Agent: Opera Mail/12.14 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.6/16753/Wed Feb 27 18:39:24 2013) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2013 22:53:12 -0000 On Wed, 27 Feb 2013 23:38:34 +0100, Frederico Costa wrote: > On 2013-02-27 22:27, Michael Ross wrote: >> If I read you right, you didn't ``make -jX buildworld'', >> with X being the number of processes to spawn, >> so you used just one core on either machine. >> Buildworld does a lot of I/O, so disk speed is relevant. > > Yes, i just made "make buildworld". > > So i should use make -j2 on the S1(dual core) and -j4 on S2 (2xdualcore)? > > And it also makes sense what you say about the I/O. > > i will start another to see the results. > Maybe try higher settings. Handbook ( http://www.freebsd.org/doc/handbook/makeworld.html ) says: However, since much of the compiling process is I/O bound rather than CPU bound, it is also useful on single CPU machines. On a typical single-CPU machine, run: # make -j4 buildworld make(1) will then have up to 4 processes running at any one time. Empirical evidence posted to the mailing lists shows this generally gives the best performance benefit. On a multi-CPU machine using an SMP configured kernel, try values between 6 and 10 and see how they speed things up. > Thanks > > fred > >> On Wed, 27 Feb 2013 23:05:44 +0100, Frederico Costa >> wrote: >> >>> Hi everyone... >>> I have a kind of interesting question when comes to performance of >>> FreeBSD in different HW. i am not trying to come up with a scientific >>> reason for measuring performance. :-) >>> It is just a curiosity, and of course to see if i understand it and >>> improve performance of my systems. >>> i am running 2 systems at the moment, lets call them S1 and S2, >>> running FreeBSD 9.1-RELEASE-p1 amd64: >>> S1: >>> Intel Core2 Duo E6550 @ 2.33GHz >>> 2GB RAM >>> 500GB disk (not important probably just for reference) >>> S2: >>> 2x Dual-Core AMD Opteron 2216 2.4GHz >>> 14GB Ram >>> 320GB disk (not important probably just for reference) >>> Both the systems are running more or less the same sw, apache, imap >>> server, postfix, and the needed perl/php/python and running very light >>> load. Also both are using a GENERIC kernel and not running X, they >>> are >>> just text based :-) >>> From cpubenchmark.net the cpu performance index are for s1: 1501 and >>> s2: 1518, so very similar. >>> As i felt the AMD system seemed slower when comes to compiling, i just >>> done a "performance test" which was "make buildworld" on both of >>> systems from scratch and the times are: >>> S1: 2h 12m >>> S2: 2h 59m >>> >> If I read you right, you didn't ``make -jX buildworld'', >> with X being the number of processes to spawn, >> so you used just one core on either machine. >> Buildworld does a lot of I/O, so disk speed is relevant. >> Regards, >> Michael