Date: Thu, 8 Feb 2007 21:11:09 +0000 From: "Daniel Tourde" <daniel.tourde@spray.se> To: "Daniel Tourde" <daniel.tourde@spray.se>; "Bill Moran" <wmoran@collaborativefusion.com> Cc: freebsd-questions@freebsd.org Subject: Re: Re: Intel Core Duo. SMP kernel but still only 50% load while using make on ports... Message-ID: <197003711018545@lycos-europe.com>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?197003711018545>