Read the statement by Michael Teeuw here.
Performances on Pi 3A+
-
Hello,
I’m here to asking an help.In the past I’ve set up an MM and it works good.
I started using a PI 3A+ with 512mb of ram, after some months and some performance issues I switched it to a pi 3B+ with 1GB of ram.Honestly performance’s issues were not ram related, because the command “free” told me I have a lot of free mem but I switched anyway for “science purpose”
Anyway, on pi 3B+ it worked better.
After some months I decided to turn it back on a 3A+ for some reasons.
The 3B+ with a lot of ports is wasted on that project, 3A+ should be enuough and I’m right but some little problems appeared again.Tha major problem is at startup: sometimes it started with a black screen and cursor and I need to manually CTRL+R to make the interface show correctly.
It’s very strange, in my limited mind an issue like that is related to RAM but is not.
“Free” shows me a good amount of Free RAM.
Thanks
-
@nowayto can you show the output of MagicMirror startup?
Are you using pm2 to launch MagicMirror?Can you show the output of free -m
-
@sdetweil Yes, I’m using PM2
total used free shared buff/cache available Mem: 427 174 82 1 170 200 Swap: 1023 145 878
-
@nowayto while MagicMirror is running
-
it’s running
pm2 status
┌────┬────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├────┼────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 1 │ mag │ default │ N/A │ fork │ N/A │ 0 │ 1 │ stopped │ 0% │ 0b │ ber… │ disabled │ │ 0 │ mm │ default │ 2.31.0 │ fork │ 781 │ 55m │ 0 │ online │ 0% │ 808.0kb │ ber… │ disabled │
free -m
total used free shared buff/cache available Mem: 427 149 78 29 199 196 Swap: 1023 178 845
-
@nowayto never seen such a low memory use!!!
-
@sdetweil it’s strange… because I have some modules active
standard Calendar
MMM-CalendarEXT3
standard weather
MMM-Formula1
MMM-Growattis it an issue? Everythings seems ok except for startup (sometimes)
-
@nowayto wow
Might be related to sd card speed
-
@sdetweil it could be. It’s a good card but it could have reached her lifespan. I’ll give it a try, thanks