All of lore.kernel.org
 help / color / mirror / Atom feed
From: Con Kolivas <kernel@kolivas.org>
To: ck@vds.kolivas.org
Cc: vatsa@in.ibm.com, Tony Lindgren <tony@atomide.com>,
	Daniel Petrini <d.pensator@gmail.com>,
	linux list <linux-kernel@vger.kernel.org>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	acpi-devel@lists.sourceforge.net
Subject: Re: [PATCH] i386 No Idle HZ aka dynticks v051205
Date: Mon, 5 Dec 2005 15:27:32 +1100	[thread overview]
Message-ID: <200512051527.37791.kernel@kolivas.org> (raw)
In-Reply-To: <200512051154.45500.kernel@kolivas.org>


[-- Attachment #1.1: Type: text/plain, Size: 1695 bytes --]

On Monday 05 December 2005 11:54, Con Kolivas wrote:
> Here is an updated rollup patch for current dynticks on i386.
>
> The main change to this version is the inclusion of Dominik's patches to
> cpufreq ondemand, acpi c-states and bus mastering which should start making
> the potential power saving features of dyntick a reality (thanks!).
> One buildfix for !CONFIG_NO_IDLE_HZ as well.
>
> If you get strange stalls with this patch then almost certainly it is a
> problem with dynticks and your apic so booting with the "noapic" option
> should fix it.
>
> Split out patches, timertop and pmstats utilities and latest patch
> available here:
> http://ck.kolivas.org/patches/dyn-ticks/
>
> FAQ:
> What Hz should I use with dynticks in the config?
> 1000 to realise the benefits of the power saving features and low latency.
>
> Should I enable timer statistics?
> Only if you're planning on using the timertop utility to help you recognise
> the biggest sources of timers currently in use to help you improve power
> savings.

Looks like this fix is needed if you are using cpufreq as modules.

Cheers,
Con

---
 kernel/dyn-tick.c |    2 ++
 1 files changed, 2 insertions(+)

Index: linux-2.6.15-rc5-dt/kernel/dyn-tick.c
===================================================================
--- linux-2.6.15-rc5-dt.orig/kernel/dyn-tick.c
+++ linux-2.6.15-rc5-dt/kernel/dyn-tick.c
@@ -122,6 +122,8 @@ void dyn_early_reprogram(unsigned int de
 	write_sequnlock_irqrestore(&xtime_lock, flags);
 }
 
+EXPORT_SYMBOL(dyn_early_reprogram);
+
 void set_dyn_tick_limits(unsigned int max_skip, unsigned int min_skip)
 {
 	if (max_skip > DYN_TICK_MAX_SKIP)


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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



WARNING: multiple messages have this Message-ID (diff)
From: Con Kolivas <kernel@kolivas.org>
To: ck@vds.kolivas.org
Cc: linux list <linux-kernel@vger.kernel.org>,
	vatsa@in.ibm.com, Tony Lindgren <tony@atomide.com>,
	Daniel Petrini <d.pensator@gmail.com>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	acpi-devel@lists.sourceforge.net
Subject: Re: [ck] [PATCH] i386 No Idle HZ aka dynticks v051205
Date: Mon, 5 Dec 2005 15:27:32 +1100	[thread overview]
Message-ID: <200512051527.37791.kernel@kolivas.org> (raw)
In-Reply-To: <200512051154.45500.kernel@kolivas.org>

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

On Monday 05 December 2005 11:54, Con Kolivas wrote:
> Here is an updated rollup patch for current dynticks on i386.
>
> The main change to this version is the inclusion of Dominik's patches to
> cpufreq ondemand, acpi c-states and bus mastering which should start making
> the potential power saving features of dyntick a reality (thanks!).
> One buildfix for !CONFIG_NO_IDLE_HZ as well.
>
> If you get strange stalls with this patch then almost certainly it is a
> problem with dynticks and your apic so booting with the "noapic" option
> should fix it.
>
> Split out patches, timertop and pmstats utilities and latest patch
> available here:
> http://ck.kolivas.org/patches/dyn-ticks/
>
> FAQ:
> What Hz should I use with dynticks in the config?
> 1000 to realise the benefits of the power saving features and low latency.
>
> Should I enable timer statistics?
> Only if you're planning on using the timertop utility to help you recognise
> the biggest sources of timers currently in use to help you improve power
> savings.

Looks like this fix is needed if you are using cpufreq as modules.

Cheers,
Con

---
 kernel/dyn-tick.c |    2 ++
 1 files changed, 2 insertions(+)

Index: linux-2.6.15-rc5-dt/kernel/dyn-tick.c
===================================================================
--- linux-2.6.15-rc5-dt.orig/kernel/dyn-tick.c
+++ linux-2.6.15-rc5-dt/kernel/dyn-tick.c
@@ -122,6 +122,8 @@ void dyn_early_reprogram(unsigned int de
 	write_sequnlock_irqrestore(&xtime_lock, flags);
 }
 
+EXPORT_SYMBOL(dyn_early_reprogram);
+
 void set_dyn_tick_limits(unsigned int max_skip, unsigned int min_skip)
 {
 	if (max_skip > DYN_TICK_MAX_SKIP)


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

  reply	other threads:[~2005-12-05  4:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-05  0:54 [PATCH] i386 No Idle HZ aka dynticks v051205 Con Kolivas
2005-12-05  0:54 ` Con Kolivas
2005-12-05  4:27 ` Con Kolivas [this message]
2005-12-05  4:27   ` [ck] " Con Kolivas
2005-12-05 14:16 ` Matthew Garrett
2005-12-05 21:16 ` [ACPI] " Pavel Machek
2005-12-05 21:16   ` Pavel Machek
2005-12-05 21:34   ` Pavel Machek
     [not found] ` <200512051154.45500.kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org>
2005-12-06  6:11   ` Dominik Brodowski
2005-12-06  6:11     ` [ACPI] " Dominik Brodowski

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=200512051527.37791.kernel@kolivas.org \
    --to=kernel@kolivas.org \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=ck@vds.kolivas.org \
    --cc=d.pensator@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    --cc=tony@atomide.com \
    --cc=vatsa@in.ibm.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.