login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
10
Re: [linux-pm] sleepy linux self-test
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: David Brownell <david-b@...>
Cc: <rjw@...>, <mingo@...>, <linux-pm@...>, <linux-kernel@...>
Subject:
Re: [linux-pm] sleepy linux self-test
Date: Sunday, February 10, 2008 - 5:03 pm
Hi!
quoted text
> > > > The changes look good to me. > > > > > > They feel unfinished to me though. :) > > > > > > Like using "jiffies" instead of a clocksource, which makes trouble > > > since the timing covers periods with IRQs disabled. And the test > > > mode parameter needs work. > > > > Well, I'd say that timing has bigger problem, right? > > > > It is > > > > set alarm > > suspend system > > | poweroff > > alarm expires > > system resumes > > > > ... so you are measuring resume time + sleep time, no? > > There's no "poweroff" step when entering STR or STANDBY! > > But more specifically, I avoided that issue by comparing times between > (a) start and end of the "suspend devices" steps; > (b) start and end of the "resume devices" steps. > > Example output, with the relevant lines highlighted by "*": > > PM: test RTC wakeup from 'mem' suspend > PM: Syncing filesystems ... done. > PM: Preparing system for mem sleep > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > PM: Entering mem sleep > Suspending console(s) > * PM: suspend devices took 0.000 seconds > GPIO-A may wake for 00080000 > GPIO-C may wake for 00000008 > GPIO-D may wake for 00000020 > AT91: PM - wake mask 00000036, pm state 3 > AT91: PM - no slow clock mode yet ... > AT91: PM - wakeup 00000002 > * PM: resume devices took 0.132 seconds > PM: Finishing wakeup. > Restarting tasks ... done. > > The underlying clocksource has resolution of 32 KiHz, while HZ=128; > the "suspend" more typically reports 7 msec. And there should be a > few more wakeup GPIOs, except I seem to not have enabled gpio_keys. > That "wakeup 00000002" means the heavily-overloaded "system" IRQ > woke the system ... the RTC is on that IRQ line.
Aha, that should work, yes. Sorry for noise. Pavel -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
sleepy linux self-test
, Pavel Machek
, (Wed Jan 30, 9:17 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Thu Jan 31, 9:55 pm)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sat Feb 2, 8:47 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 1:31 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 2:00 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 3:13 pm)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sat Feb 2, 3:32 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 3:38 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 10:37 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 1:05 am)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 1:14 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 3:18 am)
Re: [linux-pm] sleepy linux self-test
, Sam Ravnborg
, (Sun Feb 3, 3:51 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 4:26 am)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 1:19 am)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 1:35 am)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 1:54 am)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sun Feb 10, 5:02 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sun Feb 3, 3:05 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 3:32 am)
Re: [linux-pm] sleepy linux self-test
, Rafael J. Wysocki
, (Sun Feb 3, 8:21 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 9:16 am)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Mon Feb 18, 4:56 am)
[patch] suspend/resume self-test
, Ingo Molnar
, (Mon Feb 18, 5:46 am)
Re: [patch] suspend/resume self-test
, Rafael J. Wysocki
, (Mon Feb 18, 7:06 am)
Re: [patch] suspend/resume self-test
, Pavel Machek
, (Mon Feb 18, 5:53 am)
Re: [patch] suspend/resume self-test
, David Brownell
, (Mon Feb 18, 6:40 am)
Re: [patch] suspend/resume self-test
, Ingo Molnar
, (Mon Feb 18, 9:09 am)
Re: [patch] suspend/resume self-test
, David Brownell
, (Mon Feb 18, 4:16 pm)
Re: [patch] suspend/resume self-test
, Ingo Molnar
, (Tue Feb 19, 10:40 am)
Re: [patch] suspend/resume self-test
, Pavel Machek
, (Tue Feb 19, 6:11 am)
Re: [patch] suspend/resume self-test
, Ingo Molnar
, (Tue Feb 19, 10:43 am)
Re: [patch] suspend/resume self-test
, David Brownell
, (Tue Feb 19, 3:12 pm)
Re: [patch] suspend/resume self-test
, Ingo Molnar
, (Wed Feb 20, 6:15 am)
Re: [patch] suspend/resume self-test
, Rafael J. Wysocki
, (Mon Feb 18, 7:04 am)
Re: [linux-pm] sleepy linux self-test
, Rafael J. Wysocki
, (Sun Feb 3, 5:29 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 6:42 pm)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sun Feb 3, 6:48 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sun Feb 3, 7:08 pm)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sun Feb 10, 5:03 pm)
Re: [linux-pm] sleepy linux self-test
, Rafael J. Wysocki
, (Sun Feb 3, 6:43 pm)
Re: [linux-pm] sleepy linux self-test
, Pavel Machek
, (Sat Feb 2, 3:59 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 1:51 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 9:50 am)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 1:49 pm)
Re: [linux-pm] sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 2:06 pm)
Re: [linux-pm] sleepy linux self-test
, David Brownell
, (Sat Feb 2, 3:47 pm)
Re: sleepy linux self-test
, Ingo Molnar
, (Wed Jan 30, 3:36 pm)
Re: sleepy linux self-test
, Pavel Machek
, (Wed Jan 30, 7:26 pm)
Re: sleepy linux self-test
, Ingo Molnar
, (Fri Feb 1, 10:22 am)
Re: sleepy linux self-test
, Pavel Machek
, (Sat Feb 2, 8:45 am)
Re: sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 9:51 am)
Re: sleepy linux self-test
, Ingo Molnar
, (Sat Feb 2, 9:49 am)
Re: sleepy linux self-test
, Ingo Molnar
, (Wed Jan 30, 12:35 pm)
Re: sleepy linux self-test
, Pavel Machek
, (Wed Jan 30, 12:39 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
David Chinner
Re: [RFD] BIO_RW_BARRIER - what it means for devices, filesystems, and dm/md.
Andrew Morton
-mm merge plans for 2.6.23
Trent Piepho
Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
David Miller
Re: iptables very slow after commit784544739a25c30637397ace5489eeb6e15d7d49
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
833 guests
online.
Online users
legogeekynerd11
internetbusine
amazingpsorias
olecom
mtgmktg
forexstrategie
Syndicate