cpu usage way too high (?)
andy at openmoko.com
Mon Feb 2 10:42:04 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| On Sun, Feb 01, 2009 at 04:08:25PM +0100, Daniel Spies wrote:
|> Recently I tried to play a .ogg file for the first time (also .mp3)
|> really confused about the cpu usage again. I tried to play it in vlc,
|> doesn't work at all.
|> Playing in alsaplayer is nearly impossible, the song
|> laggs like hell.
| There's something broken in alsaplayer. It uses around 50 % CPU
| not playing. xmms2 plays Ogg Vorbis without too much trouble.
| It also appears than any sort of write to the SD-card (even just 4 kB)
| can interrupt audio. I don't know if it's down to the hardware or a kernel
| bug. Reading from the SD-card seems to work fine.
We do have to sit there spamming the 4KB into the Glamo memory before
starting the transaction. But it's not much different from having to
spam out the 4KB from the Glamo memory on read inside interrupt context
when notified it completed.
Maybe the card blocks for a long time after the write, and the next
command we try doesn't return a status for a long time and we sit
spinning for it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the hardware