* RE: does cpu_idle() halt CPU?
@ 2003-03-28 22:43 Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A847E96D88-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Grover, Andrew @ 2003-03-28 22:43 UTC (permalink / raw)
To: Jun Sun; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> From: Jun Sun [mailto:jsun-vWJf10E4RRusTnJN9+BGXg@public.gmane.org]
> [root@localhost root]# cat /proc/acpi/processor/CPU0/power
> active state: C2
> default state: C1
> bus master activity: ffffffff
> states:
> C1: promotion[C2] demotion[--]
> latency[000] usage[00000690] *C2:
> promotion[C3] demotion[C1] latency[010] usage[00196669]
> C3: promotion[--] demotion[C2] latency[130]
> usage[00000000]
Your system either doesn't support C3, or the constant bus master
activity is keeping it out of C3. USB can cause this, but also AC97.
> > - What does the ACPI: Processor line say in your dmesg say?
There should be a line that says, "ACPI: Processor found (x perf states
y throttle)" Is that there? It may be occurring later on in the boot
process.
> > What kind of laptop do you have? Does it support SpeedStep,
> PowerNow, or
> > the like?
>
> My laptop is Fujitsu S6110. CPU supports speedstep.
Getting into the lowest SpeedStep state will help battery life. You may
want to investigate the cpufreq project.
Regards -- Andy
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <F760B14C9561B941B89469F59BA3A847E96D88-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>]
* Re: does cpu_idle() halt CPU? [not found] ` <F760B14C9561B941B89469F59BA3A847E96D88-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org> @ 2003-03-28 23:02 ` Jun Sun [not found] ` <20030328150218.D10287-Ht5ggzGNZTC9Yl/XQThFG6xOck334EZe@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Jun Sun @ 2003-03-28 23:02 UTC (permalink / raw) To: Grover, Andrew; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Fri, Mar 28, 2003 at 02:43:32PM -0800, Grover, Andrew wrote: > > Your system either doesn't support C3, or the constant bus master > activity is keeping it out of C3. USB can cause this, but also AC97. > No USB and AC97. Have 802.11 card working. Not sure if this matters. > > > - What does the ACPI: Processor line say in your dmesg say? > > There should be a line that says, "ACPI: Processor found (x perf states > y throttle)" Is that there? It may be occurring later on in the boot > process. > I found this line: ACPI: Processor [CPU0] (supports C1 C2 C3, 2 performance states) > > > What kind of laptop do you have? Does it support SpeedStep, > > PowerNow, or > > > the like? > > > > My laptop is Fujitsu S6110. CPU supports speedstep. > > Getting into the lowest SpeedStep state will help battery life. You may > want to investigate the cpufreq project. > So my previous conclusion about C1/C2 not saving power is right? Thanks a lot. Jun ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20030328150218.D10287-Ht5ggzGNZTC9Yl/XQThFG6xOck334EZe@public.gmane.org>]
* Re: does cpu_idle() halt CPU? [not found] ` <20030328150218.D10287-Ht5ggzGNZTC9Yl/XQThFG6xOck334EZe@public.gmane.org> @ 2003-03-29 13:47 ` Ducrot Bruno [not found] ` <20030329134742.GD10287-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Ducrot Bruno @ 2003-03-29 13:47 UTC (permalink / raw) To: Jun Sun; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Fri, Mar 28, 2003 at 03:02:18PM -0800, Jun Sun wrote: > On Fri, Mar 28, 2003 at 02:43:32PM -0800, Grover, Andrew wrote: > > > > Your system either doesn't support C3, or the constant bus master > > activity is keeping it out of C3. USB can cause this, but also AC97. > > > > No USB and AC97. Have 802.11 card working. Not sure if this matters. Who knows.. > > > > > > - What does the ACPI: Processor line say in your dmesg say? > > > > There should be a line that says, "ACPI: Processor found (x perf states > > y throttle)" Is that there? It may be occurring later on in the boot > > process. > > > > I found this line: > > ACPI: Processor [CPU0] (supports C1 C2 C3, 2 performance states) > > > > > What kind of laptop do you have? Does it support SpeedStep, > > > PowerNow, or > > > > the like? > > > > > > My laptop is Fujitsu S6110. CPU supports speedstep. > > > > Getting into the lowest SpeedStep state will help battery life. You may > > want to investigate the cpufreq project. > > > > So my previous conclusion about C1/C2 not saving power is right? > No. C2 will give you some power saving (try to disable explicitely and you will see a decrease of the battery life). You forgot at least disk activities especially if ext3, which prevent almost all IDE drivers to go to idle state. But that will not explain why you can not go to C3 though. Cheers, -- Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20030329134742.GD10287-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>]
* Re: does cpu_idle() halt CPU? [not found] ` <20030329134742.GD10287-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org> @ 2003-04-02 7:05 ` Jan Rychter [not found] ` <m24r5hwfa5.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Jan Rychter @ 2003-04-02 7:05 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f >>>>> "DB" == Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>: [...] DB> You forgot at least disk activities especially if ext3, which DB> prevent almost all IDE drivers to go to idle state. But that will DB> not explain why you can not go to C3 though. By the way, let me ask here: does anybody know what would be the best filesystem to use on a laptop, power saving being the #1 priority? Are all journaling filesystems this bad? There was a project to teach the Linux kernel about drive spindown and manage drive accesses accordingly -- but last time I saw their docs they said that all journaling filesystems pose serious problems... USB preventing the machine from going into C3 is a serious problem. I still don't understand if that's a hardware thing or can we have a more reasonable HCI implementation that doesn't use DMA that much. How does Windows deal with it? --J. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <m24r5hwfa5.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org>]
* Re: Re: does cpu_idle() halt CPU? [not found] ` <m24r5hwfa5.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org> @ 2003-04-02 21:42 ` Matthew Keller [not found] ` <1049319771.19172.27.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org> 2003-04-02 21:44 ` Charl P. Botha 1 sibling, 1 reply; 10+ messages in thread From: Matthew Keller @ 2003-04-02 21:42 UTC (permalink / raw) To: Jan Rychter; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f SGI's XFS is wonderful, AFAICT. Just make sure you have the latest tools and whatnot. On Wed, 2003-04-02 at 02:05, Jan Rychter wrote: > >>>>> "DB" == Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>: > [...] > DB> You forgot at least disk activities especially if ext3, which > DB> prevent almost all IDE drivers to go to idle state. But that will > DB> not explain why you can not go to C3 though. > > By the way, let me ask here: does anybody know what would be the best > filesystem to use on a laptop, power saving being the #1 priority? Are > all journaling filesystems this bad? > > There was a project to teach the Linux kernel about drive spindown and > manage drive accesses accordingly -- but last time I saw their docs they > said that all journaling filesystems pose serious problems... > > USB preventing the machine from going into C3 is a serious problem. I > still don't understand if that's a hardware thing or can we have a more > reasonable HCI implementation that doesn't use DMA that much. How does > Windows deal with it? > > --J. > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel -- Matthew Keller Enterprise Systems Analyst Computing & Technology Services State University of New York @ Potsdam Potsdam, NY USA http://mattwork.potsdam.edu/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1049319771.19172.27.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org>]
* Re: Re: does cpu_idle() halt CPU? [not found] ` <1049319771.19172.27.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org> @ 2003-04-03 6:47 ` Karol Kozimor [not found] ` <20030403064726.GA27821-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Karol Kozimor @ 2003-04-03 6:47 UTC (permalink / raw) To: Matthew Keller; +Cc: Jan Rychter, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Thus wrote Matthew Keller: > SGI's XFS is wonderful, AFAICT. Just make sure you have the latest tools > and whatnot. Are you sure? I am using XFS on both my partitions, both mounted with noatime, I told syslog not to sync upon write, yet the disk still keeps spinning up arbitrarily (usually after 30 - 90 seconds). Or perhaps the cause lies somewhere else? Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20030403064726.GA27821-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>]
* Re: Re: does cpu_idle() halt CPU? [not found] ` <20030403064726.GA27821-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> @ 2003-04-03 18:22 ` Matthew Keller [not found] ` <1049394142.5251.7.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Matthew Keller @ 2003-04-03 18:22 UTC (permalink / raw) To: Karol Kozimor; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Thu, 2003-04-03 at 01:47, Karol Kozimor wrote: > Thus wrote Matthew Keller: > > SGI's XFS is wonderful, AFAICT. Just make sure you have the latest tools > > and whatnot. > > Are you sure? I am using XFS on both my partitions, both mounted with > noatime, I told syslog not to sync upon write, yet the disk still keeps > spinning up arbitrarily (usually after 30 - 90 seconds). Or perhaps the > cause lies somewhere else? > Best regards, I've got 4 partitions (root, /usr, /home and /var/log) and everything is copacetic. One thing to note is that I, uh, don't use syslog on my laptop as disabling it saves my battery life by 10-15%. Try disabling it and seeing where that leads, perhaps? -- Matthew Keller Enterprise Systems Analyst Computing & Technology Services State University of New York @ Potsdam Potsdam, NY USA http://mattwork.potsdam.edu/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <1049394142.5251.7.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org>]
* Re: does cpu_idle() halt CPU? [not found] ` <1049394142.5251.7.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org> @ 2003-04-03 22:45 ` Jan Rychter 0 siblings, 0 replies; 10+ messages in thread From: Jan Rychter @ 2003-04-03 22:45 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f >>>>> "Matthew" == Matthew Keller <kellermg-aGob3lNJgTKVc3sceRu5cw@public.gmane.org>: Matthew> On Thu, 2003-04-03 at 01:47, Karol Kozimor wrote: >> Thus wrote Matthew Keller: > SGI's XFS is wonderful, AFAICT. Just make sure you have the latest > tools and whatnot. >> >> Are you sure? I am using XFS on both my partitions, both mounted >> with noatime, I told syslog not to sync upon write, yet the disk >> still keeps spinning up arbitrarily (usually after 30 - 90 >> seconds). Or perhaps the cause lies somewhere else? Best regards, Matthew> I've got 4 partitions (root, /usr, /home and /var/log) and Matthew> everything is copacetic. One thing to note is that I, uh, Matthew> don't use syslog on my laptop as disabling it saves my battery Matthew> life by 10-15%. Try disabling it and seeing where that leads, Matthew> perhaps? noflushd (http://noflushd.sourceforge.net/ is what I was talking about when I mentioned a project to hold disk writes when the disk is spun down. Unfortunately, the project info page says it doesn't help with reiserfs. It also seems to be stagnant (but perhaps it just works so well?). --J. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: does cpu_idle() halt CPU? [not found] ` <m24r5hwfa5.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org> 2003-04-02 21:42 ` Matthew Keller @ 2003-04-02 21:44 ` Charl P. Botha 1 sibling, 0 replies; 10+ messages in thread From: Charl P. Botha @ 2003-04-02 21:44 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Wed, Apr 02, 2003 at 09:05:06AM +0200, Jan Rychter wrote: > >>>>> "DB" == Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>: > [...] > DB> You forgot at least disk activities especially if ext3, which > DB> prevent almost all IDE drivers to go to idle state. But that will > DB> not explain why you can not go to C3 though. > > By the way, let me ask here: does anybody know what would be the best > filesystem to use on a laptop, power saving being the #1 priority? Are > all journaling filesystems this bad? I'm having great results with ext3 by making sure that all my filesystems are mounted with the noatime option. -- charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Re: does cpu_idle() halt CPU?
@ 2003-04-02 22:20 Grover, Andrew
0 siblings, 0 replies; 10+ messages in thread
From: Grover, Andrew @ 2003-04-02 22:20 UTC (permalink / raw)
To: Jan Rychter, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
> From: Jan Rychter [mailto:jan-JAsPCFd0eodBDgjK7y7TUQ@public.gmane.org]
> USB preventing the machine from going into C3 is a serious
> problem. I still don't understand if that's a hardware thing
> or can we have a more reasonable HCI implementation that
> doesn't use DMA that much. How does Windows deal with it?
Busmaster PCI devices keep us from using C3, because the CPU needs to be
in C2 or higher to handle bus snoops, needed for cache coherency.
USB is a particular problem, because unlike other devices (like IDE)
which only do busmaster when active, USB does them to its task list *all
the time*. This is inherent in the hardware's design.
Software can mitigate this in several ways. First, if there are no
devices attached, then we can put the host controller into Global
Suspend until a device is inserted. UHCI does not scan its task list
when suspended. Windows does this (and so does the Linux "uhci" driver,
but not "uhci-usb"). Another way is selective suspend. In this case, if
*all* the attached devices suspend themselves, we can suspend the HC.
Linux doesn't do this, but Win XP does. The worst scenario is any active
device on the USB. This rules out any technique to minimize busmaster
activity.
This is one reason why laptops have not switched to using internal USB
connections for mouse and keyboard.
Regards -- Andy
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in threadend of thread, other threads:[~2003-04-03 22:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-28 22:43 does cpu_idle() halt CPU? Grover, Andrew
[not found] ` <F760B14C9561B941B89469F59BA3A847E96D88-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-03-28 23:02 ` Jun Sun
[not found] ` <20030328150218.D10287-Ht5ggzGNZTC9Yl/XQThFG6xOck334EZe@public.gmane.org>
2003-03-29 13:47 ` Ducrot Bruno
[not found] ` <20030329134742.GD10287-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2003-04-02 7:05 ` Jan Rychter
[not found] ` <m24r5hwfa5.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org>
2003-04-02 21:42 ` Matthew Keller
[not found] ` <1049319771.19172.27.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org>
2003-04-03 6:47 ` Karol Kozimor
[not found] ` <20030403064726.GA27821-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-04-03 18:22 ` Matthew Keller
[not found] ` <1049394142.5251.7.camel-a2ysWtvtB4BRjtM+DFHcO/Z8FUJU4vz8@public.gmane.org>
2003-04-03 22:45 ` Jan Rychter
2003-04-02 21:44 ` Charl P. Botha
-- strict thread matches above, loose matches on Subject: below --
2003-04-02 22:20 Grover, Andrew
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox