Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2008 00:35:10 +0300
From:      "Niki Denev" <ndenev@gmail.com>
To:        "Stefan Bethke" <stb@lassitu.de>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: rc improvements (wanted?)
Message-ID:  <2e77fc10807191435tdde4f41nf48402bcf157a137@mail.gmail.com>
In-Reply-To: <525E8FF6-307E-4DC9-B730-21435A2C2D2C@lassitu.de>
References:  <200807172056.08835.naylor.b.david@gmail.com> <487FCA89.2010308@FreeBSD.org> <20080718083725.97823be0tg13fn6s@webmail.leidinger.net> <20080718071806.GV62764@server.vk2pj.dyndns.org> <525E8FF6-307E-4DC9-B730-21435A2C2D2C@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 18, 2008 at 2:19 PM, Stefan Bethke <stb@lassitu.de> wrote:
>
> Am 18.07.2008 um 09:18 schrieb Peter Jeremy:
>
>> On 2008-Jul-18 08:37:25 +0200, Alexander Leidinger
>> <Alexander@Leidinger.net> wrote:
>>>
>>> Are you aware that the parallel starting in Solaris 10 reduced the
>>> booting time by a nice percentage?
>>
>> Given that Solaris boots in geologic time, this probably wouldn't
>> be difficult.
>>
>>> If yes, do you expect that FreeBSD
>>> behaves significantly different or do you "just" want to see numbers?
>>
>> Parallel starting is not guaranteed to be an improvement.  Starting a
>> whole pile of processes that are I/O bound during initialisation
>> (think squid or some databases) may be worse than starting them one
>> at a time.  Likewise, a whole pile of processes that are CPU bound
>> will just thrash the scheduler.  (Though parallel starting of I/O and
>> CPU bound processes should be a win).
>
> Just as a simple counter-example: it's very annoying when a startup script
> for a non-essential service is blocking startup for an essential one. (A
> Smokeping config of mine takes about 5 minutes to finish, and it's blocking
> sshd, as I found out the other day when I had to reboot the server.) Also
> see the repeated annoyances caused by dhclient on this list and elsewhere.
>

Hi Stefan,

I'm a little bit offtopic, but I've fixed my dhclient problems
(delays) with the following patch :
http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086888.html

P.S.: I think that we could benefit from some kind of rc scripts improvement,
some years ago I was very happy that my FreeBSD box booted much faster
than a Linux one,
but today it's the other way around. Some distributions (Ubuntu?) even
have new event based startup daemons :

http://www.linux.com/feature/125977
https://wiki.ubuntu.com/ReplacementInit

HTH,
Niki


>
> Stefan
>
> --
> Stefan Bethke <stb@lassitu.de>   Fon +49 170 346 0140



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e77fc10807191435tdde4f41nf48402bcf157a137>