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

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to