[Top][All Lists]

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

Re: Load speed test?

From: Jordan Uggla
Subject: Re: Load speed test?
Date: Mon, 12 Dec 2011 23:36:52 -0800

On Sat, Nov 26, 2011 at 6:39 PM, David Balažic <address@hidden> wrote:
> Hi!
> Is there a way to get the load speed with grub2?

One way that I can think of, which is somewhat complicated and not
perfect, is to use grub's date hooks to measure the time between grub
when grub starts to read the grub.cfg, and after it has loaded and
prepared to jump to the kernel. To do that you would add "insmod
datehook; time_start=$HOUR:$MINUTE:$SECOND" to the start of the
grub.cfg, and "time_end=$HOUR:$MINUTE:$SECOND ; save_env time_start;
save_env time_end" on the line after the kernel is loaded. Then after
boot check /boot/grub/grubenv for the values of time_start and

Jordan Uggla (Jordan_U on

reply via email to

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