From owner-freebsd-hackers@FreeBSD.ORG Fri May 5 02:29:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DFC216A406 for ; Fri, 5 May 2006 02:29:24 +0000 (UTC) (envelope-from yosimoto@waishi.jp) Received: from ns.waishi.jp (ns.waishi.jp [61.199.233.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1584243DBF for ; Fri, 5 May 2006 02:28:54 +0000 (GMT) (envelope-from yosimoto@waishi.jp) Received: from darwin.waishi.jp (darwin.waishi.jp [61.199.233.196]) by ns.waishi.jp (Postfix) with ESMTP id 41CF1D8F37 for ; Fri, 5 May 2006 11:28:51 +0900 (JST) Date: Fri, 5 May 2006 11:28:50 +0900 From: Shin-ichi Yoshimoto To: freebsd-hackers@freebsd.org Message-ID: <20060505112850.667730.117329f3@waishi.jp> In-Reply-To: <445AB56F.8090907@centtech.com> References: <445AB56F.8090907@centtech.com> Mime-Version: 1.0 (GMessage framework 1.3.8) Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Organization: WAISHI.JP X-Mailer: GyazMail version 1.3.8 Subject: Re: Core Duo - only one cpu being used X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 02:29:24 -0000 On Thu, 04 May 2006 21:16:15 -0500, Eric Anderson wrote: > Forgive me if I've missed this on a list somewhere, but My new laptop > with a Core Duo doesn't seem to use both CPU's. It sees both, but I > never see anything on cpu 1. Here's a top snippet: My new desktop (M/B is ASUS N4L-VM DH) with a Core Duo is fine to use both CPU's in 6.1-RC like this: last pid: 546; load averages: 0.01, 0.11, 0.07 up 0+00:06:20 11:23:32 23 processes: 1 running, 22 sleeping CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 9312K Active, 84M Inact, 81M Wired, 112M Buf, 1822M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 533 root 1 76 0 2272K 1532K CPU0 0 0:00 0.00% top 509 root 1 4 0 6104K 3064K sbwait 1 0:00 0.00% sshd 401 root 1 76 0 2840K 1700K select 0 0:00 0.00% ntpd 520 root 1 20 0 5388K 3064K pause 1 0:00 0.00% tcsh 512 yosimoto 1 76 0 6080K 3076K select 0 0:00 0.00% sshd 513 yosimoto 1 20 0 5060K 2848K pause 1 0:00 0.00% tcsh 296 root 1 76 0 1300K 948K select 0 0:00 0.00% syslogd 519 yosimoto 1 8 0 1604K 1292K wait 1 0:00 0.00% su 432 root 1 76 0 3400K 2728K select 0 0:00 0.00% sendmail 442 root 1 8 0 1312K 1044K nanslp 0 0:00 0.00% cron 502 root 1 5 0 1268K 904K ttyin 0 0:00 0.00% getty 504 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 507 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 508 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 505 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 506 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 501 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 503 root 1 5 0 1268K 904K ttyin 1 0:00 0.00% getty 426 root 1 76 0 3356K 2540K select 0 0:00 0.00% sshd 436 smmsp 1 20 0 3300K 2704K pause 0 0:00 0.00% sendmail 262 root 1 82 0 500K 360K select 1 0:00 0.00% devd 145 root 1 20 0 1176K 680K pause 0 0:00 0.00% adjkerntz 463 root 1 139 0 1260K 768K select 0 0:00 0.00% moused > All processes are on cpu 0. Output of sysctl dev.cpu shows: In my case: # sysctl -a | grep dev.cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU1 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=\_PR_.CPU2 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%parent: acpi0 --- Shin-ichi YOSHIMOTO