From: Vasileios Gkanis Subject: Re: High frequency sound when loading the processor module -- Please help Date: Fri, 8 Apr 2005 15:47:30 -0600 Message-ID: <200504081647.30433.gkanis@cems.umn.edu> References: <200504081428.48477.gkanis@cems.umn.edu> <200504081528.51796.gkanis@cems.umn.edu> <20050408203934.GA18490@isilmar.linta.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050408203934.GA18490-JwFqNg2GrOVrgjWwlLH9qw@public.gmane.org> Content-Disposition: inline Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: Dominik Brodowski , Philipp Wollermann List-Id: linux-acpi@vger.kernel.org If in the file include/asm-i386/param.h, I change the #ifdef __KERNEL__ # define HZ 1000 /* Internal kernel timer frequency */ # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #endif to #ifdef __KERNEL__ # define HZ 100 /* Internal kernel timer frequency */ # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ # define CLOCKS_PER_SEC (USER_HZ) /* like times() */ #endif will it do the trick or will I make a mess? Can I experiment with different values? I read that RedHat uses HZ=512 On Friday 08 April 2005 03:39 pm, Dominik Brodowski wrote: > On Fri, Apr 08, 2005 at 02:28:51PM -0600, Vasileios Gkanis wrote: > > Hi, > > > > I have two objections to what you said: > > If what you are saying is correct (I am not arguing with you on the > > quality of the switches ....you might be right ...) > > 1) I should hear this sound in Windows, but I do not > > 2) I should hear the sound only when the system switches between the > > states, and not all the time. > > > > I think it is a driver issue. > > It is the CPU being woken up 1000 times a second, thus switching between > the states indeed this often. You can either use HZ - modifying patch or a > patch making the system "tickless" to avoid these sounds. Both patch types > are quite / very experimental, however. > > Dominik > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click