From: Greg KH <gregkh@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] devfs is dead, let's move on
Date: Mon, 1 Aug 2005 15:14:04 -0700 [thread overview]
Message-ID: <20050801221403.GA2244@kroah.com> (raw)
In-Reply-To: <20050708171252.GD29606@kroah.com>
On Fri, Jul 08, 2005 at 10:12:52AM -0700, Greg KH wrote:
> On Thu, Jul 07, 2005 at 10:18:12AM -0400, Chris Gianelloni wrote:
> > On Wed, 2005-07-06 at 15:46 -0700, Greg KH wrote:
> > > To start with, the 061 version of udev offers a big memory savings if
> > > you use the "default" kernel name of a device[3]. If you do that, it does
> > > not create a file in its database in /dev/.udevdb/
> >
> > So if we were to switch to udev 061 in genkernel, it would shrink memory
> > usage in our initrd/initramfs, provided we made everything use the LSB
> > device names/nodes, versus the devfs ones, correct?
>
> Not in the initrd/initramfs, but in the tmpfs partition that udev uses
> to create the /dev entries. Well, I guess you could say the
> "initrd/initramfs" if that is where udev is mounted on early startup (I
> haven't looked at how genkernel does this in a long time, sorry.)
>
> And yes, the memory savings is there, if we use the LSB names only vs
> the devfs name and the symlink like we currently do.
>
> To see this, look at how much space /dev/.udevdb/ takes up right now
> with 062 udev. Then change the following rules in
> /etc/udev/rules.d/50-udev.rules with the diff at the end of this email.
> Then reboot and look at the size of the /dev/.udevdb/ directory again.
> I think you will notice a huge space savings.
<snip>
Ok, 064-r1 version of udev does this for tty and console devices. The
old devfs names are now gone. Because of this, and some other config
file tweaks, starting udev now only takes .5 seconds on my old, slow
laptop, instead of 5 seconds. Hopefully others will also see such an
increase.
Now to implement the persistent block device names that we showed
everyone at OLS...
thanks,
greg k-h
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-01 22:16 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 22:46 [gentoo-dev] devfs is dead, let's move on Greg KH
2005-07-06 23:04 ` Greg KH
2005-07-06 23:06 ` Roy Marples
2005-07-06 23:16 ` Greg KH
2005-07-07 0:35 ` Mike Frysinger
2005-07-07 9:34 ` Henrik Brix Andersen
2005-07-07 13:55 ` Martin Schlemmer
2005-07-07 19:44 ` [gentoo-dev] " Duncan
2005-07-07 20:06 ` Martin Schlemmer
2005-07-07 20:19 ` [gentoo-dev] " Duncan
2005-07-07 20:52 ` [gentoo-dev] " Greg KH
2005-07-07 23:22 ` Martin Schlemmer
2005-07-08 17:06 ` Greg KH
2005-07-08 18:16 ` Stephen Bennett
2005-07-08 18:36 ` Martin Schlemmer
2005-07-08 18:43 ` Martin Schlemmer
2005-07-07 14:18 ` Chris Gianelloni
2005-07-08 17:12 ` Greg KH
2005-07-09 1:00 ` Georgi Georgiev
2005-07-09 2:31 ` Greg KH
2005-08-01 22:14 ` Greg KH [this message]
2005-08-01 23:23 ` Kumba
2005-08-01 23:32 ` Greg KH
2005-08-01 23:40 ` Kumba
2005-08-01 23:56 ` Greg KH
2005-07-07 17:39 ` Georgi Georgiev
2005-07-08 17:15 ` Greg KH
2005-07-07 19:52 ` John Mylchreest
2005-07-07 20:49 ` Greg KH
2005-07-09 3:56 ` Kumba
2005-07-09 4:42 ` Greg KH
2005-07-09 5:22 ` Kumba
2005-07-08 17:49 ` Michiel de Bruijne
2005-07-08 22:25 ` Greg KH
2005-07-08 22:46 ` Michiel de Bruijne
2005-07-08 23:35 ` Martin Schlemmer
2005-07-09 0:44 ` Michiel de Bruijne
2005-07-09 0:58 ` Martin Schlemmer
2005-07-09 2:28 ` Greg KH
2005-07-09 18:34 ` Richard Fish
2005-07-09 18:50 ` Philippe Trottier
2005-07-11 7:47 ` Martin Schlemmer
2005-07-12 22:08 ` Mike Frysinger
2005-07-13 9:00 ` Martin Schlemmer
2005-07-13 12:55 ` Mike Frysinger
2005-07-13 14:44 ` Richard Fish
2005-07-15 23:37 ` Carlos Silva
2005-07-17 13:24 ` Greg KH
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=20050801221403.GA2244@kroah.com \
--to=gregkh@gentoo.org \
--cc=gentoo-dev@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