From: Piet Delaney <piet@bluelane.com>
To: linux-kernel@vger.kernel.org
Cc: piet at work <piet@work.piet.net>, Piet Delaney <piet@bluelane.com>
Subject: udev taking a long time during startup
Date: Tue, 01 Aug 2006 00:16:25 -0700 [thread overview]
Message-ID: <1154416586.4332.64.camel@piet2.bluelane.com> (raw)
Hey Gang:
We were wondering why there is a 60 second delay on our systems
from the time that the kernel releases memory and the file system
is checked.
I dropped into kgdb during this period and found that an init
script, S10udev in our case, was sleeping in sys_nanosleep()
or sys_wait4(). Looks like thread/process S10udev forks udevstart
which forks udev which appears to be sleeping or waiting every time
I check in on it; Seems terribly wasteful.
udev seems to be a utility for hotplug and configured
with /etc/udev/udev.conf. Since we have no hot plug devices
I wonder if it really has to be called on every startup. On
solaris the device nodes are only re-established if you boot
with a -r option.
I never see any children of udev, so I wonder why it's
calling wait4() and nanosleep() so often.
Any thoughts or suggestions?
-piet
--
Piet Delaney
BlueLane Teck
W: (408) 200-5256; piet@bluelane.com
H: (408) 243-8872; piet@piet.net
next reply other threads:[~2006-08-01 7:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 7:16 Piet Delaney [this message]
2006-08-02 3:37 ` Greg KH
2006-08-02 8:57 ` Kay Sievers
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=1154416586.4332.64.camel@piet2.bluelane.com \
--to=piet@bluelane.com \
--cc=linux-kernel@vger.kernel.org \
--cc=piet@work.piet.net \
/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
Powered by JetHome