From owner-freebsd-questions@FreeBSD.ORG Sun Jul 30 18:36:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D25316A4E0 for ; Sun, 30 Jul 2006 18:36:06 +0000 (UTC) (envelope-from hakmi@rogers.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id B7AF743D49 for ; Sun, 30 Jul 2006 18:36:05 +0000 (GMT) (envelope-from hakmi@rogers.com) Received: (qmail 20996 invoked from network); 30 Jul 2006 18:36:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:From:To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:In-Reply-To:X-MimeOLE:Thread-Index; b=KVnD57hl5lKyPMhT10HhFHSfvimrLmWhyzN7gfxplhdK0iCP74kNDxhNEFFtENmJAi7qer2tF1qPqtHU3d3vjxkbeSKj3+Mw6U2F01VcNcYVBpa5ad/oZV4VRbzmPI+upC4GeMvam9Evc4IiQ3SiqRfnLv5MCiPB9WPK46hEClo= ; Received: from unknown (HELO tamouh) (hakmi@rogers.com@70.27.160.99 with login) by smtp101.rog.mail.re2.yahoo.com with SMTP; 30 Jul 2006 18:36:04 -0000 From: "Tamouh H." To: "'Jonathan Horne'" , Date: Sun, 30 Jul 2006 14:36:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <200607300954.15235.freebsd@dfwlp.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: Acaz6Dws8H5lYfrvSp6fVdyxGqfyogAHktwQ Message-Id: <20060730183605.B7AF743D49@mx1.FreeBSD.org> Cc: Subject: RE: anyone with a p4 HT machine ever see anything from cpu1? 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: Sun, 30 Jul 2006 18:36:06 -0000 > just a snip of my top window, but as far down as i can=20 > stretch my 1280x1024 screen, its all "cpu 0" processes, even=20 > while compiling. >=20 > last pid: 16214; load averages: 0.75, 0.35, 0.17 up=20 > 1+00:37:34 =20 > 09:43:04 > 114 processes: 2 running, 112 sleeping > CPU states: 34.2% user, 0.0% nice, 15.4% system, 0.4%=20 > interrupt, 50.0% idle > Mem: 202M Active, 456M Inact, 232M Wired, 860K Cache, 110M=20 > Buf, 97M Free > Swap: 983M Total, 983M Free >=20 > PID USERNAME THR PRI NICE SIZE RES STATE C TIME =20 > WCPU COMMAND > 8805 root 1 8 0 35880K 35552K wait 0 0:11=20 > 15.64% ruby18 > 15952 root 1 8 0 1224K 1112K wait 0 0:00 =20 > 8.00% make > 15925 root 1 8 0 1224K 1112K wait 0 0:00 =20 > 3.59% make > 656 jhorne 1 96 0 303M 53372K select 0 8:25 =20 > 2.69% Xorg > 742 jhorne 1 96 0 12632K 8252K select 0 16:42 =20 > 1.03% gkrellm > 1337 jhorne 1 96 0 29092K 21276K select 0 0:02 =20 > 0.78% kdeinit > 732 jhorne 1 96 0 30700K 22904K select 0 1:21 =20 > 0.10% kdeinit > 293 root 1 96 0 1260K 684K select 0 0:24 =20 > 0.05% moused > 752 jhorne 1 96 0 25780K 17952K select 0 7:07 =20 > 0.00% kdeinit > 738 jhorne 4 20 -76 14012K 8132K kserel 0 1:34 =20 > 0.00% artsd > 758 jhorne 1 96 0 31820K 21544K select 0 1:24 =20 > 0.00% kdeinit > 720 jhorne 1 96 0 30724K 22796K select 0 1:13 =20 > 0.00% kdeinit > 695 jhorne 1 96 0 3532K 2012K select 0 0:41 =20 > 0.00% gam_server > 728 jhorne 1 96 0 25596K 17556K select 0 0:12 =20 > 0.00% kdeinit >=20 > dmesg shows that freebsd sees the other cpu... >=20 > [root@athena ~]# dmesg | grep cpu > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > cpu1: on acpi0 > acpi_throttle1: on cpu1 cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu0: on acpi0 > acpi_throttle0: on cpu0 > cpu1: on acpi0 > acpi_throttle1: on cpu1 >=20 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0=20 > (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > SMP: AP CPU #1 Launched! >=20 > so is the SMP portion of the technology as worthless as 'they' say? >=20 > thanks, > jonathan FBSD 6.1 and 5.4 had no problems with HT on P4 and Xeon processors. I = also mentioned the machines ran better with HT enabled than being = disabled. do a check to make sure HT is enabled: sysctl -a machdep.hyperthreading_allowed last pid: 20206; load averages: 0.10, 0.03, 0.01 = up 6+02:30:20 14:34:40 158 processes: 1 running, 157 sleeping CPU states: 3.4% user, 0.0% nice, 1.9% system, 0.2% interrupt, 94.5% = idle Mem: 279M Active, 411M Inact, 263M Wired, 32M Cache, 111M Buf, 9560K = Free Swap: 3000M Total, 202M Used, 2798M Free, 6% Inuse PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU = COMMAND 810 mysql 52 20 0 69304K 17080K kserel 1 12:07 0.00% = mysqld 2205 clamav 4 20 0 22940K 20256K kserel 1 11:44 0.00% clamd 617 mailman 1 8 0 7960K 1416K nanslp 0 1:50 0.00% = python2.4 615 mailman 1 8 0 7968K 1436K nanslp 1 1:48 0.00% = python2.4 618 mailman 1 8 0 7976K 1420K nanslp 1 1:47 0.00% = python2.4 22110 mailnull 1 96 0 5668K 656K select 1 1:46 0.00% = exim-4.62-0 616 mailman 1 8 0 7964K 1396K nanslp 1 1:46 0.00% = python2.4 614 mailman 1 8 0 7960K 1400K nanslp 0 1:45 0.00% = python2.4 619 mailman 1 8 0 8020K 1436K nanslp 0 1:45 0.00% = python2.4 621 mailman 1 8 0 7960K 1408K nanslp 0 1:43 0.00% = python2.4 55933 root 1 96 0 2628K 1412K CPU0 0 1:33 0.00% top 50253 root 1 96 0 22860K 13364K select 0 1:06 0.00% perl 1027 mcsupport 1 96 0 6120K 360K select 1 0:58 0.00% sshd 882 mailnull 1 8 0 6168K 2008K nanslp 0 0:53 0.00% = perl5.8.8 22116 root 1 8 0 2684K 1508K nanslp 1 0:40 0.00% = perl5.8.8 505 nobody 1 20 0 13136K 7068K lockf 0 0:26 0.00% httpd 2193 nobody 1 20 0 27340K 7468K lockf 0 0:24 0.00% httpd 474 root 1 96 0 8664K 1596K select 0 0:23 0.00% httpd 492 nobody 1 20 0 12416K 6388K lockf 1 0:21 0.00% httpd 647 root 1 8 0 9552K 1688K nanslp 0 0:21 0.00% = perl5.8.8 495 nobody 1 20 0 20436K 7308K lockf 1 0:17 0.00% httpd 609 root 1 96 0 9700K 2888K select 1 0:16 0.00% cppop 309 root 1 96 0 1300K 424K select 0 0:15 0.00% = syslogd 578 root 1 8 20 8496K 5480K nanslp 0 0:14 0.00% = perl5.8.8