From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iqtw9-0005Zc-8L for garchives@archives.gentoo.org; Sat, 10 Nov 2007 17:16:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAAHCjUH012606; Sat, 10 Nov 2007 17:12:45 GMT Received: from penguin.linuxhardware.org (penguin.linuxhardware.org [63.173.68.170]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAAHCiXh012575 for ; Sat, 10 Nov 2007 17:12:45 GMT Received: by penguin.linuxhardware.org (Postfix, from userid 1000) id A19FD1E8F2; Sat, 10 Nov 2007 17:12:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by penguin.linuxhardware.org (Postfix) with ESMTP id 993041E8F1 for ; Sat, 10 Nov 2007 17:12:44 +0000 (UTC) Date: Sat, 10 Nov 2007 17:12:44 +0000 (UTC) From: "Kris Kersey (Augustus)" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] compiling on dual-cores - only 50% usage per cpu In-Reply-To: <200711101729.24489.e0026053@student.tuwien.ac.at> Message-ID: References: <200711101729.24489.e0026053@student.tuwien.ac.at> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: f9029c5d-312f-4697-8bb0-202ea52d0259 X-Archives-Hash: 55ba0edfa7195cbf68f2ad9f88a6fd2d You have it right. If a package is not able to build in parallel or if the package exhibits problems because of parallel builds and has had the make flags disabled, then you would only see one file compiled at a time. This will sometimes load one processor at 100% and other times, it will load each processor a fraction of 100%. Keep in mind that the processor statistics you're looking at is over a certain period of time (say one second) and therefor, over that period, it averaged a number smaller than 100%. Thanks, Kris Kersey (Augustus) LinuxHardware.org Site Manager augustus@linuxhardware.org Gentoo Linux AMD64 Developer augustus@gentoo.org AIM: Augustus22 On Sat, 10 Nov 2007, Bernhard Auzinger wrote: > Hi everybody, > > it's not a important question, but has anybody of you noticed when compiling > certain packages the load on both cpu's is only about 50%. I have the feeling > that it happens with packages that can not be split up into two jobs. But in > this case one cpu should be on 100% load and the other one at ~0%. Maybe > someone of you has a good explanation for this behaviour. > > Rgds > Bernhard > -- > gentoo-amd64@gentoo.org mailing list > > -- gentoo-amd64@gentoo.org mailing list