From: "szonyi calin" <caszonyi@yahoo.com>
To: eric@cisu.net, linux-newbie@vger.kernel.org,
linux-c-programming@vger.kernel.org
Subject: Re: Multithreaded /sbin.init? Is it possible?
Date: Mon, 15 Sep 2003 12:29:29 +0200 (CEST) [thread overview]
Message-ID: <20030915102929.8156.qmail@web40605.mail.yahoo.com> (raw)
In-Reply-To: <200309141240.55800.eric@cisu.net>
--- Eric <eric@cisu.net> a écrit :
> Wouldn't the Linux Boot process be speeded up if the init
> program was
> multithreaded?
No
Boot scripts _must_ be executed in a predefined order.
I was playing a liitle with this and i can give you the
following advice:
1. Bash is the most executed program in the init scripts
to speed up boot process you must speedup bash.
Some people suggest to make statically linked. This is
my sugestion too. Loading every shared library takes time.
2. Use a script to start your daemons not 20.
I use Slackware which has one script for each runlevel.
Believe me. There _is_ a difference compared to Mandrake
for example.
3. The disk load has an impact on speed also.
If you start 5 processes in parralel they will start slower
than 5 scripts sequentially because of the loading of every
script in the same time.
4. A bigger processor cache also helps a lot :-)
just my 2 cents.
Sorry for the off-topic answer in linux-c-programming
> ----------------------
> Eric Bambach
> Eric (at) CISU (dot) net
> ----------------------
Calin
=====
--
A mouse is a device used to point at
the xterm you want to type in.
Kim Alm on a.s.r.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2003-09-15 10:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-14 17:40 Multithreaded /sbin.init? Is it possible? Eric
2003-09-14 18:25 ` Jan-Benedict Glaw
2003-09-14 18:59 ` Eric
2003-09-14 19:37 ` Jan-Benedict Glaw
2003-09-14 18:59 ` Eric
2003-09-14 19:45 ` Jan-Benedict Glaw
2003-09-15 10:29 ` szonyi calin [this message]
2003-09-15 16:49 ` Tabris
2003-09-23 6:12 ` Nico Schottelius
2003-09-15 18:13 ` [resend] " Tabris
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=20030915102929.8156.qmail@web40605.mail.yahoo.com \
--to=caszonyi@yahoo.com \
--cc=eric@cisu.net \
--cc=linux-c-programming@vger.kernel.org \
--cc=linux-newbie@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).