[ltp] How to reduce the "Rescheduling Interrupts" wake up?

Geraint Yang linux-thinkpad@linux-thinkpad.org
Fri, 30 Mar 2012 11:58:21 +0800


--0016e68ee1572efbbc04bc6ddbd9
Content-Type: text/plain; charset=UTF-8

I have a i5 2410 cpu in T420, but I have the same output as yours for
>cat /sys/devices/system/clocksource/clocksource0/current_clocksource
tsc

Which one should I choose to reduce the Rescheduling Interrupts?

Thanks.


On Fri, Mar 30, 2012 at 4:10 AM, Florian Reitmeir <florian@reitmeir.org>wrote:

> Hi,
>
>
> > I installed the Gentoo Linux with 3.2.12 kernel on a Thinkpad T420, and
> > I used powertop to find out whatever is reducing my battery life, and I
> > found out that "Rescheduling Interrupts" was always the top and often
> > cost nearly 50%, I have try the methods on website [1], but it didn't
> > make things different. Is there any method I could try to reduce the
> > "Rescheduling Interrupts"? Or it is a kernel bug?
>
>
> on my old X60s, the Rescheduling Interrupts were caused the by cpu itself.
> i learned that i owned an to old intel cpu which has no stable tsc.
>
>
> on my new X220 it looks like this:
>
> > cat /sys/devices/system/**clocksource/clocksource0/**
> available_clocksource
> tsc hpet acpi_pm
>
>
> > cat /sys/devices/system/**clocksource/clocksource0/**current_clocksource
> tsc
>
>
> --
> Florian Reitmeir
> E-Mail: florian@reitmeir.org
> Tel: +43 650 2661660
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.**org/mailman/listinfo/linux-**thinkpad<http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad>
>



-- 
Geraint Yang
Tsinghua University Department of Computer Science and Technology

--0016e68ee1572efbbc04bc6ddbd9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I have a i5 2410 cpu in T420, but I have the same output as yours for<br>&g=
t;cat /sys/devices/system/clocksource/clocksource0/current_clocksource<br>t=
sc<br><br>Which one should I choose to reduce the Rescheduling Interrupts?<=
br>

<br>Thanks.<br><br><br><div class=3D"gmail_quote">On Fri, Mar 30, 2012 at 4=
:10 AM, Florian Reitmeir <span dir=3D"ltr">&lt;<a href=3D"mailto:florian@re=
itmeir.org">florian@reitmeir.org</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

Hi,<div class=3D"im"><br>
<br>
&gt; I installed the Gentoo Linux with 3.2.12 kernel on a Thinkpad T420, an=
d<br>
&gt; I used powertop to find out whatever is reducing my battery life, and =
I<br>
&gt; found out that &quot;Rescheduling Interrupts&quot; was always the top =
and often<br>
&gt; cost nearly 50%, I have try the methods on website [1], but it didn&#3=
9;t<br>
&gt; make things different. Is there any method I could try to reduce the<b=
r>
&gt; &quot;Rescheduling Interrupts&quot;? Or it is a kernel bug?<br>
<br>
<br></div>
on my old X60s, the Rescheduling Interrupts were caused the by cpu itself. =
i learned that i owned an to old intel cpu which has no stable tsc.<br>
<br>
<br>
on my new X220 it looks like this:<br>
<br>
&gt; cat /sys/devices/system/<u></u>clocksource/clocksource0/<u></u>availab=
le_clocksource<br>
tsc hpet acpi_pm<br>
<br>
<br>
&gt; cat /sys/devices/system/<u></u>clocksource/clocksource0/<u></u>current=
_clocksource<br>
tsc<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
-- <br>
Florian Reitmeir<br>
E-Mail: <a href=3D"mailto:florian@reitmeir.org" target=3D"_blank">florian@r=
eitmeir.org</a><br>
Tel: <a href=3D"tel:%2B43%20650%202661660" value=3D"+436502661660" target=
=3D"_blank">+43 650 2661660</a><br>
-- <br>
The linux-thinkpad mailing list home page is at:<br>
<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpa=
d" target=3D"_blank">http://mailman.linux-thinkpad.<u></u>org/mailman/listi=
nfo/linux-<u></u>thinkpad</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div styl=
e=3D"text-align:left">Geraint Yang <br>Tsinghua University Department of Co=
mputer Science and Technology</div>
<div><br></div><br>

--0016e68ee1572efbbc04bc6ddbd9--