What causes the long delays which switching or starting apps?
#9
(07-06-2021, 05:16 PM)Zebulon Walton Wrote: I've noticed this as well. (It's hard not to!) My assumption has been that it's due to the low speed of eMMC and SD cards causing long load times.

I second your assumption. As mentioned in this forum, the eMMC has about 65 MB/s read speed.
For comparison, the built-in SSD memory of the iPhone SE 2nd gen has  - wait for it  -  439 MB/s read speed (german site )

I ran:

Code:
perf top

while starting up the gnome Maps app and by far the most frequent sys call (about 16% of all calls during startup - not accounting for how long each call takes [!] ) is:
Code:
do_lookup_x

which is the syscall used to load e.g. .so files etc. during startup.


To me this means the only chance to have faster-starting apps is to have apps which actually start faster (d'oh). Meaning it is not up to the distro or upstream, but it is up to the app devs to speed their apps up. A way to do that without having to change any code is to link the whole application statically. This results in a (way) larger application executable but gets rid of additional file i/o during app start.

For end users the only way to go for now seems to look for apps with smaller footprint and try them out.
I would love it if linmob or the mobian wiki would list the startup time, just roughly in seconds would be great!
  Reply


Messages In This Thread
RE: What causes the long delays which switching or starting apps? - by lacriz - 10-09-2021, 07:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio output switching anomalies treebeard 1 904 06-10-2024, 06:37 AM
Last Post: anonymous
  Keyboard not popping up on QT apps 3x5co 1 1,003 02-08-2024, 11:45 PM
Last Post: Kevin Kofler
  DDing mobian to emmc or microSD not starting... Mr.Berzerk 2 1,759 08-05-2022, 06:09 PM
Last Post: mark1250
  Giving certain audio apps priority on the lock screen and pulldown 3x5co 0 1,102 07-17-2022, 10:34 AM
Last Post: 3x5co
  Using lat/lon in GPS/GNSS apps and Messaging biketool 6 4,148 05-04-2022, 11:45 AM
Last Post: wibble
  Apps and SD Card biketool 2 2,350 03-06-2022, 09:47 AM
Last Post: biketool
  Reskinning Apps for Mobile biketool 6 4,373 12-05-2021, 02:30 PM
Last Post: biketool
  no access to webdav files (for some apps) jsch 0 1,506 11-13-2021, 09:46 AM
Last Post: jsch
  Sizing apps to fit to screen county93 4 4,010 10-23-2021, 11:36 PM
Last Post: bcnaz
  Installed Apps not opening mmd604 5 4,911 10-08-2021, 09:29 AM
Last Post: ragreenburg

Forum Jump:


Users browsing this thread: 5 Guest(s)