From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759384AbZEGQh7 (ORCPT ); Thu, 7 May 2009 12:37:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752832AbZEGQhu (ORCPT ); Thu, 7 May 2009 12:37:50 -0400 Received: from smtp-outbound-2.vmware.com ([65.115.85.73]:46434 "EHLO smtp-outbound-2.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754130AbZEGQht (ORCPT ); Thu, 7 May 2009 12:37:49 -0400 Subject: Re: [PATCH] x86: Reduce the default HZ value From: Alok Kataria Reply-To: akataria@vmware.com To: Alan Cox Cc: Christoph Lameter , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , the arch/x86 maintainers , LKML In-Reply-To: <20090507161440.5b9c067d@lxorguk.ukuu.org.uk> References: <1241462661.412.8.camel@alok-dev1> <4A00ADDE.9000908@zytor.com> <1241560625.8665.17.camel@alok-dev1> <20090507161440.5b9c067d@lxorguk.ukuu.org.uk> Content-Type: text/plain Organization: VMware INC. Date: Thu, 07 May 2009 09:37:50 -0700 Message-Id: <1241714270.32495.6.camel@alok-dev1> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.3) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2009-05-07 at 08:14 -0700, Alan Cox wrote: > On Thu, 7 May 2009 10:13:52 -0400 (EDT) > Christoph Lameter wrote: > > > I think we need to reduce the general tick frequency to be as low as > > possible. With high resolution timers the tick frequency is just the > > frequency with which the timer interrupt disturbs a running application. > > > > Are there any benefits remaining from frequent timer interrupts? I would > > think that 60 HZ would be sufficient. > > 50 works for various european video apps, 60 breaks, 60 works for various > US video apps, 50 breaks. Now that may have changed with all the select > stuff being hrtimer based (which I'd missed). I would have assumed whatever timeout mechanism the video apps use should have already been converted to hrtimers ? Or are you saying that they use select stuff which is already hrtimer based and so there shouldn't be any problem now for video apps ? > > The tick also still appears to be involved in ntp and in cpu stats where > a 50Hz tick would mean only 25Hz accuracy on CPU usage etc >