I was watching top via an SSH session.
When I select a new app there is a long delay before the new app shows up on the screen.
I had expected to see something like high CPU usage, or perhaps high io wait while the app is loading.
But I see neither.
What is going on during the long app startup times?
Do other people experience this behavior?
Assuming you are on Mobian (I am). I see the same behaviour.
My assumptions would have been same, so that's interesting what you observed via top.
On Android for instance, lots of stuff is actually kept in memory for fast switching / better user experience.
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.
Very interesting that the I/O wait time is not reflected in iowait in the CPU stats.
One would think the CPU would be busy somewhere.
root@mobian:~# dd if=/dev/mmcblk2 of=/dev/null bs=8M count=100
100+0 records in
100+0 records out
838860800 bytes (839 MB, 800 MiB) copied, 16.0952 s, 52.1 MB/s
52 MB/s seems pretty fast. (though it is sequential and not random)
My understanding is that a lot of the delay is due to the GTK+ interface of Mobian apps not being accelerated on the PinePhone's graphics hardware.
07-13-2021, 11:09 AM
(This post was last modified: 07-13-2021, 11:10 AM by swiley.)
Some Xorg WMs are just slow. I've noticed fluxbox can take it's time opening new windows while FVWM does not. There's probably something similar going on with Phosh. Then there's loading all the SOs and whatnot that might not be cached.
I highly doubt GPU acceleration has much to do with it. It might even make things worse by taking memory that could be used for disk cache and using it for compositing instead, but I don't know enough about the pinephone hardware to really know for sure.