Opened 14 years ago

Closed 11 years ago

#1115 closed enhancement (fixed)

Booting in Live CD mode is slow

Reported by: rdaneel Owned by: bonefish
Priority: normal Milestone: R1/alpha2
Component: System/Boot Loader Version:
Keywords: Cc: mdisreali@…, HubertNG@…
Blocked By: Blocking:
Platform: All


Booting the Live CD (old and new revisions) its taking more than 2 minutes in fast PCs (1.7 GHz, 256 MB, CD 52X). Its slower than in emulators! (booting from hd images)

Change History (7)

comment:1 by nielx, 13 years ago

Milestone: R1R1/alpha1
Type: enhancementbug

Moving all live-cd related tickets to alpha 1.

comment:2 by Disreali, 12 years ago

Cc: mdisreali@… added

comment:3 by Hubert, 12 years ago

Cc: HubertNG@… added

comment:4 by scottmc, 11 years ago

Milestone: R1/alpha1R1/alpha2

This has improved, but we may be able to do even better.

comment:5 by axeld, 11 years ago

Owner: changed from axeld to nobody
Type: bugenhancement
Version: R1/pre-alpha1

comment:6 by stippi, 11 years ago

Owner: changed from nobody to bonefish
Status: newassigned

I know Ingo is working on this one.

comment:7 by bonefish, 11 years ago

Resolution: fixed
Status: assignedclosed

Just generally: Of course booting in emulators is way faster than on real hardware. Particularly off CD. Those are abysmally slow media (particularly the seeking), while the on-HD images emulators use can be accessed with full HD speed (and a potentially cached by the host OS). E.g. on my machine under Linux from entering the qemu command line until Tracker and Deskbar show up 8 seconds elapse. On the actual hardware I don't even get fully through the BIOS initialization in that time, and booting Haiku itself takes way longer due to hardware discovery and initialization.

Anyway, in hrev36495 I enabled a special cache for CDs (given that enough RAM is available -- 256 MB is somewhat on the tight side). On my machine (Core i7, 4 GB RAM) booting off an anyboot CD takes about 1 min 10 s to the ReadOnlyBootPrompt, getting from there to the Desktop takes about 10 s, the background scripts (mimesetting and ssh key generation) are finished about another 40 s later.

I think that's acceptable for CD boot, but YMMV, particularly depending on available RAM and CD (drive) speed.

Note: See TracTickets for help on using tickets.