From owner-freebsd-smp Wed May 1 15: 6:59 2002 Delivered-To: freebsd-smp@freebsd.org Received: from 12-234-96-171.client.attbi.com (12-234-96-171.client.attbi.com [12.234.96.171]) by hub.freebsd.org (Postfix) with ESMTP id 12D4637B404; Wed, 1 May 2002 15:06:57 -0700 (PDT) Received: by 12-234-96-171.client.attbi.com (Postfix, from userid 1000) id 56D9AA900; Wed, 1 May 2002 15:11:23 -0700 (PDT) Date: Wed, 1 May 2002 15:11:23 -0700 From: Jonathan Mini To: Andrew Gallatin Cc: John Baldwin , freebsd-smp@FreeBSD.ORG Subject: Re: hlt when idle? Message-ID: <20020501151123.G30080@stylus.haikugeek.com> References: <15567.62317.677224.3470@grasshopper.cs.duke.edu> <15568.20086.979721.992191@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15568.20086.979721.992191@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, May 01, 2002 at 04:22:14PM -0400 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. -- Jonathan Mini http://www.haikugeek.com "He who is not aware of his ignorance will be only misled by his knowledge." -- Richard Whatley To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message