linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Timekeeping issue on aggressive suspend/resume
@ 2010-06-09 19:50 Suresh Rajashekara
  2010-06-09 20:22 ` Thomas Gleixner
  2010-06-11  7:21 ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Suresh Rajashekara @ 2010-06-09 19:50 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-kernel, linux-pm

I have an application (running on 2.6.29-omap1) which puts an OMAP1
system to suspend aggressively. The system wakes up every 4 seconds
and stays awake for about 35 milliseconds and sleeps again for another
4 seconds. This design is to save power on a battery operated device.

This aggressive suspend resume action seems like creating an issue to
other applications in the system waiting for some timeout to happen
(especially an application which is waiting using the mq_timedreceive
and is supposed to timeout every 30 seconds. It seems to wake up every
90 seconds). Seems like the timekeeping is not happening properly in
side the kernel.

If the suspend duration is changed from 4 second to 1 second, then
things work somewhat better. On reducing it to 0.5 second (which was
our earlier design on 2.6.16-rc3), the problem seems to disappear.

Is this expected?

Thanks in advance,

Suresh

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

end of thread, other threads:[~2010-06-14 20:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 19:50 Timekeeping issue on aggressive suspend/resume Suresh Rajashekara
2010-06-09 20:22 ` Thomas Gleixner
2010-06-10  6:34   ` Suresh Rajashekara
2010-06-10 19:52     ` john stultz
2010-06-14  7:46       ` Suresh Rajashekara
2010-06-14 19:25         ` john stultz
2010-06-14 20:21           ` Thomas Gleixner
2010-06-11  7:21 ` Thomas Petazzoni

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