Re: rc improvements (wanted?)

From: Niki Denev <ndenev_at_gmail.com>
Date: Sun, 20 Jul 2008 00:35:10 +0300
On Fri, Jul 18, 2008 at 2:19 PM, Stefan Bethke <stb_at_lassitu.de> wrote:
>
> Am 18.07.2008 um 09:18 schrieb Peter Jeremy:
>
>> On 2008-Jul-18 08:37:25 +0200, Alexander Leidinger
>> <Alexander_at_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_at_lassitu.de>   Fon +49 170 346 0140
Received on Sat Jul 19 2008 - 19:35:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC