Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2007 23:06:47 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        Martin Cracauer <cracauer@cons.org>, freebsd-current@freebsd.org, Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>
Subject:   Re: CURRENT Kernel makes the system run very very hot
Message-ID:  <475DB877.1060306@gmail.com>
In-Reply-To: <28655.1197320193@critter.freebsd.dk>
References:  <28655.1197320193@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475DB877.1060306>