From owner-freebsd-current@FreeBSD.ORG Mon Dec 10 22:06:54 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9B316A46E for ; Mon, 10 Dec 2007 22:06:54 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id B06FA13C455 for ; Mon, 10 Dec 2007 22:06:53 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so78301uge.37 for ; Mon, 10 Dec 2007 14:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=JVyi1bgFlMuNDqQCOoJ3aLjW7w3e+wLNNLyCRuRXeQg=; b=K5Gv88uaP/Td4LXevywyydNgvy0kfwJQ6DL5Zkc/OON/eMzok+0yIGeGJiix0TY/0dcE/uYxaclRM1DxvyQoZhOxN93VLjSCu+f3kFlMq2ZPNNddeMaku1TR4ofl4nm5Yh+aOqoyf8xbiEIk6HUc8SRvcXww/Y2O/1ErsMrVAq8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=HKLNPrL/pb0OMthdguT7fEpExjUkJAke/mOQxlja+N7ipL+mJTRCLzE2kaGQg80YhnZj9SybMjV+HH6q9f1sbYoLa2pn+WUitmSnzZ06n+UrzKNLlaAmklIyWqtTvPAd/jOBIhRaqSn/TFUS/ZKbOTouQFjrtXUQOGDiCXI01hI= Received: by 10.78.132.2 with SMTP id f2mr3907357hud.1197324412088; Mon, 10 Dec 2007 14:06:52 -0800 (PST) Received: from ip4da3ae31.direct-adsl.nl.0.163.77.in-addr.arpa ( [77.163.174.49]) by mx.google.com with ESMTPS id i4sm456013nfh.2007.12.10.14.06.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Dec 2007 14:06:50 -0800 (PST) Message-ID: <475DB877.1060306@gmail.com> Date: Mon, 10 Dec 2007 23:06:47 +0100 From: Rene Ladan User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Poul-Henning Kamp References: <28655.1197320193@critter.freebsd.dk> In-Reply-To: <28655.1197320193@critter.freebsd.dk> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Martin Cracauer , freebsd-current@freebsd.org, Thomas Sparrevohn Subject: Re: CURRENT Kernel makes the system run very very hot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 22:06:54 -0000 Poul-Henning Kamp schreef: > In message <20071210201106.GB90158@cons.org>, Martin Cracauer writes: > > I installed this on my laptop yesterday: > > FreeBSD critter.freebsd.dk 8.0-CURRENT FreeBSD 8.0-CURRENT > #0: Sun Dec 9 10:41:25 UTC 2007 > root@critter.freebsd.dk:/usr/obj/freebsd/src/sys/C5 i386 > > And it does indeed look like the idle threads do not HLT the cpu. > > Interestingly, powerd(8) does the right thing and throttles down > the cpu clock even though the idle threads churn away. > > top -HS shows: > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 10 root 171 ki31 0K 16K CPU1 1 25.2H 100.00% {idle: cpu1} > 10 root 171 ki31 0K 16K RUN 0 25.2H 95.36% {idle: cpu0} > 928 phk 45 0 319M 68624K *Giant 0 42:46 0.98% Xorg > 28654 phk 44 0 3540K 1552K CPU1 0 0:01 0.98% top > 982 phk 44 0 6500K 3940K select 1 11:03 0.29% xterm > 11 root -24 - 0K 112K WAIT 1 19:49 0.00% {swi6: task queu > Similar results here: last pid: 1698; load averages: 0.18, 0.08, 0.02 up 0+02:09:26 23:00:57 139 processes: 4 running, 116 sleeping, 19 waiting CPU states: % user, % nice, % system, % interrupt, % idle Mem: 250M Active, 211M Inact, 119M Wired, 19M Cache, 112M Buf, 1405M Free Swap: 4062M Total, 4062M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 171 ki31 0K 16K RUN 0 242:19 91.21% {idle: cpu0} 10 root 171 ki31 0K 16K RUN 1 242:19 84.72% {idle: cpu1} hw.acpi.thermal.tz0.temperature goes up from ~35C to >47C after logging in at the console. The box is otherwise idle. This is with SCHED_4BSD, PREEMPTION, IPI_PREEMPTION, MPTABLE_FORCE_HTT, STOP_NMI and the debugging options for CURRENT. Note that the TIME values are doubled in top (242:19 == 04:02:19 ~= 2*(02:09:26) ) Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001