All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Zick" <lkml@morethan.org>
To: Harald Welte <HaraldWelte@viatech.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Duane Griffin <duaneg@dghda.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: VIA PowerSaver (Re: Linux 2.6.30-rc8 [also: VIA Support])
Date: Fri, 5 Jun 2009 08:41:04 -0500	[thread overview]
Message-ID: <200906050841.07227.lkml@morethan.org> (raw)
In-Reply-To: <20090605110627.GH4421@prithivi.gnumonks.org>

On Fri June 5 2009, Harald Welte wrote:
> Hi Linus and Michael,
> 
> On Thu, Jun 04, 2009 at 10:46:00AM -0700, Linus Torvalds wrote:
>  
> > On Thu, 4 Jun 2009, Michael S. Zick wrote:
> > >
> > > Yes, I build test cases with and without - -
> > > It was a fixed-speed kernel build that first hit the 4 hour up-time mark.
> > > I just reposted that build today (the -09143lk).
> > > 
> > > > Features like that easily put a huge stress on power regulators etc, if 
> > > > they result in sudden changes in current draw.  Underspecced capacitors 
> > > > etc can cause CPU "brown-outs", which in turn can easily cause total 
> > > > failure. 
> > > 
> > > There is also a possible thermal issue with these machines - -
> > > I doubt that VIA runs their qualification testing in bake ovens;
> > > which is what NetBook cases amount too.  ;)
> > 
> > If the fixed-speed case runs for longer, it's not likely to be a thermal 
> > issue. The fixed speed case should be the higher-power one.
> > 
> > So it can easily be a weak power setup (insufficient grounding, bad 
> > capacitors etc). But it could also be external bus issues, in case VIA 
> > power management also impact the external bus (eg "stopclock" like 
> > behavior on the CPU<->chipset bus).
> 
> I'm not intending to disagree with you, I just wanted to quote from
> a not [yet] public document on the C7-M.  This quote describes model A
> (family 6, model 10(hex A), stepping 0-15):
> ===============
> Enhanced PowerSaver technology allows the dynamic adjustment of the operating
> frequency and operating voltage. The VIA C7-M can only change from the
> highest supported performance state to the lowest supported performance state:
> intermediate performance states are not guaranteed to work and are not offi-
> cially supported. System software can use Enhanced PowerSaver to request the
> sufficient amount of performance. Each individual performance state (P-State)
> is described in the system bios according to 8.4.4 of the ACPI 3.0
> specification.  
> 
> The VIA C7-M processor incorporates two on-chip core clock PLLs. This allows
> the processor to ping-pong between two frequencies instantaneously. In the
> simplest scenario, where there are only two clock frequencies of interest and
> no voltage changes, the transition can be instantaneous with no latency. In
> more complex scenarios, where there are multiple clock frequencies of interest,
> the "old" frequency can continue to be used while the new frequency is ramped
> up. The transition is still instantaneous from a software point of view (code
> still executes), but there is a latency associated with switching to the ramp-
> ing "new" frequency.
>

This appears to be what the e_powersaver is trying to do - -
It just needs to do it better.  ;)

The current behavior ends up as 9 speeds, (I.E: 8 steps) of twice the FSB 
frequency.  I do show "stats/time_in_state" for all of them.

It is one heck of a system, It will be nice if I can make it work - -
If it has to be turned into a two-speed system, so be it.

= = = =

Note:  This is one of VIA's claims to fame - and a good one - -
and different than what the cpufreq stuff was probably tested with.

Most other brands of CPU will "stall" (or some such) internally while
re-syncing the core clock chain (there-by "stalling" the code progress) -
The VIA processors do not - they keep on computing - something the
general code may not account for.  ;)

Since I have a machine that is sensitive to this, I can test other
ways of doing something other than the two speed solution.

>                                                                       
> VIA C7-M allows for a clean hardware approach to processor operating point
> transitions. The transitions are performed instantaneously from a software and
> functional point of view. Snoops and interrupts, for example, are unaffected by
> transitions.
> ===============
> 
> A C7-M model D (family 6, model 13(hex D), stepping 0-15) has advanced performance
> states, they use an inflection ratio, as well as adaptive-p-state control and
> adaptive overclocking, as well as iteravie P-state transitions and adaptive
> thermal control.  I'm not yet aware of all the details, but have requested them.
> 
> In any case, the problems that have been reported by Michael were "Model A",
> so those particular deatils shouldn't matter at this point.
>

dmesg is reporting it as an "Model D" - I will check if that reporting is correct. 
Tell the Silicon Grower's department "Thanks" for the recommendation of what to look for.

