Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Chat
  • Search

[NEWS] OpenRC and baselayout 2 will reach ~arch soon

Opinions, ideas and thoughts about Gentoo. Anything and everything about Gentoo except support questions.
Post Reply
  • Print view
Advanced search
71 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
gringo
Advocate
Advocate
User avatar
Posts: 3793
Joined: Sun Apr 27, 2003 10:25 am

  • Quote

Post by gringo » Fri Apr 18, 2008 11:17 am

Or maybe it is just that you only notice some improvement if your boot time is >3 minutes or so.
yup, it actually made a difference here on a very slow box ( pentium 133 - 64 MB ram), it shaved about 12 seconds which is quite cool.
One of my laptops ( G4 alubook) also looks like it is booting faster, but that´s probably placebo effect as you said, i have no numbers. In case there´s a difference it surely would be something minimal.

Kudos to Roy !

cheers
Error: Failing not supported by current locale
Top
entity
Tux's lil' helper
Tux's lil' helper
Posts: 95
Joined: Sun Jun 16, 2002 9:03 am
Location: Finland

  • Quote

Post by entity » Fri Apr 18, 2008 2:51 pm

Whoa! Smooth, swift bootup I see - just like what Gentoo should be! :)
Top
Kate Monster
Apprentice
Apprentice
Posts: 226
Joined: Tue Jun 13, 2006 3:39 am
Location: Clarkston, Michigan

  • Quote

Post by Kate Monster » Fri Apr 18, 2008 5:42 pm

Updated to OpenRC today, everything went smoothly - rewrote my /etc/conf.d/net and recreated /etc/init.d/net.eth0 symlink, and that was it. It seems like it's booting faster, but I won't be able to tell for sure until I try it on my slower machine. Well done, uberlord.
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

Re: [NEWS] OpenRC and baselayout 2 will reach ~arch soon

  • Quote

Post by rogerx » Fri Apr 18, 2008 7:49 pm

NOTE 1: /etc/env.d/90xsession is provided by =x11-apps/xinit-1.0.8-r2. The article fails to mention this, but does make note xinit provides the /etc/env.d file. So, I would imagine the more proper method would be, unmasking =x11-apps/xinit-1.0.8-r2 might also be appropriate instead of just adding the /etc/env.d/90xsession file?

NOTE 2: I was still using the old "broadcast" instead of "brd" variable for the /etc/conf.d/net file. Don't know if the order of defining "brd" or "netmask" was an issue either.

--- /etc/conf.d/net.old
+++ /etc/conf.d/net
-config_eth0=( "192.168.1.3 broadcast 192.168.1.255 netmask 255.255.255.0" )
+config_eth0="192.168.1.3 netmask 255.255.255.0 brd 192.168.1.255"

NOTE 3: spamd init.d script requires "--name" arg. See bugs.gentoo.org for opened bug with patch/solution (- not committed or marked as fixed yet).

RESULTS: The migration process, as long as following the Gentoo OpenRC Migration guide, is pretty much flawless. The increase with boot timings is what I would expect when using C code!! ;-)
Roger
http://rogerx.freeshell.org/
Top
Mikkl
Tux's lil' helper
Tux's lil' helper
Posts: 79
Joined: Thu Jan 12, 2006 3:54 pm

  • Quote

Post by Mikkl » Sat Apr 19, 2008 9:33 am

rogerx wrote:NOTE 2: I was still using the old "broadcast" instead of "brd" variable for the /etc/conf.d/net file. Don't know if the order of defining "brd" or "netmask" was an issue either.
When starting net.eth0 with brd defined before netmask in /etc/conf.d/net it always gave me this error:

Code: Select all

 * Caching service dependencies ...                                       [ ok ]
 * Bringing up interface eth0
 *   10.0.0.6 ...
Error: either "local" is duplicate, or "netmask" is a garbage.            [ !! ]
after having switched the two statements it now works again :)

Boot time increased noticeable, especially the gaps where the computer seemed to do nothing (but wasting time on executing the old shell-script?) between two init-scripts are now gone.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Sat Apr 19, 2008 9:44 am

no speed increase, but no slowdown also, so it's cool

i might be the only one to notice it, so i put it here, but it also kill /etc/hosts file here, as i refer my hosts in it to be use with distcc, this has disturb distcc working (not much an issue, but still an issue)
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

  • Quote

Post by rogerx » Sat Apr 19, 2008 8:23 pm

Mikkl wrote:
rogerx wrote:NOTE 2: I was still using the old "broadcast" instead of "brd" variable for the /etc/conf.d/net file. Don't know if the order of defining "brd" or "netmask" was an issue either.
...

after having switched the two statements it now works again :)

Boot time increased noticeable, especially the gaps where the computer seemed to do nothing (but wasting time on executing the old shell-script?) between two init-scripts are now gone.

Ah! Great. Then if this works with brd or broadcast, but order is needed, this is likely a bug requiring documentation. (If they haven't already.)

Yes, the boot time activity you describe was what I paraphrased by stating quicker boot timing. (Those hangs add up to minutes here, especially on slower cpus/drives.)

Ditto on the /etc/hosts file. Caught this too but forgot to make note.

NOTE 4: Fries /etc/hosts file! ;-)


(Also, if you have cryptsetup-luks, luks is now merged into =>cryptsetup-1.5 and also requires a reboot before you can use it successfully. Also, re-add it's init script to the boot level ... 1.0.6 init script is only for baselayout-2.0.0. Not really related, but threw me for a spin last night.)
Roger
http://rogerx.freeshell.org/
Top
brot
Guru
Guru
Posts: 322
Joined: Tue Apr 06, 2004 9:32 pm

  • Quote

Post by brot » Sun Apr 20, 2008 8:48 am

:) Runs very nice here on my boxes (~amd64 and ~x86). Thanks for the newsentry and the nice work with baselayout and openrc!
Top
Mikkl
Tux's lil' helper
Tux's lil' helper
Posts: 79
Joined: Thu Jan 12, 2006 3:54 pm

  • Quote

Post by Mikkl » Sun Apr 20, 2008 9:39 am

ah, i had a thinking error. actually i meant this the other way.
mikkl wrote:Boot time increased noticeable, ...
boot time decreased of course.
rogerx wrote:Ah! Great. Then if this works with brd or broadcast, but order is needed, ...
yes, it seems if brd or broadcast doesn't matter, works both for me.
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

  • Quote

Post by rogerx » Mon Apr 21, 2008 3:49 am

LOL. Ditto. Dyslexia. :-/
Roger
http://rogerx.freeshell.org/
Top
The Unknown
Guru
Guru
Posts: 335
Joined: Wed Feb 28, 2007 11:10 pm
Location: Minnesota, U.S.A

  • Quote

Post by The Unknown » Mon Apr 21, 2008 5:41 am

Well I have to say, very nice!
I run stable systems but after seeing all the hullabaloo I had to check it out for myself.

The migration was absolutely painless. Nothing of mine nuked, updating the config's was trivial.
My boot time was only slight decrease, I already boot under 30 sec's so I wasn't expecting much. Although I could really care less, I will take any boot time for a modern and robust system. It feels good, and I'm happy to see things evolving and moving forward.

Great job on the guide

Great job on the new rc-system and thanks to Roy Marples and all those involved.
Doing what you like is freedom.
Liking what you do is happiness.
Top
natros
n00b
n00b
Posts: 70
Joined: Fri Sep 26, 2003 10:46 pm

  • Quote

Post by natros » Mon Apr 21, 2008 12:31 pm

from grub to kdm in just 15s, it's amazing
thank you
-=[abit ip35 pro core2quad q6600 (oc 3.0 ghz) 8 gb ram 2x320 raid0 ext4 xfx8800gt 512mb]=-
Top
dentharg
Guru
Guru
User avatar
Posts: 438
Joined: Tue Aug 10, 2004 12:17 pm
Location: /poland/wroclaw
Contact:
Contact dentharg
Website

  • Quote

Post by dentharg » Tue Apr 22, 2008 7:58 am

Thanks a lot! OpenRC is faster - from my previous boot time (since grub to kdm) I am now getting there almost instantly :)
Core2Duo e6300 | Asus P5B-V | 3 GB RAM | kernel 2.6.24 | KDE 3.5.9 + 4.0.0
Top
Shamus397
Apprentice
Apprentice
User avatar
Posts: 218
Joined: Sun Apr 03, 2005 2:01 pm
Location: Ur-th

  • Quote

Post by Shamus397 » Tue Apr 22, 2008 2:47 pm

It's no placebo effect, the boot time is much faster on my slow machines here. ;)

Thanks guys! :D :D :D
Top
Eckos
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Fri Jan 25, 2008 4:14 pm
Location: Houston, Texas, USA
Contact:
Contact Eckos
Website

  • Quote

Post by Eckos » Tue Apr 22, 2008 3:09 pm

It booted a little slower. Maybe it was because it was saving cache or w/e
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

  • Quote

Post by rogerx » Thu Apr 24, 2008 6:51 am

Shamus397 wrote:It's no placebo effect, the boot time is much faster on my slow machines here. ;)

Thanks guys! :D :D :D
This is what I would figure. The speed increase would be less noticeable on faster machines and more noticeable on slower machines. However, most people owning the faster machines, are not too concerned about milliseconds.

Not only this, people willing to spend the bucks on faster machines, aren't too concerned about compiling with optimizations or worried about migrating code from shell scripting to C, etc. <shrugs, politics with computers>
Roger
http://rogerx.freeshell.org/
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

  • Quote

Post by rogerx » Thu Apr 24, 2008 6:58 am

Eckos wrote:It booted a little slower. Maybe it was because it was saving cache or w/e
If it's slower, might be a really good indicator of a bad/incompatible compiler option(s)?

Somethings definitely not right as C is faster then scripting. (Less CPU processing as C is a lower level language then Shell/Bash scripting.)
Roger
http://rogerx.freeshell.org/
Top
warrens
Apprentice
Apprentice
User avatar
Posts: 243
Joined: Tue Jan 04, 2005 11:19 pm
Location: Don't Tread On Me!

  • Quote

Post by warrens » Thu Apr 24, 2008 10:15 am

Ok, here are some hard numbers showing the difference between baselayout-1 and baselayout-2+OpenRC:
  • Baselayout-1 41.88 seconds lilo to kdm
    Baselayout-2+OpenRC 38.41 seconds lilo to kdm
A difference of 3.47 seconds give or take a few hundredths of a second due to using a stop watch to measure time, no placebo effect here. ~x86
[The bigger the government, the smaller the citizen.

Don't tread on me!!!

The best government is the government that governs least.
Top
dnadesign
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Sat Dec 23, 2006 6:53 pm
Location: Poland
Contact:
Contact dnadesign
Website

  • Quote

Post by dnadesign » Thu Apr 24, 2008 11:54 am

Ok, got baselayout-2 and openrc installed.

It's seems slightly faster, but not too much. The automatic migration went smooth, I had to edit only one file to preserve my custom settings. Kernel modules, rc settings, everything migrated nicely.

Parallel startup works nice and finally any eventual errors are displayed correctly (as in to the correct module, that failed, which in previous baselayout with parallel startup was a problem :P ).
As for the boot logging (into /var/log/rc.log), it works good and contains all the information seen at boot time. :)

Conclusion: Nice work! :)
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Thu Apr 24, 2008 12:15 pm

Does anyone knows when it will hit stable ?
Top
SlackwareInAZ
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Mon Aug 29, 2005 3:38 am

  • Quote

Post by SlackwareInAZ » Thu Apr 24, 2008 5:43 pm

Migrated yesterday to OpenRC/Baselayout 2. No real difficulties once I read and followed the migration guide.

Running 2.6.25 gentoo-sources with ext3 on single / partition.

Conventional baselayout: 23secs to boot to init3 logon

OpenRC Series boot: 12 secs
Parallel boot: 11 secs.

So a very noticeable improvement in startup time. Didn't time shutdown time, but it's much quicker as well.

Good job guys!

Gary :)
Top
rogerx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 118
Joined: Tue Apr 06, 2004 6:44 pm
Contact:
Contact rogerx
Website

  • Quote

Post by rogerx » Fri Apr 25, 2008 8:48 am

Ha!

Love the new openrc /etc/rc.conf file!
dmesg_level="1"
(Maybe the option was thar' before)


Also, consolefont now seems to use UTF-8 font without any issues now.
Roger
http://rogerx.freeshell.org/
Top
Dagger
Retired Dev
Retired Dev
User avatar
Posts: 765
Joined: Wed Jun 11, 2003 8:21 pm
Location: UK

  • Quote

Post by Dagger » Fri Apr 25, 2008 2:21 pm

I've been using Baselayout2 since early beta days, and OpenRC since uber decided to make it. Except few times when it screwed my pc (advantages of using GIT ebuild from dev's overlay) it's been working VERY stable and makes hell of the lot of difference. I absolutely love it and never had any problems with it. Also every bug I posted on Roy's bugzilla was answered/explained instantly and every question was answered with all the details.

btw, how many of you enabled rc_parallel="YES"?
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Fri Apr 25, 2008 2:23 pm

This option seems to split the boot time in half... impressive :)
Top
Paapaa
l33t
l33t
User avatar
Posts: 955
Joined: Sun Aug 14, 2005 8:45 am
Location: Finland

  • Quote

Post by Paapaa » Fri Apr 25, 2008 2:27 pm

Stupid question, but:

Will my old baselayout get updated automatically when baselayout-2 reaches stable?
Paludis, the way packages are meant to be managed.
Top
Post Reply
  • Print view

71 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Gentoo Chat”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic