From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 03:20:59 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 544B910656E3 for ; Tue, 24 Jun 2008 03:20:59 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 1A1618FC1C for ; Tue, 24 Jun 2008 03:20:58 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so9829108rvf.43 for ; Mon, 23 Jun 2008 20:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=G58Kf1gsMa0aKa8HzGKUnsj9XTKZI30pcoKyBahhC0A=; b=sdlsEb+MbCF/gUO9AMW2CWiU5flBNdEpsmZbllWtN4+wv/9FrisNY1BLS9se+FliX1 a7abg579qbQl1Xo7wgWZKe6FxlcBtolUHWlS64XeC/r0H/EcX1FXW7zS3pQT8H/ZnIaG GzJu9kBipeuYhc6f71dV6+NSotfdjatR0i1wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=kthTNCZzRs7lyAq33LHi7BqOv1O3KuDLN39hp0gEGBlnusFf75efDb6xa3wG53X8Cs ZuhrnEyDOu47Hp7V7MfvXgzZdRd1Xpf5GgOZkRjI1C9zQbZEEkGsiHJeXeQEMowX3GRi 3DVsKuLdYU5RcRnSkoE5WZLgQ68Trvtio2if4= Received: by 10.140.201.15 with SMTP id y15mr13947755rvf.33.1214277658537; Mon, 23 Jun 2008 20:20:58 -0700 (PDT) Received: from 200-117-245-190.fibertel.com.ar ( [190.245.117.200]) by mx.google.com with ESMTPS id 6sm9312397ywi.1.2008.06.23.20.20.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Jun 2008 20:20:57 -0700 (PDT) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Tue, 24 Jun 2008 00:20:52 -0300 User-Agent: KMail/1.9.7 References: <18527.62508.451095.415706@almost.alerce.com> In-Reply-To: <18527.62508.451095.415706@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806240020.52832.gnemmi@gmail.com> 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 03:20:59 -0000 On Monday 23 June 2008 16:06:20 George Hartzell wrote: > DA Forsyth recently mentioned the coretemp driver, which fetches the > core temperatures for Core 2 Duo chips. > > I'm in the middle of building up a Shuttle SG31G2 (7-STABLE) and > loaded the driver to see what it told me. > > I've noticed that cpu.0 is consistently hotter than cpu.1, even on an > unloaded machine. Is that because that core's doing housekeeping work > whilst the other is truly idle? > > dev.cpu.0.temperature: 44 > dev.cpu.1.temperature: 29 > > If I background a pair of "dd if=/dev/urandom of=/dev/null" so that > the cpu's are busy, both go up but cpu.0 stays hotter. > > I'm asking because I'm worried that this could be a sign that I didn't > get the heatsink goop spread out sufficiently well.... > > Thanks, > > g. For what is worth .. my readings: root@inferna:~ # kldload coretemp root@inferna:~ # sysctl kern.version kern.version: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC root@inferna:~ # sysctl hw.model hw.model: Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz root@inferna:~ # sysctl dev.cpu.0.temperature; sysctl dev.cpu.1.temperature; date "+%H:%M:%S" dev.cpu.0.temperature: 25 dev.cpu.1.temperature: 24 00:08:29 root@inferna:~ # dd if=/dev/urandom of=/dev/null & [1] 5482 root@inferna:~ # date "+%H:%M:%S" 00:08:48 root@inferna:~ # sysctl dev.cpu.0.temperature; sysctl dev.cpu.1.temperature; date "+%H:%M:%S" dev.cpu.0.temperature: 36 dev.cpu.1.temperature: 36 00:10:39 root@inferna:~ # j [1] + 5482 Running dd if=/dev/urandom of=/dev/null root@inferna:~ # date "+%H:%M:%S" 00:11:13 root@inferna:~ # sysctl dev.cpu.0.temperature; sysctl dev.cpu.1.temperature; date "+%H:%M:%S" dev.cpu.0.temperature: 40 dev.cpu.1.temperature: 37 00:11:38 root@inferna:~ # sysctl dev.cpu.1.temperature ; sysctl dev.cpu.1.temperature ; date "+%H:%M:%S" dev.cpu.1.temperature: 35 dev.cpu.1.temperature: 35 00:13:58 root@inferna:~ # j; date "+%H:%M:%S" [1] + 5482 Running dd if=/dev/urandom of=/dev/null 00:14:20 root@inferna:~ # sysctl dev.cpu.1.temperature ; sysctl dev.cpu.1.temperature ; date "+%H:%M:%S" dev.cpu.1.temperature: 39 dev.cpu.1.temperature: 39 00:14:30 root@inferna:~ # sysctl dev.cpu.1.temperature ; sysctl dev.cpu.1.temperature ; date "+%H:%M:%S" dev.cpu.1.temperature: 37 dev.cpu.1.temperature: 37 00:14:57 root@inferna:~ # fg dd if=/dev/urandom of=/dev/null ^C29752816+0 records in 29752816+0 records out 15233441792 bytes transferred in 378.928688 secs (40201342 bytes/sec) root@inferna:~ # Hope it helped :) -- Blessings Gonzalo Nemmi