Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 11 Jul 2002 20:52:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 11 Jul 2002 20:52:37 -0400 Received: from gateway-1237.mvista.com ([12.44.186.158]:24059 "EHLO hermes.mvista.com") by vger.kernel.org with ESMTP id ; Thu, 11 Jul 2002 20:52:37 -0400 Subject: Re: HZ, preferably as small as possible From: Robert Love To: Thunder from the hill Cc: Stevie O , lkml In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Jul 2002 17:55:20 -0700 Message-Id: <1026435320.1178.362.camel@sinai> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 883 Lines: 26 On Thu, 2002-07-11 at 17:50, Thunder from the hill wrote: > On Thu, 11 Jul 2002, Stevie O wrote: > > Why must HZ be the same as 'interrupts per second'? > > s/interrupts/scheduler calls/ Uh, HZ is not scheduler calls per second. Neither exactly is it interrupts per second, but _timer_ interrupts per second. It is the frequency of the timer interrupt. > But what exactly does this question mean to be? I don't fully understand. > We define HZ to have an interval for the calls of the scheduler. That's > why it is the number of scheduler calls per second, because that's what it > was invented to be. No no no... Robert Love - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/