From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: Dave Jones <davej@redhat.com>,
pjones@redhat.com, cpufreq@lists.linux.org.uk
Subject: Re: ondemand vs suspend.
Date: Mon, 26 Jun 2006 13:58:34 -0700 [thread overview]
Message-ID: <44A04A7A.40406@goop.org> (raw)
In-Reply-To: <EB12A50964762B4D8111D55B764A84541D4E87@scsmsx413.amr.corp.intel.com>
Pallipadi, Venkatesh wrote:
> Looks like scaling_max_freq on both CPUs got set to 1000000 somehow. Due
> to that all the frequency changes are failing from then on. If you
> manually write 1833000 to scaling_max_freq, things should come back to
> normal.
>
Yup. I'd overlooked that one.
Something very strange is going on. If I do:
1. set both CPUs to conservative
2. set CPU1 to performance
3. looks OK for a while, then...
4. CPU1's max speed drops to 1GHz
5. (then goes back; both CPUs switch to full speed; all kinds of
strangeness)
I have the gnome cpufreq applet running, but its just reading
scaling_cur_freq for each CPU.
Hm, and now both CPUs are apparently running at full speed.
If the two cores are in fact locked together, then this config doesn't
make much sense. But then, the resulting behaviour doesn't either.
> Now the question is: Why is scaling_max_freq getting set to 1000000.
> There was one patch here from thomas, that fixed a race between _PPC
> call to reduce the freq and some other action in setting cpufreq
> governor was resulting in something like this. But, that patch is
> already in mm1.
>
Which mm1? I'm still running 2.6.17-rc6-mm2, because I'm depending on
some AHCI suspend/resume patches which haven't been updated yet. Hm,
but that change does seem pretty old.
> I guess, there is some other corner case where scaling_max_freq can get
> set.
>
Yes. This doesn't appear to be a race with anything, since the
spontaneous change seems to happen unrelated to anything else, unless
reading the sysfs entries can cause a problem.
J
next prev parent reply other threads:[~2006-06-26 20:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 20:24 ondemand vs suspend Pallipadi, Venkatesh
2006-06-26 20:58 ` Jeremy Fitzhardinge [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-26 22:12 Pallipadi, Venkatesh
2006-06-28 22:20 ` Jeremy Fitzhardinge
2006-06-26 18:43 Pallipadi, Venkatesh
2006-06-26 19:23 ` Jeremy Fitzhardinge
2006-06-14 2:50 Pallipadi, Venkatesh
2006-06-14 3:08 ` Peter Jones
2006-06-19 22:52 ` Jeremy Fitzhardinge
2006-06-21 18:54 ` Venkatesh Pallipadi
2006-06-21 21:01 ` Jeremy Fitzhardinge
2006-06-23 22:45 ` Jeremy Fitzhardinge
2006-06-21 18:35 ` Venkatesh Pallipadi
2006-06-13 23:03 Pallipadi, Venkatesh
2006-06-13 23:06 ` Dave Jones
2006-06-13 20:53 Dave Jones
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=44A04A7A.40406@goop.org \
--to=jeremy@goop.org \
--cc=cpufreq@lists.linux.org.uk \
--cc=davej@redhat.com \
--cc=pjones@redhat.com \
--cc=venkatesh.pallipadi@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.