linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjoern Schmidt <lucky21@uni-paderborn.de>
To: len.brown@intel.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: fsb of older cpu
Date: Tue, 09 Mar 2004 12:16:56 +0100	[thread overview]
Message-ID: <404DA7A8.4090109@uni-paderborn.de> (raw)
In-Reply-To: <1078815523.2342.535.camel@dhcppc4>

Hello Len,

> C-states should be called Idle-states -- they're entered when the
> processor is idle.  No instructions are executed when in a C-state > 0.

i know about the acpi spec ;)

> 
> C1 is supported by all processors automatically with some carefully
> placed insructions inside the idle loop.  Not all processors suport
> higher C-states with more power savings in idle.  You'll be able to tell
> what is supported and what is used by looking in /proc/acpi/CPU0/power. 
> I'm not sure we update the counter to reflect entering C1...

The supported modes are:

root@kilobyte:/proc/acpi/processor/C097# cat power
active state:        C2
default state:       C1
bus master activity: 00000000
states:
     C1:              promotion[C2] demotion[--] latency[000] usage[00000240]
    *C2:              promotion[--] demotion[C1] latency[100] usage[169083068]
     C3:              <not supported>

Do you know a little program to visualize the fadt flags in a human
readable way?

> 
> Then there are P-states -- performance states.  These are used by the
> various cpufreq drivers such as speed-step(tm;-).  These can modulate
> both voltage and Mhz at the same time depending on load and are thus the
> most effective and most desireable way to save cpu power w/ minimal
> performance impact.

In the BIOS there is an option to half the core freq in idle, is
it possible to create a proc interface to set it statically to
the half?

In the System Programming Guide i can read that i can reprogram the
clock multiplier by setting RESET# to low and A20M#, IGNNE#, LINT[1]
and LINT[0] to 1111 for 1/2. Unfortunately i dont know how to
program this in assembler code, i can several programming
languages, but not yet asm :(
Can you recommend a good online book?

> 
> Thermal throttling is  something else.  This is invoked as the
> passive-colling method of last resort when the processor is very hot
> (busy).  The actual clock to the processor is modulated so that it slows
> down and thus power is saved in proportion to how much it is slowed
> down.  Throttling will noticeably slow down your system when you want it
> fast the most -- heavy load.

On my system the passive cooling is always active, but i am sure
that it does not work or at least not correctly.

root@kilobyte:/tmp# cat /proc/acpi/processor/C097/throttling
state count:             8
active state:            T7
states:
     T0:                  00%
     T1:                  12%
     T2:                  25%
     T3:                  37%
     T4:                  50%
     T5:                  62%
     T6:                  75%
    *T7:                  87%

T7 equals that only 13% of performance ist available,
but i cannot determine any slowdown on my system.

root@kilobyte:/tmp# cat /proc/acpi/thermal_zone/C105/*
cooling mode:            passive
<polling disabled>
state:                   passive
temperature:             91 C
critical (S5):           95 C
passive:                 48 C: tc1=1 tc2=2 tsp=200 devices=0xc11dc6a8
active[0]:               94 C: devices=0xc11d5268
active[1]:               92 C: devices=0xc11d4be8

If throttling is active, how is it possible that the temperature
is so high? The current load average is 0.00, 0.04, 0.07.
The system is only under heavy load every day 6:40am for one
hour.

The trip_points are usually 95:0:48:70:65. I set them to these
high values to test how hot the cpu can get with activated
passive cooling and without fan-cooling.

> 
> Of course, then there is active cooling -- fan control...

I prefer passive cooling because i want to avoid that
the fan will ever be turned on.


-- 
Mit freundlichen Gruessen
Bjoern Schmidt



  reply	other threads:[~2004-03-09 11:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <A6974D8E5F98D511BB910002A50A6647615F47CB@hdsmsx402.hd.intel.com>
2004-03-09  6:58 ` fsb of older cpu Len Brown
2004-03-09 11:16   ` Bjoern Schmidt [this message]
2004-03-09 11:35     ` Stefan Smietanowski
2004-03-09 12:07       ` Bjoern Schmidt
2004-03-10  4:17     ` Len Brown
2004-03-11 13:53       ` [BUG] " Bjoern Schmidt
2004-03-14 15:11       ` Bjoern Schmidt
2004-03-08 10:38 Bjoern Schmidt
2004-03-08 16:14 ` Bernd Schubert
2004-03-08 20:17   ` Bjoern Schmidt
2004-03-08 20:46     ` Zwane Mwaikambo
2004-03-08 21:14       ` Stefan Smietanowski
2004-03-08 23:06         ` Zwane Mwaikambo
2004-03-08 21:09     ` Stefan Smietanowski
2004-03-08 21:53       ` Bjoern Schmidt

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=404DA7A8.4090109@uni-paderborn.de \
    --to=lucky21@uni-paderborn.de \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).