grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] improve boot time with standalone images


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] improve boot time with standalone images
Date: Mon, 23 Dec 2013 05:06:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On 22.12.2013 21:26, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Hello, all. While testing on raspberry pi using standalone image I've
> noticed that all file operations were sluggish. The culprit was tar that
> we use as a filesystem for memdisk which requires complete scan to find
> one file. On most systems it's a minor time penalty but on raspberry pi
> it almost halved boot time. I propose a specialised compact and fast
> uncompressed read-only filesystem by storing filenames in sorted array
> and using binary search. It's a pretty big change but I feel like it's
> worth to be put into 2.02.
> Does anybody disagree?
> 
After discussing with Leif Lindholm, it was found out that real culprit
was disabled cache on U-boot port.
Time to console
Cached, tar: 0.5s
Cached, greffs: 0.3s
Uncached tar: 7.3s
Uncached greffs: 4.3s
On coreboot the speed-up is only 4ms

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]