5 ms·
Your work is impressive! What's amazing is the mere seconds you see a productive screen in. Android takes full 30 seconds for me.
by hideevidence 6y ago
Your work is impressive! What's amazing is the mere seconds you see a productive screen in. Android takes full 30 seconds for me.
- megous 6y agoThat requires a customized PID 1 init program and a lightweight GUI (that map app is just ~10MiB of code + some code for postgresql that runs in the background) - most of the delay there is waiting for the postgresql to start up, actually. Arch Linux to some lightweight GUI based on Xorg/i3wm takes about 8s. Similar for my Electron/X11 fullscreen based GUI for the phone (also in the video). Both are much larger. Sadly, the Linux userspace is quite bloated, and the limiting factor is loading times from storage to RAM. You basically need to load >200 MiB of binaries/.so files to have anything useable running. With eMMC speed of ~85MiB/s and SD card speed of 25MiB/s max for sequential reads only, you get the picture of where the most of the delay is.
- justinclift 6y agoIs this one of the cases where PostgreSQL is overkill and something like SQLite would be a better fit?
- megous 6y agoI like the fact that I can get easy to set up replication, without much effort, that works reliably with frequent network failures and such.
- justinclift 6y agoCool. :smile: