All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
@ 2005-11-15 21:59 bugme-daemon
  2005-11-16  7:50 ` Eric Piel
  0 siblings, 1 reply; 10+ messages in thread
From: bugme-daemon @ 2005-11-15 21:59 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379





------- Additional Comments From linux@brodo.de  2005-11-15 13:53 -------
Is this problem still present in 2.6.14?

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
  2005-11-15 21:59 [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64 bugme-daemon
@ 2005-11-16  7:50 ` Eric Piel
  0 siblings, 0 replies; 10+ messages in thread
From: Eric Piel @ 2005-11-16  7:50 UTC (permalink / raw)
  To: bugme-daemon; +Cc: linux, cpufreq

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

15.11.2005 22:59, bugme-daemon@bugzilla.kernel.org wrote/a écrit:
> http://bugzilla.kernel.org/show_bug.cgi?id=4379
> 
> 
> 
> 
> 
> ------- Additional Comments From linux@brodo.de  2005-11-15 13:53 -------
> Is this problem still present in 2.6.14?
> 
I think so.

Well, I've got a patch that should fix it. It make the polling frequency 
10 times faster than it used to be. This is valid _only_ for kernel >= 
2.6.15-rc1 because there is now a check to avoid polling too fast. I've 
tested it here, on my pentium III it works.

Venki, do you see any problem with this patch?

Eric

-- 
From: Eric Piel <eric.piel@tremplin-utc.net>

Make the polling frequency 10 times faster than it used to be, now that 
there is a check to avoid too high freqencies. Solve problems with 
hardwares which have a long transition latency.

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
-- 

[-- Attachment #2: cpufreq-ondemand-more-frequent-polling-2.6.15-rc1.patch --]
[-- Type: text/x-patch, Size: 1074 bytes --]

--- linux-2.6.14/drivers/cpufreq/cpufreq_ondemand.c.bak	2005-11-16 08:35:14.000000000 +0100
+++ linux-2.6.14/drivers/cpufreq/cpufreq_ondemand.c	2005-11-16 08:36:57.000000000 +0100
@@ -39,7 +39,7 @@
 
 /* 
  * The polling frequency of this governor depends on the capability of 
- * the processor. Default polling frequency is 1000 times the transition
+ * the processor. Default polling frequency is 100 times the transition
  * latency of the processor. The governor will work on any processor with 
  * transition latency <= 10mS, using appropriate sampling 
  * rate.
@@ -53,7 +53,7 @@ static unsigned int 				def_sampling_rat
 #define MIN_STAT_SAMPLING_RATE			(MIN_SAMPLING_RATE_RATIO * jiffies_to_usecs(10))
 #define MIN_SAMPLING_RATE			(def_sampling_rate / MIN_SAMPLING_RATE_RATIO)
 #define MAX_SAMPLING_RATE			(500 * def_sampling_rate)
-#define DEF_SAMPLING_RATE_LATENCY_MULTIPLIER	(1000)
+#define DEF_SAMPLING_RATE_LATENCY_MULTIPLIER	(100)
 #define DEF_SAMPLING_DOWN_FACTOR		(1)
 #define MAX_SAMPLING_DOWN_FACTOR		(10)
 #define TRANSITION_LATENCY_LIMIT		(10 * 1000)

[-- Attachment #3: Type: text/plain, Size: 147 bytes --]

_______________________________________________
Cpufreq mailing list
Cpufreq@lists.linux.org.uk
http://lists.linux.org.uk/mailman/listinfo/cpufreq

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
@ 2006-02-05 10:46 bugme-daemon
  0 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2006-02-05 10:46 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379





------- Additional Comments From piel@lifl.fr  2006-02-05 02:46 -------
Created an attachment (id=7248)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=7248&action=view)
Reduce the default sampling rate to check more often

Hello,

Could you try the attached patch against 2.6.15 or 2.6.16 and confirm it solves
your problem ? As there is now a check to avoid polling too fast, it should not
be dangerous to check more often.

Eric

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
@ 2007-02-11  9:10 bugme-daemon
  0 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2007-02-11  9:10 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379

sigra@home.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sigra@home.se



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
@ 2007-11-18  7:02 ` bugme-daemon
  2007-11-19 13:17 ` bugme-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2007-11-18  7:02 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379


protasnb@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |protasnb@gmail.com




------- Comment #5 from protasnb@gmail.com  2007-11-17 23:02 -------
Eric, what about commit df8b59be0976c56820453730078bef99a8d1dbda, "Avoid the
ondemand cpufreq governor to use a too high frequency for stats" - does it
resolve this problem?
Thanks.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
  2007-11-18  7:02 ` bugme-daemon
@ 2007-11-19 13:17 ` bugme-daemon
  2008-05-14 13:39 ` bugme-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2007-11-19 13:17 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379





------- Comment #6 from piel@lifl.fr  2007-11-19 05:17 -------
(Sorry for answering late, I haven't received directly any email, just saw the
message on the mailing list.)

What I was talking about in comment #4 was this commit. It's to keep the the
frequency low enough compared to the scheduler. The attached patch, on the
contrary, _increases_ the frequency. 

Unfortunately Gunther hasn't confirm this patch helps with his problem.
However, now the sampling down is done as often as the sampling up so it should
be less problematic anyway. 1000 is a very conservative value but nowadays,
with the great hunt for reducing the wakeups that can probably be considered
fine. It would be nice if Gunther could confirm the behavior is currently
better (slow down happens fast enough)...


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
  2007-11-18  7:02 ` bugme-daemon
  2007-11-19 13:17 ` bugme-daemon
@ 2008-05-14 13:39 ` bugme-daemon
  2008-05-14 13:44 ` bugme-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2008-05-14 13:39 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379


kernel-io@fionn.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kernel-io@fionn.de




------- Comment #7 from kernel-io@fionn.de  2008-05-14 06:39 -------
This problem has has been HUGELY WORSENED in kernel 2.6.25 since someone
apparently opted to RAISE the minimum sampling rate to whopping 2500000.
Even with the minimum settings, the ondemand governor now acts so sluggish that
it is basically unusuable. I had to switch to userspace governor and powernowd
which I consider a significant step backwards.

Would someone with sufficient rights please add 2.6.25 to the kernel version in
bugzilla? Otherwise I'll open a new bug for that version soon.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2008-05-14 13:39 ` bugme-daemon
@ 2008-05-14 13:44 ` bugme-daemon
  2008-05-14 13:54 ` bugme-daemon
  2008-05-15 18:12 ` bugme-daemon
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2008-05-14 13:44 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379





------- Comment #8 from kernel-io@fionn.de  2008-05-14 06:44 -------
argh argh argh. sorry. my last comment does NOT apply to the ondemand but to
conservative governor. I'll open a separate bug for that

Sorry again. tried not to duplicate anything but should have read better


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2008-05-14 13:44 ` bugme-daemon
@ 2008-05-14 13:54 ` bugme-daemon
  2008-05-15 18:12 ` bugme-daemon
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2008-05-14 13:54 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379


kernel-io@fionn.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|kernel-io@fionn.de          |




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64
       [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2008-05-14 13:54 ` bugme-daemon
@ 2008-05-15 18:12 ` bugme-daemon
  5 siblings, 0 replies; 10+ messages in thread
From: bugme-daemon @ 2008-05-15 18:12 UTC (permalink / raw)
  To: cpufreq

http://bugzilla.kernel.org/show_bug.cgi?id=4379


trenn@suse.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trenn@suse.de




-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-05-15 18:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-15 21:59 [Bug 4379] Default sampling rates for ondemand governor are too high on a amd64 bugme-daemon
2005-11-16  7:50 ` Eric Piel
  -- strict thread matches above, loose matches on Subject: below --
2006-02-05 10:46 bugme-daemon
2007-02-11  9:10 bugme-daemon
     [not found] <bug-4379-3570@http.bugzilla.kernel.org/>
2007-11-18  7:02 ` bugme-daemon
2007-11-19 13:17 ` bugme-daemon
2008-05-14 13:39 ` bugme-daemon
2008-05-14 13:44 ` bugme-daemon
2008-05-14 13:54 ` bugme-daemon
2008-05-15 18:12 ` bugme-daemon

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.