Clipping udevsettle

Now this is dangerous. Two boots out of three with this tweak leave me with unmountable system points and a crapped out system, so this is strictly use-at-your-own risk. Your system might not reboot with this one.

For me, the “UDev uevents” pause is the most aggregious of them all, and telling udevsettle to hurry helps quite a bit.

The /etc/start_udev script calls on /sbin/udevsettle to wait for udev’s queue to clear before continuing. At line 60, where the /sbin/udevsettle command appears, tack on a --timeout=5 flag, to trim the wait period to 5 seconds.

Save and reboot. And cross your fingers. In my case, on a machine this old, it cut about two seconds off the boot time, but I get occasional error messages. I image that on a much faster system you might be able to clip udevsettle to an even shorter timeout. For me, 3 seconds seemed to make things very unstable. Five seconds worked, although it still occasionally has issues.

Again, this is not a very smart way of doing things. But I’m impatient.

2 Responses to “Clipping udevsettle”


  1. 1 alfrenovsky February 24, 2008 at 6:06 am

    I did something better
    Instead to call start_udev from rc.sysinit
    I call udevtrigger just after the udev daemon starts
    Then, I call con udevsettle just in the place start_udev is now. So I give udev time to end is job by starting it before.

  2. 2 K.Mandla February 24, 2008 at 8:53 am

    Interesting. … I’ll have to try that too. Thanks!

Leave a Reply




Welcome!

Most recent desktop


May 8, 2008
XFCE 4.4.2 on Crux Linux
750Mhz Celeron 128Mb PC100

Most recent game

Gnome Mahjongg on Debian 550Mhz Celeron 192Mb PC100

Be counted!

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blogs worth watching

Ubuntu Feeds

Blog Stats

  • 596,567 hits

Categories