From: "Dhaval Giani" <dhaval.giani@gmail.com>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
davej@codemonkey.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: cpufreq userspace governor does not reflect changes
Date: Sat, 18 Nov 2006 00:46:32 +0530 [thread overview]
Message-ID: <8aa016e10611171116s36501bf7h5d4a92e6d3a07ca7@mail.gmail.com> (raw)
Hey there,
I finally managed to get cpufreq working. And while using the
userspace governor, I came up with a curious output.
[root@localhost cpufreq]# cat *
0
1862000
1596000
1862000 1596000
ondemand userspace performance
1862000
acpi-cpufreq
userspace
1862000
1596000
1862000
cat: stats: Is a directory
[root@localhost cpufreq]# echo 1596000 > scaling_setspeed
[root@localhost cpufreq]# cat *
0
1862000
1596000
1862000 1596000
ondemand userspace performance
0
acpi-cpufreq
userspace
1862000
1596000
0
cat: stats: Is a directory
[root@localhost cpufreq]#
This is on a Core 2 Duo E6300 processor. The dmesg looks like this,
cpufreq-core: setting new policy for CPU 0: 1596000 - 1862000 kHz
acpi-cpufreq: acpi_cpufreq_verify
freq-table: request for verification of policy (1596000 - 1862000 kHz) for cpu 0
freq-table: verification lead to (1596000 - 1862000 kHz) for cpu 0
acpi-cpufreq: acpi_cpufreq_verify
freq-table: request for verification of policy (1596000 - 1862000 kHz) for cpu 0
freq-table: verification lead to (1596000 - 1862000 kHz) for cpu 0
cpufreq-core: new min and max freqs are 1596000 - 1862000 kHz
cpufreq-core: governor switch
cpufreq-core: __cpufreq_governor for CPU 0, event 2
cpufreq-core: __cpufreq_governor for CPU 0, event 1
userspace: managing cpu 0 started (1596000 - 1862000 kHz, currently 1862000 kHz)
cpufreq-core: governor: change or update limits
cpufreq-core: __cpufreq_governor for CPU 0, event 3
userspace: limit event for cpu 0: 1596000 - 1862000 kHz,currently
1862000 kHz, last set to 1862000 kHz
cpufreq-core: target for CPU 0: 1862000 kHz, relation 0
acpi-cpufreq: acpi_cpufreq_target 1862000 (0)
freq-table: request for target 1862000 kHz (relation: 0) for cpu 0
freq-table: target is 0 (1862000 kHz, 0)
acpi-cpufreq: Already at target state (P0)
printk: 30 messages suppressed.
userspace: cpufreq_set for cpu 0, freq 1596000 kHz
cpufreq-core: target for CPU 0: 1596000 kHz, relation 0
acpi-cpufreq: acpi_cpufreq_target 1596000 (0)
freq-table: request for target 1596000 kHz (relation: 0) for cpu 0
freq-table: target is 1 (1596000 kHz, 9)
cpufreq-core: notification 0 of frequency transition to 0 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 0 kHz
cpufreq-core: notification 1 of frequency transition to 0 kHz
userspace: saving cpu_cur_freq of cpu 0 to be 0 kHz
[root@localhost cpufreq]#
How can I verify what is the processor speed I'm running at? And is
this the result expected? (Also is this how I change the frequency in
a multi-core system? Googling did not really get me anything) As a
side note, I'm also curious to know whether multi core systems support
the processors running at multiple clock speeds? (Somewhere I remember
understanding the code to add all the processors to be added to
affected_cpus map, and if any cpu in that one is affected, all of them
are. Did i understand it right?)
Thanks and regards
Dhaval Giani
next reply other threads:[~2006-11-17 19:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 19:16 Dhaval Giani [this message]
2006-11-17 19:42 Pallipadi, Venkatesh
2006-11-17 19:48 ` Dhaval Giani
2006-11-17 19:57 Pallipadi, Venkatesh
2006-11-17 20:03 ` Dhaval Giani
2006-11-17 20:52 ` Dhaval Giani
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=8aa016e10611171116s36501bf7h5d4a92e6d3a07ca7@mail.gmail.com \
--to=dhaval.giani@gmail.com \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--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 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®