Mike
> Regards,



  reply	other threads:[~2009-06-05 13:41 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-03  4:06 Linux 2.6.30-rc8 Linus Torvalds
2009-06-04 13:56 ` Linux 2.6.30-rc8 [also: VIA Support] Michael S. Zick
2009-06-04 14:58   ` Michael S. Zick
2009-06-04 15:18     ` Linus Torvalds
2009-06-04 15:37       ` Michael S. Zick
2009-06-04 17:45         ` Harald Welte
2009-06-08  5:48         ` Pavel Machek
2009-06-04 16:00       ` Duane Griffin
2009-06-04 16:08         ` Michael S. Zick
2009-06-04 16:13         ` Linus Torvalds
2009-06-04 16:21           ` Michael S. Zick
2009-06-04 17:03             ` Linus Torvalds
2009-06-04 17:07               ` Linus Torvalds
2009-06-04 17:27                 ` Michael S. Zick
2009-06-04 17:46                   ` Linus Torvalds
2009-06-05 11:06                     ` VIA PowerSaver (Re: Linux 2.6.30-rc8 [also: VIA Support]) Harald Welte
2009-06-05 13:41                       ` Michael S. Zick [this message]
2009-06-06 12:17                     ` Linux 2.6.30-rc8 [also: VIA Support] Michael S. Zick
2009-06-06 13:28                       ` e_powersaver / underclocking (was Re: Linux 2.6.30-rc8 [also: VIA Support]) Harald Welte
2009-06-06 13:46                         ` Michael S. Zick
2009-06-06 13:56                           ` Michael S. Zick
2009-06-08  7:53                             ` e_powersaver driver considered DANGEROUS " Harald Welte
2009-06-08  6:12                               ` Pavel Machek
2009-06-08 10:27                             ` [PATCH 1/2] CPUFREQ: Enable acpi-cpufreq driver for VIA/Centaur CPUs Harald Welte
2009-06-08 13:16                               ` Matthew Garrett
2009-06-08 18:01                                 ` Harald Welte
2009-06-08 14:25                               ` Michael S. Zick
2009-06-08 14:58                                 ` Matthew Garrett
2009-06-08 15:08                                   ` Michael S. Zick
2009-06-08 18:35                               ` Linus Torvalds
2009-06-08 18:41                                 ` Michael S. Zick
2009-06-08 21:32                                 ` Michael S. Zick
2009-06-09  2:15                                 ` Harald Welte
2009-06-09 12:26                                   ` Michael S. Zick
2009-06-09 16:22                                     ` Chuck Ebbert
2009-06-09 16:45                                       ` Michael S. Zick
2009-06-15 13:10                                 ` TSC features, was: " Michael S. Zick
2009-06-15 14:25                                   ` [PATCH, RFC] Re: TSC features, Michael S. Zick
2009-06-08 20:03                               ` [PATCH 1/2] CPUFREQ: Enable acpi-cpufreq driver for VIA/Centaur CPUs Michael S. Zick
2009-06-08 21:15                                 ` Michael S. Zick
2009-06-08 23:48                                   ` Matthew Garrett
2009-06-09 12:36                                     ` Michael S. Zick
2009-06-09 16:00                                       ` Michael S. Zick
2009-06-09 17:51                                       ` Michael S. Zick
2009-06-09  8:14                       ` Linux 2.6.30-rc8 [also: VIA Support] Harald Welte
2009-06-04 17:55                   ` Dave Jones
2009-06-05  7:27                   ` Harald Welte
2009-06-05  7:41                     ` Michael S. Zick
2009-06-05  7:19                 ` Harald Welte
2009-06-05  7:27                   ` Michael S. Zick
2009-06-05 10:39                     ` Harald Welte
2009-06-05 13:18                       ` Michael S. Zick
2009-06-08  5:56                 ` Pavel Machek
2009-06-04 17:13               ` Michael S. Zick
2009-06-04 17:40             ` Harald Welte
2009-06-04 18:12               ` Michael S. Zick
2009-06-04 19:23                 ` Michael S. Zick
2009-06-04 20:32                   ` Michael S. Zick
2009-06-05  4:37                     ` Michael S. Zick
2009-06-05  9:00                       ` Michael S. Zick
2009-06-04 20:33                 ` Dave Jones
2009-06-04 21:01                   ` Michael S. Zick
2009-06-04 21:24                     ` Dave Jones
2009-06-04 21:38                       ` Michael S. Zick
2009-06-04 21:43                         ` Dave Jones
2009-06-04 22:00                           ` Michael S. Zick
2009-06-04 23:26                             ` Michael S. Zick
2009-06-05  0:15                               ` Dave Jones
2009-06-05  0:27                                 ` Michael S. Zick
2009-06-05 11:08                                 ` VIA CPU PCI cache line size (Re: Linux 2.6.30-rc8 [also: VIA Support]) Harald Welte
2009-06-05 13:43                                   ` Michael S. Zick
2009-06-04 20:16               ` Linux 2.6.30-rc8 [also: VIA Support] Andi Kleen
2009-06-04 20:29                 ` Michael S. Zick
2009-06-05  0:33                   ` Robert Hancock
2009-06-05  0:52                     ` Michael S. Zick
2009-06-05  0:54                       ` Robert Hancock
2009-06-05  7:30                 ` Harald Welte
2009-06-04 17:08           ` Harald Welte
2009-06-04 17:18             ` Michael S. Zick
2009-06-05  7:24               ` Harald Welte
2009-06-05  7:44                 ` Michael S. Zick
2009-06-05  7:52                   ` Michael S. Zick
2009-06-04 20:39             ` Gerd Hoffmann
2009-06-05 18:47 ` Linux 2.6.30-rc8 Michael S. Zick

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=200906050841.07227.lkml@morethan.org \
    --to=lkml@morethan.org \
    --cc=HaraldWelte@viatech.com \
    --cc=duaneg@dghda.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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.