balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
968 stars 115 forks source link

plymouth splash daemon waiting for tty1 uses CPU resources unnecessarily. #867

Open shaunmulligan opened 7 years ago

shaunmulligan commented 7 years ago

This plymouth process seems to be hogging CPU

@sbin/plymouthd --tty=tty1 --mode=boot --pid-file=/run/plymouth/pid --attach-to-session --kernel-command-line=plymouth.ignore-serial-consoles splash

it looks like its consistently using 5% of the CPU on my rpi zero

willnewton commented 7 years ago

It seems like running `plymouth --quit kills the process and this is something you should do at the end of your boot process. However it is not clear when we actually get to the end of the boot and whether we want to keep the splash screen around. @agherzan any ideas what we should do here?

shaunmulligan commented 7 years ago

perhaps the supervisor can kill plymouth just before the user application is starting up?