Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268991AbUJQBuM (ORCPT ); Sat, 16 Oct 2004 21:50:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268995AbUJQBuM (ORCPT ); Sat, 16 Oct 2004 21:50:12 -0400 Received: from lakermmtao03.cox.net ([68.230.240.36]:1775 "EHLO lakermmtao03.cox.net") by vger.kernel.org with ESMTP id S268991AbUJQBuH (ORCPT ); Sat, 16 Oct 2004 21:50:07 -0400 In-Reply-To: <1097976283.2148.34.camel@krustophenia.net> References: <41650CAF.1040901@unimail.com.au> <20041007103210.GA32260@atrey.karlin.mff.cuni.cz> <20041007143245.GA1698@openzaurus.ucw.cz> <1097956343.2148.17.camel@krustophenia.net> <1097963167.13226.4.camel@localhost.localdomain> <1097976283.2148.34.camel@krustophenia.net> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: Pavel Machek , Linux Kernel Mailing List , M , Alan Cox From: Kyle Moffett Subject: Re: High pitched noise from laptop: processor.c in linux 2.6 Date: Sat, 16 Oct 2004 21:50:05 -0400 To: Lee Revell X-Mailer: Apple Mail (2.619) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1427 Lines: 34 On Oct 16, 2004, at 21:24, Lee Revell wrote: > I was not there but I imagine this involves a way to get 1khz accuracy > with a 100Hz timer interrupt rate? I think the idea is to (depending on the hardware) dynamically adjust the system timers to exactly the time necessary. If you don't have any important processes that will interrupt within the next 10ms then you can just go ahead and set the timer longer. If properly done you might even be able to set HZ to 20 or 50. Hardware interrupts would trigger immediate responses, but otherwise a non-interactive system could minimize the number of context switches and make the processor cache that much more useful. This would still be bad on an interactive/desktop system because it would mean that perceptive users could detect the switching if they have two computationally intensive jobs running simultaneously. Cheers, Kyle Moffett -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/IT/U d- s++: a17 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------ - 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/