[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Load speed test?
Re: Load speed test?
Sat, 10 Dec 2011 15:41:12 +0100
Not sure, but I did some testing.
I booted the mentioned RIPLinux 13.5* using the same hardware, but
different boot loaders.
The results are:
- grub2 on fat32 : 7 seconds for kernel, 185 s for initrd
- grub4dos / NTFS : 2 + 27 seconds
- syslinux : 1 + 27 seconds
- LILO : 29+1 seconds
I get similar results on a second PC.
* - I did I slight modification, by recompressing the roofs.cgz with
XZ compression. Otherwise it wouldn't boot from an USB stick.
I would hang during initrd decompression.
On 5 December 2011 13:08, Nikolay Kichukov <address@hidden> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hello David,
> perhaps this has something to do with the compact directive of LILO. I am not
> sure how that option is called in grub
> though. Enabling compact does:
> " Tries to merge read requests for adjacent sectors into a
> single read request. This drastically
> reduces load time and keeps the map file smaller. Using `compact' is
> especially recommended when booting using a map
> file on a floppy disk."
> When booting from USB drive and not having compact enabled in LILO I have
> experienced the same effect.
> Hope that might give you some hints in the right direction.
> - -Nik
> On 12/04/2011 10:58 PM, David Balažic wrote:
>>> I am debugging some slow loading from an USB key and don't know where to
>>> I am loading RIPLinux 13.5 from a USB key of 16GB, that has a loading
>>> speed of almost 30 MB/s in a loaded OS (Linux or Windows).
>>> The booting takes minutes, while on other (slower) USB keys (using
>>> grub legacy) it is less than 30 seconds.
>> I replaced the boot loader with GRUB4DOS 0.4.4 and it is much faster loading
>> the same
>> files (riplinux 13.5).
>> It is a factor 5-6 difference. I tested on multiple PCs.
>> Any idea why grub2 is so slow in loading?
>> Help-grub mailing list
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----