mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@dominikbrodowski.de>
To: dual_bereta_r0x <dual_bereta_r0x@arenanetwork.com.br>
Cc: linux-kernel@vger.kernel.org, cpufreq@www.linux.org.uk
Subject: Re: 2.6.2: P4 ClockMod speed
Date: Tue, 17 Feb 2004 10:09:39 +0100	[thread overview]
Message-ID: <20040217090939.GA9935@dominikbrodowski.de> (raw)
In-Reply-To: <40313AA9.1060906@arenanetwork.com.br>

[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]

On Mon, Feb 16, 2004 at 09:48:25PM +0000, dual_bereta_r0x wrote:
> >>locked on cpu *real* speed.
> >
> >
> >It's just a change of appearance -- the cpufreq driver uses the theoretical
> >speed of the CPU for its calculations; the actual CPU speed isn't
> >affected. You can verify this by looking at /proc/cpuinfo which still tells
> >3124.376 MHz.
> >
> >By doing so it becomes easier to enter different frequencies e.g. into
> >/sys/devices/system/cpu/cpufreq/scaling_setspeed -- on my desktop, typing 
> >in
> >1200000 is easier than 12121224... [*]
> 
> Sure but if i want to downgrade it, for example, by night, to a lower 
> speed, and then next day return it to full power? Will I stuck at 2.4GHz?

No, it will run at the same speed as before -- the ratio between actual
cpu_khz and cpufreq/scaling_setspeed will always be the same.

> >[*] The _actual_ CPU speed should be used on all cpufreq drivers where this
> >specific CPU frequency has implications to external components, e.g. LCD,
> >memory or pcmcia devices. Where only the _frequency ratio_ is of importance
> >[for loops_per_jiffy and friends] such "rounding" is acceptable, as long as
> >the ratio is constant.
> 
> Indeed. I'll showing in LCD a lower speed than the running.

That's not the point: some hardware (e.g. ARM) needs different memory
settings and different settings of the LCD controller  for different 
CPU frequencies, as the Front Side Bus of the CPU is closely related 
to the CPU frequency. On x86, all cpufreq techniques I've
seen so far do not modify the FSB [*], so memory settings etc. do not need
to be modified.

	Dominik

[*] or scaling the FSB didn't work...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-02-18  8:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16 21:34 Dominik Brodowski
2004-02-16 21:48 ` dual_bereta_r0x
2004-02-16 21:57   ` Bruno Ducrot
2004-02-17  9:09   ` Dominik Brodowski [this message]
2004-02-26  1:28     ` dual_bereta_r0x
2004-03-03 19:12       ` Bruno Ducrot
2004-02-25 17:43 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-02-16 19:23 dual_bereta_r0x

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040217090939.GA9935@dominikbrodowski.de \
    --to=linux@dominikbrodowski.de \
    --cc=cpufreq@www.linux.org.uk \
    --cc=dual_bereta_r0x@arenanetwork.com.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®