[beagleboard] Re: BeagleBone Black Boot optimization

2017-11-21 Thread Alexander Rössler
Interesting, I noticed that my ssh keys where regenerated at every single 
boot thanks to a wrong sshd_config.

However, after fixing this problem, my usb0 interface does not connect 
anymore.

Am Mittwoch, 15. November 2017 09:51:29 UTC+1 schrieb Alexander Rössler:
>
> Hello everyone,
>
> I'm using the latest IoT images for the BBB and noticed that the bootup 
> time from the eMMC is very slow. it takes ~1.5min for the USB gadget 
> network interface to appear under Linux.
>
> What can I do to improve the startup performance of the BBB?
>
> So far I have disabled auto for the eth0 interface.
>
> sudo nano /etc/network/interfaces
> allow-hotplug eth0
>
>
> Moreover, I have disabled graphical boot.
>
> systemctl set-default multi-user.target
>> systemctl get-default
>
>
>  Still very slow is the generic-board-startup.service
>
> 1min 53.980s dev-mmcblk1p1.device
>1min 50.627s generic-board-startup.service
>  4.208s ModemManager.service
>  4.106s systemd-udev-trigger.service
>  2.366s networking.service
>  2.032s NetworkManager.service
>  1.973s capemgr.service
>  1.838s systemd-journald.service
>  1.809s pppd-dns.service
>  1.579s dnsmasq.service
>  1.486s rsyslog.service
>  1.098s avahi-daemon.service
>   920ms systemd-logind.service
>   856ms systemd-udevd.service
>   845ms bb-wl18xx-wlan0.service
>   737ms sys-fs-fuse-connections.mount
>   730ms ssh.service
>   724ms systemd-sysctl.service
>   719ms systemd-timesyncd.service
>   651ms sys-kernel-debug.mount
>   604ms systemd-update-utmp.service
>   592ms dev-mqueue.mount
>   559ms sys-kernel-config.mount
>   493ms systemd-remount-fs.service
>   458ms polkit.service
>   448ms systemd-user-sessions.service
>   414ms systemd-tmpfiles-setup-dev.service
>   413ms systemd-tmpfiles-setup.service
>   360ms systemd-random-seed.service
>   359ms systemd-journal-flush.service
>   319ms systemd-modules-load.service
>   319ms kmod-static-nodes.service
>   225ms systemd-update-utmp-runlevel.service
>   168ms bb-wl18xx-bluetooth.service
>
>
>  I noticed that SSH key regeneration takes ~15s at boot. However, when I 
> removed /etc/ssh/ssh.regenerate USB networking did not work anymore.
>
> What else can I do to make the BBB boot faster?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d12d5d66-e799-4d2a-89a3-01365da57396%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: BeagleBone Black Boot optimization

2017-11-15 Thread dinuxbg
Could you post your dmesg log?

On Wednesday, November 15, 2017 at 10:51:29 AM UTC+2, Alexander Rössler 
wrote:
>
> Hello everyone,
>
> I'm using the latest IoT images for the BBB and noticed that the bootup 
> time from the eMMC is very slow. it takes ~1.5min for the USB gadget 
> network interface to appear under Linux.
>
> What can I do to improve the startup performance of the BBB?
>
> So far I have disabled auto for the eth0 interface.
>
> sudo nano /etc/network/interfaces
> allow-hotplug eth0
>
>
> Moreover, I have disabled graphical boot.
>
> systemctl set-default multi-user.target
>> systemctl get-default
>
>
>  Still very slow is the generic-board-startup.service
>
> 1min 53.980s dev-mmcblk1p1.device
>1min 50.627s generic-board-startup.service
>  4.208s ModemManager.service
>  4.106s systemd-udev-trigger.service
>  2.366s networking.service
>  2.032s NetworkManager.service
>  1.973s capemgr.service
>  1.838s systemd-journald.service
>  1.809s pppd-dns.service
>  1.579s dnsmasq.service
>  1.486s rsyslog.service
>  1.098s avahi-daemon.service
>   920ms systemd-logind.service
>   856ms systemd-udevd.service
>   845ms bb-wl18xx-wlan0.service
>   737ms sys-fs-fuse-connections.mount
>   730ms ssh.service
>   724ms systemd-sysctl.service
>   719ms systemd-timesyncd.service
>   651ms sys-kernel-debug.mount
>   604ms systemd-update-utmp.service
>   592ms dev-mqueue.mount
>   559ms sys-kernel-config.mount
>   493ms systemd-remount-fs.service
>   458ms polkit.service
>   448ms systemd-user-sessions.service
>   414ms systemd-tmpfiles-setup-dev.service
>   413ms systemd-tmpfiles-setup.service
>   360ms systemd-random-seed.service
>   359ms systemd-journal-flush.service
>   319ms systemd-modules-load.service
>   319ms kmod-static-nodes.service
>   225ms systemd-update-utmp-runlevel.service
>   168ms bb-wl18xx-bluetooth.service
>
>
>  I noticed that SSH key regeneration takes ~15s at boot. However, when I 
> removed /etc/ssh/ssh.regenerate USB networking did not work anymore.
>
> What else can I do to make the BBB boot faster?
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f9d92539-d074-4e60-bfe1-c09532bd1968%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.