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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Noticeable delay entering folders
« previous next »
  • Print
Pages: [1]

Author Topic: Noticeable delay entering folders  (Read 3481 times)

Offline Taslow

  • Member
  • *
  • Posts: 29
Noticeable delay entering folders
« on: December 07, 2007, 12:24:48 PM »
In the last couple weeks I've noticed a significant (3-4 second) delay in a response from rockbox when I select a folder in the file tree (I'm running a Sansa e250r). It wasn't there when I originally installed rockbox, and there are actually less files in the folder now then before I noticed the delay. Is there a cache I should empty, or could it be an issue with the display theme? Obviously 3-4 seconds isn't really that long, but it can be really annoying because I think I haven't pushed the button or something, only to find that I've pushed it twice after the delay catches up and I'm suddenly in a files context menu the next step in.
Logged
Gotta start somewhere, eh?

Offline Taslow

  • Member
  • *
  • Posts: 29
Re: Noticeable delay entering folders
« Reply #1 on: December 11, 2007, 02:49:58 PM »
Really? No one else out there has experienced this at least? Maybe it's defective hardware (although I should have had the problem from day one if that were the case, but I didn't)?
Logged
Gotta start somewhere, eh?

Offline safetydan

  • Developer
  • Member
  • *
  • Posts: 248
Re: Noticeable delay entering folders
« Reply #2 on: December 11, 2007, 03:24:52 PM »
Do you have dircache enabled?
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Noticeable delay entering folders
« Reply #3 on: December 12, 2007, 02:30:23 AM »
no dircache on e200...

my guess is the FAT is stuffed maybe slowing down the file seeking?
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Noticeable delay entering folders
« Reply #4 on: December 12, 2007, 02:35:45 AM »
I'm sure about the OP, but on my e280, the Database autoupdate causes incredible slowness when starting up.

I'm not sure about why the Dircache is not available on Flash units (probably not required), but I do know that the autoupdate does not seem to yield correctly, if at all, during the refresh.

You can do maybe one action, enter the file browser for instance, but then the UI is totally frozen and playback is not started until the autoupdate is completed, at which point full control resumes and playback starts.

I now run with autoupdate off and start up is super-speedy.
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Taslow

  • Member
  • *
  • Posts: 29
Re: Noticeable delay entering folders
« Reply #5 on: December 13, 2007, 06:25:47 PM »
The FAT?
Logged
Gotta start somewhere, eh?

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Noticeable delay entering folders
« Reply #6 on: December 13, 2007, 06:33:04 PM »
File Allocation Table.. the filesystem...
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Taslow

  • Member
  • *
  • Posts: 29
Re: Noticeable delay entering folders
« Reply #7 on: December 17, 2007, 05:59:32 PM »
Just for everyone's information: As an experiment, I cleaned out the numerous bookmarks I had in the bookmark file. Manually deleted the whole bookmark files I didn't need then used a text editor to remove all the old marks from the one I DID need and that seems to have cleared up the delay. My guess is that 3-4 second delay was Rockbox trying to read the bookmarks before displaying the folder?

Logged
Gotta start somewhere, eh?

Offline FelixJZ

  • Member
  • *
  • Posts: 5
Re: Noticeable delay entering folders
« Reply #8 on: December 23, 2007, 08:35:20 AM »
Yeah, weird, I too have this 3-4 second delay.
What happens is if i pick a folder, say I click on Metallica in the Artists section, it says in a grey box on the screen "Seeking folders 0/10" or something like that, then eventually finds folders and opens, but still its a 3-4 second delay.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Noticeable delay entering folders
« Reply #9 on: December 23, 2007, 05:01:16 PM »
You mean "in the database" where they aren't folders.

Please be very specific. Folders are folders / directories on the disk. The delay in entering a database category is different.
Logged

zajacattack

  • Guest
Re: Noticeable delay entering folders
« Reply #10 on: December 23, 2007, 05:19:43 PM »
Yes, I would like to know, why the delay when entering and picking a song in the database?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Noticeable delay entering folders
« Reply #11 on: December 23, 2007, 05:21:54 PM »
This thread is about folders, not filters in the database. Please don't try to hijack threads.

As a rough summary, when entering a folder there's a pre-set list of files that are in that folder. Because the database uses "queries" formulated in the tagnavi file, when you click on something in the database view, it's basically having to search the database for all cases where that "query" you wrote in your tagnavi is true.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Noticeable delay entering folders
 

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

Page created in 0.102 seconds with 14 queries.