Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Everything's super slow - what I'm doing wrong?
« previous next »
  • Print
Pages: [1]

Author Topic: Everything's super slow - what I'm doing wrong?  (Read 2014 times)

Offline Keno

  • Member
  • *
  • Posts: 13
Everything's super slow - what I'm doing wrong?
« on: December 01, 2009, 11:38:15 AM »
Hey there,

I installed Rockbox 3.4 on my iRiver H320 (using the 1.29EU firmware). Everything worked flawless. Then I copied about 2200 songs on it and did a database update afterwards.

When the database update was done I tried to play some songs but everything takes ages. Starting a song takes about 20s and even skipping a song takes 10s. I noticed that, while playing a song, it says xx/1000 on the lower boarder of the screen. So i thought maybe the maximum of songs is 1000.

Therefore I connected the player via USB again, moved the songs to a different directory and copied about 120 songs to the MUSIC directory on the player in the hope it would solve the problem. Unfortunately everything is still slow as hell and I ask myself what I'm doing wrong.

Thanks in advance.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Everything's super slow - what I'm doing wrong?
« Reply #1 on: December 01, 2009, 01:10:20 PM »
Try enabling the directory cache.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Keno

  • Member
  • *
  • Posts: 13
Re: Everything's super slow - what I'm doing wrong?
« Reply #2 on: December 01, 2009, 01:26:44 PM »
thanks. that worked great.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Everything's super slow - what I'm doing wrong?
« Reply #3 on: December 01, 2009, 02:31:22 PM »
Was it still taking 20 seconds with only 120 files in the MUSIC directory, btw? Does the time taken vary noticeably with the number of files, or is it always huge?

It will be slower without the dircache, but I'm not sure it should ever be *that* slow...

Thanks for any more info you can provide, as there may be a real bug here which is just getting worked around by the dircache..
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Keno

  • Member
  • *
  • Posts: 13
Re: Everything's super slow - what I'm doing wrong?
« Reply #4 on: December 01, 2009, 04:25:39 PM »
Yes, it still took 20s to load a song with 120 files in the MUSIC directory and 10s to skip to another song. With directory cache enabled it starts playing and skips instantly.

I'm not an expert so I can only imagine that it has something to do with the database I created for the 2200 files before?
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Everything's super slow - what I'm doing wrong?
« Reply #5 on: December 01, 2009, 05:22:35 PM »
The database is not used if you browse from the files view.

May have to look into this...
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Keno

  • Member
  • *
  • Posts: 13
Re: Everything's super slow - what I'm doing wrong?
« Reply #6 on: December 01, 2009, 09:44:27 PM »
I didn't browse the files view. After I copied all files and updated the database I just pressed play (tried both, on the player and on the remote). The first song started after 20s, skipping a song took 10s in both cases (with 2200 and 120 files).
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Everything's super slow - what I'm doing wrong?
« Reply #7 on: December 02, 2009, 05:57:40 AM »
Er, just pressed play in what context? On the menus pressing play just resumes whatever was being played previously, which will use the database if you selected the last thing from the database, and won't if you didn't...

Can you try selecting the files directly from the filesystem, with the dircache off, and see if that takes the same amount of time?
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Keno

  • Member
  • *
  • Posts: 13
Re: Everything's super slow - what I'm doing wrong?
« Reply #8 on: December 02, 2009, 10:31:16 AM »
I just pressed play -  in no context. As I said, I copied the files, updated the database and pressed play (although I'm not sure if I pressed play first on the remote or on the player, sorry).

But I just tested what you said with both, 2200 songs and 120 songs. In both cases starting (and even stopping) a song took around 10s again. On top of it, when I selected the directory with the 2200 files it said "dir buffer is full!". That doesn't happen in the directory with the 120 files.

btw, I traveled to another town by train today. That was a perfect opportunity to test everything a bit longer (about 3 hours to be exact). During that time I encountered two other bugs. Should I write about them here as well or open a new thread?
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Everything's super slow - what I'm doing wrong?
« Reply #9 on: December 02, 2009, 11:24:14 AM »
There's no such thing as "no context" :) Rockbox must be on *some* screen. Play generally resumes the last playlist, is my point, which is a completely different operation to starting a new playlist by picking a file from a directory or the database.

If you have other problems you can make a new thread..
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Everything's super slow - what I'm doing wrong?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 14 queries.