Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Is it possible to speed-up MOODE boot sequence ?
#1
Hello  everyone,

I own a USBBridge with an I2S Katana DAC connected to an HDMI 1920x1080 LCD: the total boot sequence lasts 30 seconds as indicated below:

systemd-analyze
Startup finished in 3.899s (kernel) + 25.957s (userspace) = 29.856s
multi-user.target reached after 25.888s in userspace
root@moode:~# systemd-analyze blame
          9.876s dhcpcd.service
          4.305s rc-local.service
          3.640s man-db.service
          3.382s dev-mmcblk0p2.device
          3.307s plymouth-read-write.service
          3.200s minidlna.service
          2.916s nmbd.service
          2.524s log2ram.service
          2.419s php7.3-fpm.service
          1.933s nginx.service
          1.884s winbind.service
          1.857s raspi-config.service
          1.203s logrotate.service
          1.079s avahi-daemon.service
          1.064s systemd-logind.service
          1.032s zramswap.service
           938ms systemd-fsck@dev-disk-by\x2dpartuuid-067e19d7\x2d01.service
           835ms keyboard-setup.service
           798ms wpa_supplicant.service
           786ms networking.service
           777ms smbd.service
           690ms systemd-journald.service

I was wondering as I fixed my IP and chose NFS for the connection to my music database wouldn't it be possible to "remove" the associated services, and gain more than 10 seconds on the total boot sequence ? (by the way plymouth is there to display a splascreen during the MOODE's boot).

Thank you in advance,
Reply
#2
The command below will disable the dhcpcd service but I don't know whether the system will boot or whether you will be able to get an ssh terminal. Prolly best to backup the SDCard before experimenting.

Code:
sudo systemctl disable dhcpcd
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Or, the OP could just leave it permanently powered-up……………
Reply


Forum Jump: