Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-soc
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-soc@g.o
From: Arun Raghavan <arunissatan@...>
Subject: Re: Some experiments on Fast Boot
Date: Thu, 2 Apr 2009 14:34:36 +0530
2009/4/2 Vladimir Skuratovich <skuratovich@...>:
[...]
> - For me, the startup process is slowed down considerably by mounting
>  a /home partition. The programs we'd want to start up as early as
>  possible, including X, are delayed until the mounting finishes. This
>  is especially noticeable with reiser4, as mounting it usually takes
>  a few seconds, but I suppose this is true to some extent for other
>  filesystems too. Maybe if the system has a /home partition we should
>  wait in the session manager for it to be mounted, while X is
>  starting up? Not sure what to do with other filesystems, such as
>  /usr, which still have to be mounted very early.

This would need changes to the session manager, right? Is that really
something that we want to be doing?

[...]
> - Gentoo init scripts perform a lot of 'autodetection' of different
>  system parameters. Probably the autodetection could be left as a
>  'safe boot' option, and the real values could be recorded somewhere
>  and loaded at boot time?

You'd need to add some quick sanity check for things like moving
hard-disks across hardware.

> - Instead of cleaning directories such as /var/run, they can be
>  mounted on tmpfs and the necessary directory tree inside can be
>  recreated every time.

Might there be cases where these files would be needed to analyse
crashes or for forensics?

> - Placing static device nodes on /dev while udev is starting speeds up
>  the boot significantly for me

By how much?

> With a few hours of experiments on my system I've managed to reduce
> its boot time to about ~15 seconds (not including kernel startup - and
> kernel initialization takes quite long) This is on a system with a
> 5400rpm laptop hard drive (40-45 mb/s linear read) with everything on
> LVM inside dm-crypt. It seems that the 10 second boot time for HDD
> systems, which is mentioned in Moblin presentation, is quite a
> realistic goal.

What kind of impact is dm-crypt having on your numbers?

> If someone is interested, I can post the bootchart logs somewhere.

Would be nice to look at, IMO. If you need it to be hosted somewhere,
mail them to me and I'll put them up.

> The system uses initng - but the structure of init scripts in Gentoo
> seems very similar, so I guess porting it to Gentoo would be easy.

I'm a little confused here. What system were these tests run on?

Regards,
-- 
Arun Raghavan
(http://nemesis.accosted.net)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com


Replies:
Re: Some experiments on Fast Boot
-- Vladimir Skuratovich
References:
Some experiments on Fast Boot
-- Vladimir Skuratovich
Navigation:
Lists: gentoo-soc: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Some experiments on Fast Boot
Next by thread:
Re: Some experiments on Fast Boot
Previous by date:
Some experiments on Fast Boot
Next by date:
Re: Re: Universal select tool: I'm a bit curious


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.