From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 04:49:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52B75106566B for ; Tue, 24 Jun 2008 04:49:18 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAA78FC24 for ; Tue, 24 Jun 2008 04:49:18 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 15C6E33C62; Mon, 23 Jun 2008 21:49:37 -0700 (PDT) Received: from postfix.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id A9D2333C5B; Mon, 23 Jun 2008 21:49:36 -0700 (PDT) Received: by postfix.alerce.com (Postfix, from userid 501) id B2BF54593F4; Mon, 23 Jun 2008 21:49:16 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18528.31948.654968.52376@almost.alerce.com> Date: Mon, 23 Jun 2008 21:49:16 -0700 To: Frank Shute In-Reply-To: <20080623224658.GA28873@melon.esperance-linux.co.uk> References: <18527.62508.451095.415706@almost.alerce.com> <8cb6106e0806231218jcbdffa8jec894b7fb31290c4@mail.gmail.com> <18528.3319.352684.890447@almost.alerce.com> <20080623224658.GA28873@melon.esperance-linux.co.uk> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: George Hartzell , freebsd-questions@freebsd.org Subject: Re: CPU temp's on core 2 duo, should they be significantly different? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 04:49:18 -0000 Frank Shute writes: > [...] > My top on 7.0 says "CPU states:" not "CPU:" > > Are you sure you're running on 2 cores? > > dmesg will tell you and top will have a "C" column with 0 or 1 in it. > > If you're running on one core, it will explain the temperature > discrepancy. I'm almost certain that I'm running on 2 cores. My /usr/bin/top says that it's version: top: version 3.5beta12 It does the a C column with 0 and 1. I created a big file full of random data and bzip'd it. One copy of the file took 20 seconds. Two copies, two processes ran in 20 seconds each. Three copies, three processes too 32 seconds. Tops tells me that some things are running on CPU0 and others are on CPU1. My config file is a copy of GENERIC and includes 'options SMP'. As the machine boots it talks about finding both CPUS. Here's the config file: http://shrimp.alerce.com/bluetoo-info/BLUETOO.txt Here's the verbose dmesg: http://shrimp.alerce.com/bluetoo-info/dmesg.verbose.txt and my rc.conf: http://shrimp.alerce.com/bluetoo-info/rc.conf.txt and here's top: last pid: 1650; load averages: 0.00, 0.04, 0.11 up 0+02:43:22 21:47:06 51 processes: 1 running, 50 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 22M Active, 518M Inact, 200M Wired, 214M Buf, 3189M Free Swap: 4063M Total, 4063M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 861 root 1 44 0 5688K 1148K select 1 0:01 0.00% powerd 1336 hartzell 1 44 0 33756K 4608K select 0 0:00 0.00% sshd 980 root 1 44 0 73860K 7192K select 1 0:00 0.00% httpd 854 root 1 44 0 9432K 2284K select 1 0:00 0.00% ntpd 1338 hartzell 1 20 0 10100K 3060K pause 1 0:00 0.00% tcsh 921 root 1 8 0 4600K 972K nanslp 1 0:00 0.00% svscan 1019 root 1 44 0 10696K 3868K select 1 0:00 0.00% sendmail 900 root 1 44 0 13416K 2772K select 1 0:00 0.00% nmbd 1104 hartzell 1 5 0 10100K 2752K ttyin 0 0:00 0.00% tcsh 943 dnscache 1 44 0 5624K 2368K select 1 0:00 0.00% dnscache 1333 root 1 4 0 33756K 4544K sbwait 1 0:00 0.00% sshd 733 root 1 44 0 5688K 1368K select 1 0:00 0.00% syslogd 942 root 1 44 0 6624K 1560K select 1 0:00 0.00% atalkd 971 avahi 1 44 0 15652K 2580K select 1 0:00 0.00% avahi-daemon 804 root 1 96 0 4604K 1424K select 0 0:00 0.00% nfsd 1092 root 1 8 0 20440K 1896K wait 1 0:00 0.00% login g.