Re: new idle_proc() makes my laptop very hot

2000-09-22 Thread Bruce Evans
On Fri, 22 Sep 2000, Takaya Ogawa wrote: > Attached patch adds back the HLT in i386 UP case and > seems to fix my problem, although I'm totally > unfamiliar with SMP nor alpha. This has the race bug that was fixed in rev.1.88 of swtch.s. I use the folowing fix. It also fixes the loss of page c

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Kenneth Wayne Culver
My system fans always stay on... but again this is not in a laptop .. it is on my regular pc... = | Kenneth Culver | FreeBSD: The best NT upgrade| | Unix Systems Administrator | ICQ #: 24767726 | |

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Kenneth Wayne Culver
I don't have it enabled... I am not even on my laptop with -CURRENT... this is on my regular PC... and I'm taking my thermal readings by banging around on some memory addys through /dev/io with a little hack of a program I wrote as a windowmaker dockapp for this purpose... =

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Mike Smith
> : >> If I remember from a discussion with John Baldwin, the reason we > : >> don't do this (yet) is that HLT only wakes up when you take an > : >> interrupt, and there are cases where we can't guarantee that we'll > : >> take an interrupt in order to get us out of the HLT. > : > > : >I thought t

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Warner Losh
In message <[EMAIL PROTECTED]> Tony Finch writes: : Warner Losh <[EMAIL PROTECTED]> wrote: : >Mike Smith writes: : >> : >> If I remember from a discussion with John Baldwin, the reason we : >> don't do this (yet) is that HLT only wakes up when you take an : >> interrupt, and there are cases where

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Tony Finch
Warner Losh <[EMAIL PROTECTED]> wrote: >Mike Smith writes: >> >> If I remember from a discussion with John Baldwin, the reason we >> don't do this (yet) is that HLT only wakes up when you take an >> interrupt, and there are cases where we can't guarantee that we'll >> take an interrupt in order to

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Mike Smith
> In message <[EMAIL PROTECTED]> Mike Smith writes: > : If I remember from a discussion with John Baldwin, the reason we don't do > : this (yet) is that HLT only wakes up when you take an interrupt, and > : there are cases where we can't guarantee that we'll take an interrupt in > : order to ge

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : If I remember from a discussion with John Baldwin, the reason we don't do : this (yet) is that HLT only wakes up when you take an interrupt, and : there are cases where we can't guarantee that we'll take an interrupt in : order to get us out o

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Mike Smith
> My laptop does seem to run *MUCH* warmer than before as well. It runs > hot to begin with, but with the latest kernels it runs really hot. It > used to get this hot only when I compiled -j 4. I don't have ACPI > enabled and am using UP kernel. There really needs to be a HLT in the > idle loo

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Warner Losh
In message <[EMAIL PROTECTED]> Kenneth Wayne Culver writes: : I can second this... on my PC the cpu used to run around about 84 degrees : F with the case at 80 degrees F, now the cpu runs at about 91-93 degrees F : while the case runs at 80 degrees F. My laptop does seem to run *MUCH* warmer tha

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Mike Smith
> I can second this... on my PC the cpu used to run around about 84 degrees > F with the case at 80 degrees F, now the cpu runs at about 91-93 degrees F > while the case runs at 80 degrees F. While you're tinkering with SMPng, be VERY SURE that you do not have acpi enabled (ie. make sure it's no

Re: new idle_proc() makes my laptop very hot

2000-09-21 Thread Kenneth Wayne Culver
I can second this... on my PC the cpu used to run around about 84 degrees F with the case at 80 degrees F, now the cpu runs at about 91-93 degrees F while the case runs at 80 degrees F. = | Kenneth Culver | FreeBSD: The

new idle_proc() makes my laptop very hot

2000-09-21 Thread Takaya Ogawa
Hi. After new idle_proc() committed to the tree, my laptop become very hot as if under heavy cpu load even when cpu is actually 95%~ idle. If I understand collectly, idle_proc() doesn't contain any HLT instruction in i386 UP case which former idle() had. Attached patch adds back the HLT in i38