mmcqd cpu utilization
Hi,
Has anyone monitored the cpu utilization percentage when a MMC/SD card is in use? I have noticed that mmc_queue_thread "mmcqd" consumes a lot of cpu cycles in a periodic fashion. What I mean here is that I see spikes of high cpu utilization due to mmcqd. There will a cp or similar which will be already consuming cpu to transfer data to the MMC/SD device. Further mmcqd increases that load randomly to a high number.
Has anyone seen similar behavior? Any thoughts?
Regards,
Madhu
Quoted 11 lines · On Wed, 2 Sep 2009 12:23:59 -0500 "Madhusudhan" <[email protected]> wrote:
Hi,
Has anyone monitored the cpu utilization percentage when a MMC/SD card is in use? I have noticed that
mmc_queue_thread"mmcqd" consumes a lot of cpu cycles in a periodic fashion. What I mean here is that I see spikes of high cpu utilization due to mmcqd. There will a cp or similar which will be already consuming cpu to transfer data to the MMC/SD device. Further mmcqd increases that load randomly to a high number.Has anyone seen similar behavior? Any thoughts?
My guess would be that the omap driver doesn't (cannot?) use the hardware to wait for busy to end, so the system must poll.
Anything better than that guess will require some profiling. :)
Rgds
Signature · 6 lines
-- Pierre Ossman WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
Quoted 21 lines
-----Original Message-----
From: Pierre Ossman [mailto:[email protected]]
Sent: Wednesday, September 02, 2009 12:41 PM
To: Madhusudhan
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: mmcqd cpu utilizationQuoted 3 lines · On Wed, 2 Sep 2009 12:23:59 -0500 "Madhusudhan" <[email protected]> wrote:
Hi,
Has anyone monitored the cpu utilization percentage when a MMC/SD card
is in
Quoted 2 lines
use? I have noticed that
mmc_queue_thread"mmcqd" consumes a lot of cpu cycles in a periodic fashion. What I mean here is that I see spikes ofhigh
Quoted 2 lines
cpu utilization due to mmcqd. There will a cp or similar which will be already consuming cpu to transfer data to the MMC/SD device. Further
Quoted 9 lines
mmcqd
Quoted 4 lines
increases that load randomly to a high number.
Has anyone seen similar behavior? Any thoughts?
My guess would be that the omap driver doesn't (cannot?) use the hardware to wait for busy to end, so the system must poll.
So your guess hints probably at "wait_for_completion(&complete)". Am I correct?
Regards,
Madhu
Quoted 10 lines
Anything better than that guess will require some profiling. :)
Rgds
--
-- Pierre OssmanWARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
Madhu,
Quoted 7 lines
Quoted 4 lines
My guess would be that the omap driver doesn't (cannot?) use the hardware to wait for busy to end, so the system must poll.
So your guess hints probably at "
wait_for_completion(&complete)". Am I correct?
Madhu wait_for_completion is blocking call. Please check 'omap_mmc_request'