From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6C7B3138010 for ; Sat, 13 Oct 2012 22:29:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5B0521C01D; Sat, 13 Oct 2012 22:29:19 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E70D3E045E for ; Sat, 13 Oct 2012 22:28:05 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id jg15so1834025bkc.40 for ; Sat, 13 Oct 2012 15:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=qC6C0Qsq/62I2Hr323882JzPAHzkhAgtQ2JYdSmbogw=; b=aMc/j55BcD3CUMFenmf/LTZE0wZedEs9Cj4jSg6A/TGjN+LZzNnfaRV2Ez5FciH4jQ mYiGgEBuoKgns356V17ZIUdLWEv89f05YXr7J+GQlHS4ODIS3dZo6Zr9NYa+D4TEyFeS hjTqRS5NvZ4Ci3y/YfasiLBN421HXtODfGm0hV3Unhveimx4dfEYrOwqammZrVaFElnv DFGletMcFXsp2ERJ0nYD6RbZ7eVO2aCimVAZJJvYFQqx7amODXyys/JTPE6GtKiNDiHt s3xaUzmaI/yHoYiU7arLnvjWaEFViDqr+jBLfwtk4VQ3LdjeQ/cbT2PvldV2tDsUXUA5 eKCA== Received: by 10.204.136.197 with SMTP id s5mr2233864bkt.88.1350167285033; Sat, 13 Oct 2012 15:28:05 -0700 (PDT) Received: from energy.localnet (p4FC60F36.dip0.t-ipconnect.de. [79.198.15.54]) by mx.google.com with ESMTPS id s20sm6871810bkw.15.2012.10.13.15.28.02 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Oct 2012 15:28:03 -0700 (PDT) From: Volker Armin Hemmann To: Canek =?ISO-8859-1?Q?Pel=E1ez_Vald=E9s?= Cc: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] new machine : start-up time Date: Sun, 14 Oct 2012 00:28:01 +0200 Message-ID: <13781925.DejXgbyDpB@energy> User-Agent: KMail/4.9.2 (Linux/3.4.13; KDE/4.9.2; x86_64; ; ) In-Reply-To: References: <20121013202419.GB1115@ca.inter.net> <2066025.PxZWztkMcY@energy> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Archives-Salt: 55e6bebe-3694-4fe3-aa35-0cefe7e15a13 X-Archives-Hash: 81634fc0c55c0306ff90b5e267e3bd8e Am Samstag, 13. Oktober 2012, 16:40:45 schrieb Canek Pel=E1ez Vald=E9s:= > On Sat, Oct 13, 2012 at 4:14 PM, Volker Armin Hemmann >=20 > wrote: > > Am Samstag, 13. Oktober 2012, 15:57:31 schrieb Canek Pel=E1ez Vald=E9= s: > >> On Sat, Oct 13, 2012 at 3:40 PM, Canek Pel=E1ez Vald=E9s > >=20 > > wrote: > >> > On Sat, Oct 13, 2012 at 3:24 PM, Philip Webb =20 wrote: > >> >> Regulars will remember the threads re the machine I built recen= tly. > >> >> I thought they mb interested in the start-up time now all is wo= rking : > >> >> Gigabyte BIOS 10 s , Linux Lilo prompt - login prompt 8 s , > >> >> 'startx' - GUI ready 4 s : total 22 s + entering userid+pass= word ; > >> >> I start the I/net connection (Dhcpcd) manually from the GUI ( 1= 5 s ). > >> >> I assume most of the speed is attributable to the SSD, > >> >> perhaps a bit to the 1600 MHz memory; of course, Gentoo shares = the > >> >> honors; > >> >> my desktop manager is Fluxbox & I start apps on desktops manual= ly. > >> >=20 > >> > Toshiba Port=E9g=E9 Z830, with an iCore 5 at 1.60GHz, 6 GB of me= mory, and > >> > a tiny 128 GB SSD. It takes 12 seconds from GRUB to GDM, and fro= m the > >> > time I enter my password and my GNOME 3 desktop is ready it take= s > >> > another 6 seconds, so 18 seconds in total (plus how much it take= s for > >> > me to click in my user and enter my password). > >> >=20 > >> > Like you, I attribute most of the speed gain to the SSD. The res= t is > >> > systemd. > >>=20 > >> Damn, is GNOME fat. I booted to text console (disabled GDM), and I= > >> also disabled plymouth. From GRUB2 to login prompt it takes less t= han > >> 6 seconds, so the really slow part is starting GDM and then switch= ing > >> to GNOME 3. The BIOS is pretty fast, it takes 4 seconds from power= on > >> to the GRUB2 menu. > >>=20 > >> The fast part (GRUB2->login prompt) is because of systemd. > >=20 > > I doubt that, >=20 > Install systemd and do the test; I got the numbers to prove it. > systemd is consistently faster than OpenRC (which doesn't even > properly support parallel starting of services), sometimes several > times faster. >=20 > Luca Barbato mentioned about a way to make OpenRC use busybox in > reentrant mode; the difference in speed in that case should be less. > However, the fact is that OpenRC doesn't support parallel start of > services; it said so in its own documentation: >=20 > https://bugs.gentoo.org/show_bug.cgi?id=3D391945#c10 >=20 > "rc_parallel has never officially been declared a stable feature (see= > the comments in rc.conf regarding this)." >=20 > So no matter how fast the scripts could execute (which anyway will be= > slower than small highly optimized C programs), the lack of proper > parallelization will make OpenRC slower than systemd. >=20 > So doubt as much as you want. It doesn't change the fact that (in thi= s > particular issue), you are wrong. >=20 and since I use openrc with parallel startup, I just doubt it even more= . The place where I lose time is starting of my five md-raids. And that i= s=20 something not even systemd can speed up.=20 --=20 #163933