dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: How can we manage performance problems?

Re: How can we manage performance problems?

From: Linus Nielsen Feltzing <>
Date: Sun, 3 Nov 2002 13:05:16 +0100

Quoting langhaarrocker <>:

> We currently have serious performance problems when playing back mp3
> at bitrates >= 256 kBit/s. Drop-outs and even complete stop of
> playback can occur.

So we need to fix this. This is what we feared when we discussed the bezerk peak meter mode.

> The trouble seems to be while loading / bitswapping data when many
> lines are scrolling in wps and / or peak meter is enabled.

I have no problems with this, even at 320kbit/s. So it also has to do with the spinup time of the hard disk.

> Is there a
> way to determine wether loading / bitswapping is taking place so that
> we can disable scrolling and maybe even the peak meter meanwhile?

No, there isn't. But we could introduce one if it became necessary. I don't think it will be necessary, though.

Try to increase MPEG_SWAP_CHUNKSIZE to 0x4000 and see if that helps.

> Must we drop round-robin scheduling and have multithreading with
> priorities?

No, we need to write efficient code.

Received on 2002-11-03

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy