[OpenWrt-Devel] Boot Time Reduction

Arjav Parikh parikharjav24 at gmail.com
Thu Apr 12 00:26:59 EDT 2018


Hi,

I have disabled many core-utils as it was not being used and awk was part
of it.
Target device is IPQ8064. Whatever I could disable through menuconfig &
kernel_menuconfig has been done. Now as mentioned in previous mail only at
that two locations I see some process consuming lot of time.
Is it possible to reduce the time consumed by the process?


On Wed, Apr 11, 2018 at 6:57 PM, Koen Vandeputte <
koen.vandeputte at ncentric.com> wrote:

> 1)
> Your file shows awk is missing.
> I would recommend adding it, as it's a common tool used by many scripts
> this can cause nasty side effects.
>
> 2)
> Which target device is this?
> Some targets with small flash build the kernel for size iso speed by
> default.
>
> If you target is such one, you can run "make kernel_menuconfig" and
> optimize the kernel build for speed. (->General Setup)
> This should improve boot-up speed a bit (at least on my boards)
>
>
> Koen
>
> On 2018-04-11 15:15, Arjav Parikh wrote:
>
>> Hi,
>>
>> I want to reduce boot time in my product. I disabled all unnecessary
>> modules/libraries and scripts which get load at boot time.
>> After this my boot time is approx 9 sec. I still want to further reduce
>> it.
>>
>> From debugs i identified 2 places where approx 1 sec is utilized (total 2
>> sec).
>> *a.* When preinit is called At *[    3.780354] init: - preinit - *and
>> before mounting file system at*[ 4.913811] UBIFS (ubi0:2): background
>> thread "ubifs_bgt0_2" started, PID 104
>> b.* When ubus daemon is called At*[    5.828610] procd: - ubus - and
>> *before init process is called at*[ 6.864240] procd: - init -
>> *Attached debugs file for reference.
>>
>> The delay highlighted in above two locations can be reduced or not?
>>
>> --
>> Thanks & Regards,
>> Arjav Parikh
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
>
>


-- 
Thanks & Regards,
Arjav Parikh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20180412/efab3cfb/attachment.htm>


More information about the openwrt-devel mailing list