[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: high temperature with gnumach and hurd



> > > > > just wanted to tell you, that the temperature of my cpu is raising to
> > > > > very high values, while having the hurd system running.
> > >  This was sort of brought up a while ago with respect to a laptop.
> > > Mach actively sends idle instructions to the cpu, so the cpu is always
> > > at full usage, this may be causing the heat up.
> > Exactly. On x86, sending a hlt instruction will block the CPU
> > until an interrupt trickles in (e.g. hw clock, etc...). 
> In oskit/x86/main.c:
> 
> void
> machine_idle (int mycpu)
> {
>   asm volatile ("hlt" : : : "memory");
> }

This is oskit's machine_idle() function. The question is
wether it is actually _used_ in the idle loop. OSKit is
a rather large library... :)

How does the idle loop itself look like?

> Same for GNUMach 1.3. In the GNUMach 1.3 changelog I see this function
> was added a few days before 1.3 was released. Perhaps Jochen is using
> GNUMach 1.2?
> 
> Thanks,
> Marco

-Farid.

-- 
Farid Hajji. http://www.farid-hajji.net/address.html 



Reply to: