Re: CURRENT Kernel makes the system run very very hot

From: Rene Ladan <r.c.ladan_at_gmail.com>
Date: Mon, 10 Dec 2007 23:06:47 +0100
Poul-Henning Kamp schreef:
> In message <20071210201106.GB90158_at_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_at_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
Received on Mon Dec 10 2007 - 21:06:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC