Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 May 2002 10:16:31 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jonathan Mini <mini@freebsd.org>
Cc:        freebsd-smp@FreeBSD.ORG, Andrew Gallatin <gallatin@cs.duke.edu>
Subject:   Re: hlt when idle?
Message-ID:  <XFMail.20020502101631.jhb@FreeBSD.org>
In-Reply-To: <20020501151123.G30080@stylus.haikugeek.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 01-May-2002 Jonathan Mini wrote:
> Andrew Gallatin [gallatin@cs.duke.edu] wrote :
>>  > No, the interrupts seem to be round-robin, but each clock intr is only
>>  > sent to one CPU unlike on alpha where they are broadcast.
>> 
>> So each CPU gets (1/num_cpu) * hz  clock interrupts/sec?
> 
> Yes, but because the timer is set to num_cpu*hz, each CPU ends up getting
> the normal hz interrupts. That's why it runs round-robin but looks like a
> broadcast.

Eh, are you talking about the Alpha?  On x86 we don't do this and have to use
IPI's to simulate a broadcast-type deal.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020502101631.jhb>