Re: 100% C0 with 2.6.25-rc

2008-02-22 Thread Jan Willies
Pallipadi, Venkatesh wrote:
>> -Original Message-
>> From: Jan Willies [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, February 22, 2008 9:50 AM
>> To: Pallipadi, Venkatesh
>> Cc: Rafael J. Wysocki; [email protected]; Ingo 
>> Molnar; LKML; Thomas Gleixner
>> Subject: Re: 100% C0 with 2.6.25-rc
>>
>> Pallipadi, Venkatesh wrote:
>>> One question. Do you have CONFIG_CPU_IDLE enabled in your confg?
>> Yes, I have. Attached is my .config file
>>
> 
> Can you try with it disabled and check whether you still see the
> problem?

Yup you are right, that fixes the problem as well.


- Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: 100% C0 with 2.6.25-rc

2008-02-22 Thread Pallipadi, Venkatesh
 

>-Original Message-
>From: Jan Willies [mailto:[EMAIL PROTECTED] 
>Sent: Friday, February 22, 2008 9:50 AM
>To: Pallipadi, Venkatesh
>Cc: Rafael J. Wysocki; [email protected]; Ingo 
>Molnar; LKML; Thomas Gleixner
>Subject: Re: 100% C0 with 2.6.25-rc
>
>Pallipadi, Venkatesh wrote:
>> One question. Do you have CONFIG_CPU_IDLE enabled in your confg?
>
>Yes, I have. Attached is my .config file
>

Can you try with it disabled and check whether you still see the
problem?

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: 100% C0 with 2.6.25-rc

2008-02-22 Thread Pallipadi, Venkatesh
 

>-Original Message-
>From: Jan Willies [mailto:[EMAIL PROTECTED] 
>Sent: Friday, February 22, 2008 7:56 AM
>To: Rafael J. Wysocki
>Cc: [email protected]; Ingo Molnar; LKML; Thomas 
>Gleixner; Pallipadi, Venkatesh
>Subject: Re: 100% C0 with 2.6.25-rc
>
>Rafael J. Wysocki wrote:
>> On Thursday, 21 of February 2008, Jan Willies wrote:
>>> Since 2.6.25-rc1 I have a lot of wakeups/s (≈134191,4) and 
>spend 100% in C0.
>>> It worked fine with 2.6.24 and commandline nolapic. Without 
>nolapic I had 80k
>>> wakeups/s after some time, but not right from the start like now.  
>> 
>> We have a regression from 2.6.24, apparently interrupts-related.
>
>After a lot of bisecting I've found the bad commit: 
>
>9b12e18cdc1553de62d931e73443c806347cd974 is first bad commit
>commit 9b12e18cdc1553de62d931e73443c806347cd974
>Author: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date:   Thu Jan 31 17:35:05 2008 -0800
>
>ACPI: cpuidle: Support C1 idle time accounting
>
>Show C1 idle time in /sysfs cpuidle interface. C1 idle time may not
>be entirely accurate in all cases. It includes the time spent
>in the interrupt handler after wakeup with "hlt" based C1. 
>But, it will
>be accurate with "mwait" based C1.
>
>
>Reverting the commit brings my laptop back to C2.
>

One question. Do you have CONFIG_CPU_IDLE enabled in your confg?

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: 100% C0 with 2.6.25-rc

2008-02-22 Thread Pallipadi, Venkatesh
 

>-Original Message-
>From: Jan Willies [mailto:[EMAIL PROTECTED] 
>Sent: Friday, February 22, 2008 7:56 AM
>To: Rafael J. Wysocki
>Cc: [email protected]; Ingo Molnar; LKML; Thomas 
>Gleixner; Pallipadi, Venkatesh
>Subject: Re: 100% C0 with 2.6.25-rc
>
>Rafael J. Wysocki wrote:
>> On Thursday, 21 of February 2008, Jan Willies wrote:
>>> Since 2.6.25-rc1 I have a lot of wakeups/s (≈134191,4) and 
>spend 100% in C0.
>>> It worked fine with 2.6.24 and commandline nolapic. Without 
>nolapic I had 80k
>>> wakeups/s after some time, but not right from the start like now.  
>> 
>> We have a regression from 2.6.24, apparently interrupts-related.
>
>After a lot of bisecting I've found the bad commit: 
>
>9b12e18cdc1553de62d931e73443c806347cd974 is first bad commit
>commit 9b12e18cdc1553de62d931e73443c806347cd974
>Author: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date:   Thu Jan 31 17:35:05 2008 -0800
>
>ACPI: cpuidle: Support C1 idle time accounting
>
>Show C1 idle time in /sysfs cpuidle interface. C1 idle time may not
>be entirely accurate in all cases. It includes the time spent
>in the interrupt handler after wakeup with "hlt" based C1. 
>But, it will
>be accurate with "mwait" based C1.
>
>
>Reverting the commit brings my laptop back to C2.
>

Thanks for the bisect info. I will look at the bad side effects that patch may 
be having and I should have a patch for you to test later today

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: 100% C0 with 2.6.25-rc

2008-02-22 Thread Jan Willies
Rafael J. Wysocki wrote:
> On Thursday, 21 of February 2008, Jan Willies wrote:
>> Since 2.6.25-rc1 I have a lot of wakeups/s (≈134191,4) and spend 100% in C0.
>> It worked fine with 2.6.24 and commandline nolapic. Without nolapic I had 80k
>> wakeups/s after some time, but not right from the start like now.  
> 
> We have a regression from 2.6.24, apparently interrupts-related.

After a lot of bisecting I've found the bad commit: 

9b12e18cdc1553de62d931e73443c806347cd974 is first bad commit
commit 9b12e18cdc1553de62d931e73443c806347cd974
Author: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date:   Thu Jan 31 17:35:05 2008 -0800

ACPI: cpuidle: Support C1 idle time accounting

Show C1 idle time in /sysfs cpuidle interface. C1 idle time may not
be entirely accurate in all cases. It includes the time spent
in the interrupt handler after wakeup with "hlt" based C1. But, it will
be accurate with "mwait" based C1.


Reverting the commit brings my laptop back to C2.


HTH

- Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: 100% C0 with 2.6.25-rc

2008-02-21 Thread Rafael J. Wysocki
On Thursday, 21 of February 2008, Jan Willies wrote:
> Hi,
> 
> Since 2.6.25-rc1 I have a lot of wakeups/s (≈134191,4) and spend 100% in C0.
> It worked fine with 2.6.24 and commandline nolapic. Without nolapic I had 80k
> wakeups/s after some time, but not right from the start like now.  

We have a regression from 2.6.24, apparently interrupts-related.

> What useful information can I provide?

Let's see what the experts say.

Thanks,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html