Moode Forum
Is it possible to speed-up MOODE boot sequence ? - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Is it possible to speed-up MOODE boot sequence ? (/showthread.php?tid=4605)



Is it possible to speed-up MOODE boot sequence ? - pkdick - 12-12-2021

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,


RE: Is it possible to speed-up MOODE boot sequence ? - Tim Curtis - 12-12-2021

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



RE: Is it possible to speed-up MOODE boot sequence ? - suzywong - 12-12-2021

Or, the OP could just leave it permanently powered-up……………