Measured results:
BIOS - fast boot = 14.15 seconds
BIOS + fast boot0 = 13.08 seconds
UEFI - fast boot = 13.01 seconds [1.14 seconds faster]
UEFI + fast boot0 = 11.30 seconds [1.78 seconds faster]
UEFI + ultra fast1 = 10.87 seconds
Even more optimizations by removing GRUB boot loader:
UEFI stub + fast boot0 = 9.84 seconds
UEFI stub + ultra fast1 = 8.20 seconds
UEFI stub + ultra fast1 + static IP2 = 6.38 seconds3
0. In "fast boot" mode the computer may not boot from an USB storage device.
1. In "ultra fast" mode the video BIOS must support UEFI GOP if you are using an external graphics card. Please notice that Ultra Fast mode will boot so fast that the only way to enter this UEFI Setup Utility is to detach all boot devices.
2. No DHCP client active.
3. ASRock's claimed 1.5 seconds to logon to Windows 8 from a cold boot is actually 9.85 to 9.88 seconds on this system.
Environment
For this test an Asrock H81 Pro BTC P1.50 mainboard is used, connected to it are:
- 2.7Ghz Intel Celeron G1820 CPU
- 8GB RAM
- OCZ Vertex SSD (ahci, agressive power management enabled)
- LAN (100 mbps)
- PS/2 mouse & keyboard
- USB keyboard
- VGA
- Supermicro PCIe HBA (Marvell chip based, no drives attached)
The motherboard firmware is set to:
- Full Screen Logo = disabled
- Boot Prompt Timeout = 1 second
- Boot From Onboard LAN = disabled
- Boot Failure Guard = disabled
- Secure boot = disabled
- Intel Smart Connect Technology = disabled
- Unused hardware = disabled (HD audio, HDMI HD audio, parallel port, serial ports)
- PCIe option ROM's are not loaded (for example the ones of RAID/HBA's)
First CSM is enabled and Ubuntu 14.04.1 LTS is installed. The partition table is of type: msdos (MBR) and contains two partitions: ext4 /
for linux and a linux swap. A mainline kernel 3.16.0-031600rc6 x86_64 is installed, running with boot parameters: ro rootdelay=180 debug ignore_loglevel crashkernel=384M-:128M
. Plymouth is enabled. The networking configuration is set to auto (DHCP).
Measurement
The boot performance measured is a "cold boot": from flipping the power switch until the text tty1
ubuntu login
appears on screen. As the firmware already has a setting called "fast boot" to speed the process up, the difference with this setting disabled and enabled are measured too. The measurement was done with an iPhone4 29.9fps movie that was clipped in iPhoto.
Normal variation
Enabled debugging result in a console output for init: plymouth-upstart-bridge main process ended immediately after ubuntu login
prompt appears. The variation in that debug message appearing for cold BIOS boots are:
- 5.547 seconds
- 5.151 seconds
- 5.420 seconds
- 5.008 seconds
- 5.084 seconds
- 5.188 seconds
In other words the variation in linux kernel + ubuntu boot process is within a 0.539 seconds range, and has an average value of 5.233 seconds.
During cold UEFI boot the linux kernel + ubuntu boot part were timed by debug output at:
- 5.407 seconds
- 5.129 seconds
- 5.143 seconds
- 5.055 seconds
- 5.621 seconds
- 4.956 seconds
Variation is 0.665 seconds and average is 5.219 seconds.