Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance improvements #2

Open
anttikantee opened this issue Mar 27, 2013 · 0 comments
Open

performance improvements #2

anttikantee opened this issue Mar 27, 2013 · 0 comments

Comments

@anttikantee
Copy link
Member

While fs-utils runs in well under 100ms on a modern PC, execution time for a simple ls can be 300ms on RPi. This is too slow for comfortable use. While this issue is not high-priority, I'm writing down some ideas which need to be evaluated.

  • if file system type is not specified, try to mount file systems in some sensible order of popularity
  • don't link in any file system modules at compile-time. instead, dlopen() them at runtime. this avoids unconditionally running a bunch of unnecessary module constructors with every invocation
  • extract probe routines from the drivers into standalone routines at least for the most common file systems. this avoids having to load a module before being able to determine if that driver can handle a given image
  • profile the various fsu utils -- a process which only does rump_init() with -lrumpvfs -lrump runs in ~70ms on the RPi. we're spending 230ms somewhere else.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant