public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Dash as /bin/sh?
Date: Fri, 1 Sep 2006 12:03:35 +0100	[thread overview]
Message-ID: <20060901120335.48773864@hactar.digimed.co.uk> (raw)
In-Reply-To: <2102237.F9AAudgNz4@work.message-center.info>

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

On Fri, 01 Sep 2006 10:45:44 +0200, Alexander Skwar wrote:

> The Ubuntu folks report on https://wiki.ubuntu.com/DashAsBinSh, that
> bootup and also ./configure runs are *WAY* faster if "dash" is used
> as /bin/sh instead of bash.

I've just tried it on my 1GHz iBook and boot time dropped from 74s to
60s. That's timed from selecting a bootloader option to the root prompt
appearing, less the time taken to type in my luks/dm-crypt passphrase.

Most of the saving came in the early part of the boot process, the part
before the password prompt (which comes from bootmisc AFAIK). It looked
like the udev stuff happened quicker, but I can't quantify that.

Anyway, a 20% reduction in boot time is nice, wherever it happens. Thanks
for the pointer.

> Did anyone try this out on Gentoo? Are the boot scripts from Gentoo
> strictly POSIX compliant?

I saw no errors, so they are certainly WFM compliant :)


-- 
Neil Bothwick

I'm Bugs Bunny of Borg.  What's up Collective?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-09-01 11:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01  8:45 [gentoo-user] Dash as /bin/sh? Alexander Skwar
2006-09-01  9:17 ` asl.pavel
2006-09-01 10:13 ` Erik
2006-09-01 11:09   ` [gentoo-user] " Alexander Skwar
2006-09-01 11:03 ` Neil Bothwick [this message]
2006-09-01 14:05   ` [gentoo-user] " Neil Bothwick
2006-09-01 14:33     ` [gentoo-user] " Harm Geerts
2006-09-01 15:21       ` Neil Bothwick
2006-09-02  2:06         ` Harm Geerts
2006-09-02  2:57           ` Jerry McBride
2006-09-02  5:58             ` Richard Fish
2006-09-02 18:10           ` Neil Bothwick
2006-09-02 18:38             ` Jerry McBride
2006-09-03 11:49               ` [gentoo-user] " Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060901120335.48773864@hactar.digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox