Reduce Boot time for Ubuntu 18.04 LTS Image

94 views
Skip to first unread message

dee...@evinsys.com

unread,
Aug 29, 2019, 3:23:38 PM8/29/19
to BeagleBoard
Hi,

we are using beaglebone black board with Installed Ubuntu 18.04 image on this board and kernel version is  4.14.108-ti-r104.
we installed LXDE GUI on this image. We want reduce boot time to show GUI within min time .. Currently GUI start up time is 1 min approximate.. so we want as early as possible ..

please send us the procedure to reduce device boot up time ...



Regards,
Dipak Shetye

Jacob J. Morales Argumedo

unread,
Aug 29, 2019, 6:18:40 PM8/29/19
to beagl...@googlegroups.com
Deepak,

Adding a GUI to a device such as the BB will have slow boot time versus a purely "server" configuration that does not .  Check that the GRUB bootloader is not taking up time.  Sometimes the GRUB boot loader takes up to 30 seconds.  If that is not the case,you need to see what software packages you have installed on your Ubuntu image.  Where did you get your Ubuntu image from?

The BB may not be the best application for you if you want faster than 1 minute boot time to the GUI.



--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d294d5dd-dd75-40dd-9e20-75393b318edb%40googlegroups.com.

Deepak Shetye

unread,
Sep 3, 2019, 11:45:36 AM9/3/19
to beagl...@googlegroups.com
We used [Debian 9.5 2018-10-07 4GB SD LXQT] from http://beagleboard.org/latest-images this site...how to check GRUB boot loader  take so much time ?? and where we check which software installed on my system ?

any procedure to check which software get so much time take loading on system ...


You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/uPBiv0F-X8k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAB5vWettCEJP5LLUhyi9sp7MHUysq4amjzRKfXWhw5gLSW6AnQ%40mail.gmail.com.

Dennis Lee Bieber

unread,
Sep 3, 2019, 2:16:06 PM9/3/19
to beagl...@googlegroups.com
On Fri, 30 Aug 2019 12:24:07 +0530, Deepak Shetye
<dee...@evinsys.com> declaimed the following:

><http://debian.beagleboard.org/images/bone-debian-9.5-lxqt-armhf-2018-10-07-4gb.img.xz>
>We used [Debian 9.5 2018-10-07 4GB SD LXQT
><http://debian.beagleboard.org/images/bone-debian-9.5-lxqt-armhf-2018-10-07-4gb.img.xz>]
>from http://beagleboard.org/latest-images this site...how to check GRUB
>boot loader take so much time ?? and where we check which software
>installed on my system ?

To my knowledge, Beagle Debian releases do not use GRUB -- just u-Boot

>any procedure to check which software get so much time take loading on
>system ...

Before or after transition to Linux?

[before and after] Connect a USB-Serial adapter to the debug header,
and use a time-stamping terminal program to capture the output of the boot
loaders.

[after] Examine the output of "dmesg"

I show a 6-second delay in mounting the filesystem (SD card, I think this
is the IoT image as it only used a third of an 8GB card)

[ 2.654346] [drm] Cannot find any crtc or sizes
[ 8.598938] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data
mode. Opts: (null)

9 seconds for

[ 12.715002] systemd-journald[507]: Received request to flush runtime
journal from PID 1
[ 21.720768] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)

and it looks like a total of 37 seconds...

[ 37.566196] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
debian@beaglebone:~$

The same information for a boot using eMMC (IOT image) gives 10 seconds
mounting the eMMC

[ 2.622296] [drm] Cannot find any crtc or sizes
[ 12.348867] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data
mode. Opts: (null)

and 6 seconds at

[ 15.738640] systemd-journald[501]: Received request to flush runtime
journal from PID 1
[ 21.998761] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)

Note that the "nf_conntrack" status is just about at the 22 second marker
in both cases, and the total came to

[ 26.464753] configfs-gadget gadget: high-speed config #1: c
[ 27.182908] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
debian@beaglebone:~$

about 27 seconds total.



--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

Jim F

unread,
Sep 3, 2019, 4:45:25 PM9/3/19
to beagl...@googlegroups.com
systemd-analyze will help with that, google or read its man pages.

Like Jacob said, for faster boot choose an image with no gui. One of the iot or console images should do. Boot time around 30 seconds to multi-user.target.


Reply all
Reply to author
Forward
0 new messages