public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* omap3 cpuidle interrupt latency
@ 2009-02-28 17:52 Premi, Sanjeev
  2009-03-01  3:25 ` Dasgupta, Romit
  2009-03-02 19:46 ` Kevin Hilman
  0 siblings, 2 replies; 11+ messages in thread
From: Premi, Sanjeev @ 2009-02-28 17:52 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

I have noticed large interrupt latency when the cpuidle is enabled.
e.g. response time for ping goes from avg 10-20ms to 800-1000ms.
(I am at HEAD of the 'pm' branch)
 
The IRQs and FIQs are disabled at the beginning of the function
omap3_enter_idle() but WFI is executed much later in _omap_sram_idle().
In between, there is only one check for pending IRQs - omap_irq_pending()
 
If any interrupt occurs beyond this point is it considered by the WFI?
 
To reduce this latency, I am planning to do either/both of thse:
- Add more checks for pending IRQs
- Reduce the time for which the IRQs and FIQs are disabled
 
Benefits will depend upon the behavior of WFI.
 
Best regards,
Sanjeev


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

end of thread, other threads:[~2009-03-05 21:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-28 17:52 omap3 cpuidle interrupt latency Premi, Sanjeev
2009-03-01  3:25 ` Dasgupta, Romit
2009-03-01  4:05   ` Woodruff, Richard
2009-03-01  6:48     ` Dasgupta, Romit
2009-03-01 20:01       ` Premi, Sanjeev
2009-03-01 20:49         ` TK, Pratheesh Gangadhar
2009-03-02 19:46 ` Kevin Hilman
2009-03-03 10:23   ` Premi, Sanjeev
2009-03-04 14:21     ` Premi, Sanjeev
2009-03-04 19:15       ` Kevin Hilman
2009-03-05 21:24       ` Premi, Sanjeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox