From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 22:04:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9CE516A401 for ; Thu, 8 Feb 2007 22:04:01 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from lmfilto02.st1.spray.net (lmfilto02.st1.spray.net [212.78.202.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE2913C48E for ; Thu, 8 Feb 2007 22:04:01 +0000 (UTC) (envelope-from daniel.tourde@spray.se) Received: from lmfilto02.st1.spray.net (localhost [127.0.0.1]) by lmfilto02-10027.st1.spray.net (Postfix) with ESMTP id 3E54616E2D2C; Thu, 8 Feb 2007 21:11:11 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by lmfilto02-10025.st1.spray.net (Postfix) with ESMTP id 017C616DED7A; Thu, 8 Feb 2007 21:11:11 +0000 (GMT) Received: from cmcodec04.st1.spray.net (localhost [127.0.0.1]) by cmcodec04.st1.spray.net (Postfix) with SMTP id 36E59CA581; Thu, 8 Feb 2007 21:11:10 +0000 (GMT) Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=spray.se; h=From:Subject; b=T8rOFNuXLbxURiNTmllRrC+pq41s9lUYAZHXgi0PQkg+9VkMc7Z0mFxbK+xHVWQ4kgZRZ/JhZa8VrG/ZzS155WMKwuq3qsi0vNm3lOXLdE/pKGaHbijDE7yNfE54lBWfWQAwdTdcoV2+HudN7IaVVNqLZAgmH+RqXU1AdzVcda0=; From: "Daniel Tourde" To: "Daniel Tourde" ; "Bill Moran" Message-ID: <197003711018545@lycos-europe.com> X-Mailer: LycosMail X-Priority: 3 X-Originating-IP: 213.114.133.97 Mime-Version: 1.0 Date: Thu, 8 Feb 2007 21:11:09 +0000 Content-Type: multipart/mixed; boundary="=_NextPart_Lycos_185451970037111_ID"; boundary="=_NextPart_Lycos_185451970037111_ID" X-Lycos-AS: 0.20 X-Lycos-AV: OK X-Lycos-IS: NO Cc: freebsd-questions@freebsd.org Subject: Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 22:04:01 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Lycos_185451970037111_ID Content-Type: text/plain; charset="windows-1252"; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Hello Bill,=20 Thanks for your answer > > I have at my disposal an Inspiron 9400 with an Intel Core FreeB= SD > 6.2 > > is installed and rebuilt to fit the processor. The kerne l is in SM= P > mode. > > I noticed something strange: When I compile using ma in the port= s > > tree, I only have 50% load. CPU1 is used at CPU0 is idle... >=20 > How do you know this? With 'top' >=20 > > I tried make -j2 but it did not work, Any idea? >=20 > -j2 does not guarantee that you'll use both CPUs. It's entirely possib= le > that the IO is slow enough that both of the processes are waiting on di= sk > and only able to push the overall system usage to 50%. Try make -j99. >=20 > Also, there are places in the build process where it's only possible to > run one process at a time, so you can't just take a single snapshot of > it, you have to watch it over time. I think it's more that the port tree does not really like parallel proces= ses... > I'm still not convinced anything is wrong: > *) Does dmesg show the second CPU starting? Yes > *) Does top show a column for CPU binding? Are different processes bou= nd > to different CPUs? Yes > *) Are these hyperthreaded CPUs? If so, is hyperthreading enabled? HT= is > disabled by default on FreeBSD, and overall usage will never go abov= e > 50% if HT is off. No, it's a Dual Core Daniel F=F6rena nytta med n=F6je. Koppla av och ha kul samtidigt som du har chan= sen att vinna pengar p=E5 din skicklighet. P=E5 Spray spel kan du t=E4vla= mot andra och den som =E4r b=E4st kan vinna mycket pengar. Till spelen: = http://www.spray.se/underhallning/spel/ --=_NextPart_Lycos_185451970037111_ID--