2014-11-06, 02:28
I have done some tests:
OpenELEC 4.2.1 with Wolfson patches :
Then with: disable_splash=1
Then with: hdmi_edid_file=1
Then with: noram in cmdline.txt
Then with manual net instead of dhcp
Then remove "sleep 25" in the following file:
Obviously the nfs mount did not work
Then with: hdmi_group=1, hdmi_mode=16
I noticed with "systemd-analyze blame" the following:
wpa_supplicant could be disabled if not needed. As for show-version.service, is it really needed? And do we need connman.service with a fixed IP address? This would shave nearly 5 seconds for just those 3 services
OpenELEC 4.2.1 with Wolfson patches :
Code:
# systemd-analyze time
Startup finished in 7.297s (kernel) + 33.856s (userspace) = 41.154s
Then with: disable_splash=1
Code:
# systemd-analyze time
Startup finished in 7.296s (kernel) + 33.717s (userspace) = 41.013s
Then with: hdmi_edid_file=1
Code:
# systemd-analyze time
Startup finished in 7.298s (kernel) + 33.802s (userspace) = 41.100s
Then with: noram in cmdline.txt
Code:
# systemd-analyze time
Startup finished in 7.295s (kernel) + 33.663s (userspace) = 40.959s
Then with manual net instead of dhcp
Code:
# systemd-analyze time
Startup finished in 7.296s (kernel) + 33.827s (userspace) = 41.123s
Then remove "sleep 25" in the following file:
Code:
# cat .config/autostart.sh
#!/bin/sh
sleep 25
mount -t nfs 192.168.1.10:/mnt/HD/HD_a2/ /storage/dns320 -o udp,noatime,rsize=32768,wsize=32768,nolock
Code:
# systemd-analyze time
Startup finished in 7.306s (kernel) + 9.124s (userspace) = 16.430s
Obviously the nfs mount did not work
Then with: hdmi_group=1, hdmi_mode=16
Code:
# systemd-analyze time
Startup finished in 7.295s (kernel) + 9.117s (userspace) = 16.412s
I noticed with "systemd-analyze blame" the following:
Code:
3.471s connman.service
761ms wpa_supplicant.service
553ms show-version.service
wpa_supplicant could be disabled if not needed. As for show-version.service, is it really needed? And do we need connman.service with a fixed IP address? This would shave nearly 5 seconds for just those 3 services