lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0806111006560.23096@chaos.analogic.com>
Date:	Wed, 11 Jun 2008 10:14:50 -0400
From:	"linux-os (Dick Johnson)" <linux-os@...logic.com>
To:	"Arjan van de Ven" <arjan@...radead.org>
Cc:	"Jan Engelhardt" <jengelh@...ozas.de>,
	"Kok, Auke" <auke-jan.h.kok@...el.com>,
	"solsTiCe d'Hiver" <solstice.dhiver@...il.com>,
	<linux-kernel@...r.kernel.org>
Subject: Re: PROBLEM: no cpu MHz in /proc/cpuinfo on 2.6.25.4-rt6


On Wed, 11 Jun 2008, Arjan van de Ven wrote:

> On Wed, 11 Jun 2008 15:52:57 +0200 (CEST)
> Jan Engelhardt <jengelh@...ozas.de> wrote:
>
>>
>> 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.
>
> even then it doesn't mean much ;-(
>
>>> 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)
>
>

I use CPU frequency to scale the output of rdtsc when timing
routines being optimized. If CPU frequency goes away, I'll
have to add calibration routines to a lot of code. I don't
think one should just dispose of something that has been
useful for many years because they don't understand its
utility. The fact that __some__ machines dynamically adjust
clock-speeds is not a valid reason to remove something useful
that impacts only boot time. Following this trend, soon there
won't be any floppy-drive code because "nobody" uses them
anymore. Please don't keep throwing good stuff away.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips).
My book : http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@...logic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