Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754513AbYFKNxO (ORCPT ); Wed, 11 Jun 2008 09:53:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751199AbYFKNw7 (ORCPT ); Wed, 11 Jun 2008 09:52:59 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:39689 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbYFKNw7 (ORCPT ); Wed, 11 Jun 2008 09:52:59 -0400 Date: Wed, 11 Jun 2008 15:52:57 +0200 (CEST) From: Jan Engelhardt To: Arjan van de Ven cc: "Kok, Auke" , "solsTiCe d'Hiver" , linux-kernel@vger.kernel.org Subject: Re: PROBLEM: no cpu MHz in /proc/cpuinfo on 2.6.25.4-rt6 In-Reply-To: <20080611063639.5e1eea5b@infradead.org> Message-ID: References: <200806102152.23286.solstice.dhiver@gmail.com> <20080610131314.5f7069e6@infradead.org> <484EE71A.40002@intel.com> <20080611063639.5e1eea5b@infradead.org> User-Agent: Alpine 1.10 (LNX 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1204 Lines: 29 On Wednesday 2008-06-11 15:36, Arjan van de Ven wrote: >> >> btw this is scary; the Mhz line in /proc/cpuinfo doesn't have much >> >> meaning really, so applications using it and depending on it is a >> >> rather big disaster ;-( >> >> >> >> Does anyone know why jackd wants to use this? >> >> It would be nice to have a /sys file where the CPU frequency is in, > >may I ask why? What would you do with it? Off the top off the head, just for reporting to the user. Desklets and stuff. >If it says 100Mhz, what would you conclude? That you have a slow cpu? >Or that you have a really fast CPU that currently runs at a low >frequency because you're mostly idle and are saving power? > >CPU frequency is... >1) not something that is fixed; it changes all the time >2) not a good indication for performance; remember the 3.4Ghz pentium4, >a 2Ghz Core2Duo outperforms it >3) something which the cpu itself barely honors (the clock stops during >idle etc etc) -- 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/