From: "Rafał Bilski" <rafalbilski@interia.pl>
To: stefano ferri <ferriste@libero.it>
Cc: cpufreq@lists.linux.org.uk
Subject: Re: [Bug 8081] Conservative governor sets wrong and too high sampling rates
Date: Sun, 25 Feb 2007 23:31:49 +0100 [thread overview]
Message-ID: <45E20E55.3060505@interia.pl> (raw)
In-Reply-To: <JE1FH3$64A7C47FE3A2367714996D45D173E659@libero.it>
> Hi Rafal
Hi Stefano
> I think you have not understood what is the core of the problem...
Maybe. It is weekend and it is late and conservative works for me.
> The problem is not to make possible to change sampling rates, anyone with the current code of the kernel can do it.
> The problem is that conservative has a 10x factor of polling times if compared to ondemand.
>
>> The CPUfreq governor "conservative", much like the "ondemand"
>> governor, sets the CPU depending on the current usage. It differs in
>> behavior in that it gracefully increases and decreases the CPU speed
>> rather than jumping to max speed the moment there is any load on the
>> CPU.
>
> Right, but if ondemand has a minimum polling time of 99500 milliseconds,
> also conservative should have it, even if it "gracefully" increases and
> decreases the CPU speed. The policy of the transition of a governor
> is another thing. It is a kernel space governor and it should do the things
> gracefully but rapidly ;-)!
I don't like word "rapidly" here. Ondemand is doing things rapidly and as
result my CPU is near the max frequency most time. Fan is making noise :-(
> The problem is that line 497 in the conservative.c code.
> I don't know if the problem depends on my specific hardware,
> but my system does not respond at all to a variable system load
> without deleting that 10x factor, my cpu goes at 400 Mhz all the time,
> also transition to 800 Mhz are rare.
My CPU goes at 533MHz most the time. Transitions to higher frequencies
are rare and happen only if there is constant load.
Check http://elke.homelinux.net/index.cgi
Not sure why my CPU was 300% idle once, but rest seems to be OK.
Red line is fan on temperature. Green line is fan off temperature.
Polling at 10s interval.
Please clarify me this problem. If You have 100% constant load (eg. You
are compiling Thunderbird) CPU speed is increasing or not? Or Your case is,
for example, RTorrent with shedule which is using 100% CPU for 1s at 10s
interval? Would You like to change CPU frequency for this 1s to higher
value?
>
>> NACK from me. Current values are working for me. If these values are
>> not good for You then write patch to Kconfig which will allow user to
>> change sampling rate during "make config". Later "make oldconfig" will
>> preserve Your values.
>
> I said, it's not that the problem. Users will NOT be able to set a decent polling time if that 10x factor wil not be removed. I can choose a minium time of 995000 millisecond (1 second!). Now that I recompiled I obtain a 99500 with both ondemand and conservative, as it should be.
> And I see the frequency increasing and decreasing gracefully :-)!
I have sampling rate at 2s (by default). I can lower it to 1s. I can rise
it too. You are changing default value and min and max values. This will
rise power consumption. Yes, I know that I can change sampling rate. But
You are changing *default* value. If You don't like min value then change
min value. I disagree with Your change because You are changing *powersaver*
governor into step-by-step ondemand.
> Stefano
Rafa³
----------------------------------------------------------------------
Wolne adresy pocztowe @interia.eu >>> http://link.interia.pl/f19e8
next prev parent reply other threads:[~2007-02-25 22:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-25 21:24 [Bug 8081] Conservative governor sets wrong and too high sampling rates stefano ferri
2007-02-25 22:31 ` Rafał Bilski [this message]
[not found] <bug-8081-3570@http.bugzilla.kernel.org/>
2007-06-21 0:04 ` bugme-daemon
2007-06-21 0:12 ` bugme-daemon
2007-08-17 22:41 ` bugme-daemon
2007-08-18 8:21 ` bugme-daemon
-- strict thread matches above, loose matches on Subject: below --
2007-02-28 13:34 stefano ferri
2007-02-28 8:33 stefano ferri
2007-02-28 19:39 ` Rafał Bilski
2007-03-01 19:57 ` Alexander Clouter
2007-02-27 11:49 stefano ferri
2007-02-27 19:27 ` Rafał Bilski
2007-02-25 21:14 stefano ferri
2007-02-25 16:37 bugme-daemon
2007-02-25 20:29 ` Rafał Bilski
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=45E20E55.3060505@interia.pl \
--to=rafalbilski@interia.pl \
--cc=cpufreq@lists.linux.org.uk \
--cc=ferriste@libero.it \
/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.