From: Con Kolivas <kernel@kolivas.org>
To: Thomas Renninger <trenn@suse.de>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
Stefan Seyfried <seife@suse.de>,
tony@atomide.com, ck@vds.kolivas.org,
tuukka.tikkanen@elektrobit.com, linux-kernel@vger.kernel.org,
tytso@mit.edu
Subject: Re: [patch] i386 dynamic ticks 2.6.13-rc4 (code reordered)
Date: Wed, 10 Aug 2005 16:57:13 +1000 [thread overview]
Message-ID: <200508101657.13399.kernel@kolivas.org> (raw)
In-Reply-To: <42F9A264.5030006@suse.de>
On Wed, 10 Aug 2005 04:44 pm, Thomas Renninger wrote:
> Pallipadi, Venkatesh wrote:
> >>-----Original Message-----
> >>From: linux-kernel-owner@vger.kernel.org
> >>[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of
> >>Stefan Seyfried
> >>Sent: Sunday, August 07, 2005 10:43 PM
> >>To: Con Kolivas
> >>Cc: tony@atomide.com; ck@vds.kolivas.org;
> >>tuukka.tikkanen@elektrobit.com; linux-kernel@vger.kernel.org;
> >>tytso@mit.edu
> >>Subject: Re: [patch] i386 dynamic ticks 2.6.13-rc4 (code reordered)
> >>
> >>Con Kolivas wrote:
> >>>>When I enabled dynamic tick using:
> >>>>
> >>>> echo 1 > /sys/devices/system/timer/timer0/dyn_tick_state
> >>>>
> >>>>The number of ticks dropped down to 60-70 HZ, bus mastering activity
> >>>>jumpped up to being almost always active,
> >>>
> >>>Anyone know why this would happen?
> >>
> >>This is just a guess, without any actual code-reading:
> >>Maybe the C-state decision process just relies on being called every
> >>tick, so "after X ticks with no BM activity, go to next deeper
> >>C state".
> >>As long as 1000 ticks per second are coming in, everything is fine and
> >>we enter C[n+1] after X miliseconds without BM activity. Now if there
> >>are only 60-70 ticks per second, you never get X ticks without BM
> >>activity so you never go deeper than C2.
> >>
> >>Just a guess.
> >
> > That is correct. The C-state policy right now looks at jiffies to decide
> > on which C-state to go to (instead of absolute time).
> > This patch from Thomas should help with respect to going to proper
> > C-state in presence of dynamic tick.
> > http://lkml.org/lkml/2005/4/19/96
>
> My patch considered only the average last idle times and the average last
> bus master activities.
> It could happen that C3/C4 comes in too fast (not waiting long enough for
> bus master activity to settle down) which could result in failed
> transitions or misfunctionality of bus master devices.
> However, it worked on my machine and I could gain a lot of power savings.
> But be prepared that your WLAN card, USB peripherie or others might behave
> strangely or even that the machine freezes (if, it should freeze quite fast
> if idle).
> I plan to have a look at x86 and x86_64 dynamic tick patches again and
> rewrite the C-state patch, soon.
> Any hints on updated dyn-tick patches/projects crawling around are
> appreciated.
The most current patch for 2.6.13-rc6 is:
http://ck.kolivas.org/patches/dyn-ticks/2.6.13-rc6-dtck-1.patch
but I would recommend waiting till Srivatsa gets out the SMP/updated version
of this code as it may be quite different and you're best working off that
codebase.
Cheers,
Con
next prev parent reply other threads:[~2005-08-10 7:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-08 18:37 [patch] i386 dynamic ticks 2.6.13-rc4 (code reordered) Pallipadi, Venkatesh
2005-08-10 6:44 ` Thomas Renninger
2005-08-10 6:57 ` Con Kolivas [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-02 4:43 Con Kolivas
2005-08-02 5:49 ` Con Kolivas
2005-08-02 5:52 ` Lee Revell
2005-08-02 5:56 ` Con Kolivas
2005-08-02 6:24 ` Lee Revell
2005-08-02 7:17 ` Tony Lindgren
2005-08-02 7:39 ` Con Kolivas
2005-08-02 8:15 ` Tony Lindgren
2005-08-02 10:54 ` Con Kolivas
2005-08-02 11:31 ` Tony Lindgren
2005-08-02 12:04 ` Con Kolivas
2005-08-02 7:21 ` Tony Lindgren
2005-08-02 14:01 ` Avuton Olrich
2005-08-02 14:05 ` Con Kolivas
2005-08-06 14:54 ` Theodore Ts'o
2005-08-06 15:00 ` Con Kolivas
2005-08-08 5:43 ` Stefan Seyfried
2005-08-08 21:54 ` Pavel Machek
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=200508101657.13399.kernel@kolivas.org \
--to=kernel@kolivas.org \
--cc=ck@vds.kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=seife@suse.de \
--cc=tony@atomide.com \
--cc=trenn@suse.de \
--cc=tuukka.tikkanen@elektrobit.com \
--cc=tytso@mit.edu \
--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.