linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Why is the e500v2 core  not using cpuidle?
@ 2013-02-01 12:06 Thomas Waldecker
  2013-02-01 18:15 ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Waldecker @ 2013-02-01 12:06 UTC (permalink / raw)
  To: Linux PPC dev mailing list (linuxppc-dev@lists.ozlabs.org)

Hi,

As part of my masterthesis I was just looking around the kernel=20
sources for cpuidle and figured out that the only CPU in the PowerPC=20
architecture using the cpuidle framework is the pseries.

I assume the e500v2 core is using the idle modes=20
in arch/powerpc/kernel/idle_e500.S

Why is there no support for the cpuidle framework?

How can I debug the e500 idle modes?=20
Are there any statistics?

I already ran PowerTOP on a QorIQ P2020 but it's almost useless=20
because the information is missing.

Kind regards,
Thomas Waldecker

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Why is the e500v2 core not using cpuidle?
@ 2013-02-07 12:19 Thomas Waldecker
  2013-02-07 18:01 ` Scott Wood
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Waldecker @ 2013-02-07 12:19 UTC (permalink / raw)
  To: Scott Wood; +Cc: Linux PPC dev mailing list (linuxppc-dev@lists.ozlabs.org)

Hi Scott,

I measured the power consumption of the whole system on the tqmp2020 ( http=
://tq-group.com/tqmp2020 )
with a QorIQ P2020.

Kernel:
root@generic-powerpc-e500v2:/sys/power# uname -a
Linux generic-powerpc-e500v2 3.7.0-rc8-00004-g6e93414 #4 SMP Tue Dec 11 08:=
53:23 CET 2012 ppc GNU/Linux
root@generic-powerpc-e500v2:/sys/power# cat /etc/issue
ELDK 5.2.1 \n \l

In idle using doze I got:
545mA, 18V =3D> 9.81W

In idle using nap I got:
500mA, 18V =3D> 9W

That's a difference of 0.81W,
0.81W/9.81W =3D 0.083 (8.3 %)

> The only way you'll get into sleep mode is through /sys/power/state.

How can I use this interface?

root@generic-powerpc-e500v2:/sys/power# ls -la
total 0
drwxr-xr-x  2 root root    0 Feb  1 15:39 .
dr-xr-xr-x 12 root root    0 Feb  1 15:19 ..
-rw-r--r--  1 root root 4096 Feb  1 15:39 state
root@generic-powerpc-e500v2:/sys/power# cat state
root@generic-powerpc-e500v2:/sys/power# echo "sleep" > state
-sh: echo: write error: Function not implemented
root@generic-powerpc-e500v2:/sys/power# echo 0 > state
-sh: echo: write error: Function not implemented
root@generic-powerpc-e500v2:/sys/power#

Kind regards
Thomas Waldecker

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-07 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-01 12:06 Why is the e500v2 core not using cpuidle? Thomas Waldecker
2013-02-01 18:15 ` Scott Wood
2013-02-02  9:41   ` AW: " Thomas Waldecker
2013-02-04 20:02     ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2013-02-07 12:19 Thomas Waldecker
2013-02-07 18:01 ` Scott Wood

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).