Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 53

Thread: Let's boot with Upstart (GDM ready in 15s)

  1. #21
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Let's boot with Upstart (GDM ready in 15s)

    Quote Originally Posted by smbm View Post
    Golly.

    A fair bit of that sounded like sorcery/black magic to me!
    Sorry I didn't mean to direct all that at you I was just trying to make everyone who is interested aware of some of the things we'd have to do.

    I've registered UpHack in Launchpad: https://edge.launchpad.net/uphack and pushed up two bzr branches, including my event.d.

    Is you're setup pretty standard? Could I just import all your scripts and give it a blast. Is that advisable.
    That's exactly how I plan on spinning the first LiveCD. The most obvious problem I can see is that Readahead needs to be disabled when booting off the LiveCD; I think I'll have the readahead script grep for the bootup arguments indicative of a LiveCD and abort if found.

    Before I spin a livecd, I'd like to reimplement all my event.d files in reference to a very standard (i.e. freshly installed Hardy) system.



    I may need some help implementing some of this stuff. As I've no idea at all about it. I'm keen to learn though.
    Sure. I don't expect anyone to understand what I'm saying right now until I set up some rudimentary documentation on a wiki page. Not only is Upstart very sparsely documented, a lot of these scripts are the creation of myself with zero documentation whatsoever.

    I'm a bit busy these few days, but expect sometime over the weekend to get another big push of data.

  2. #22
    Join Date
    Feb 2007
    Location
    Edinburgh, Scotland
    Beans
    391

    Re: Let's boot with Upstart (GDM ready in 15s)

    Would definately give this a test on a spare partition, might even be able to help out in some way. That boot speed is brilliant.
    Today we have 15 minutes of fame, tomorrow 15 minutes of anonymity.
    My Blog | Veza - Opensource TinyURL clone with sensible URLs

  3. #23
    Join Date
    Apr 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Let's boot with Upstart (GDM ready in 15s)

    Quote Originally Posted by jdong View Post
    Sorry I didn't mean to direct all that at you I was just trying to make everyone who is interested aware of some of the things we'd have to do.

    I've registered UpHack in Launchpad: https://edge.launchpad.net/uphack and pushed up two bzr branches, including my event.d.



    That's exactly how I plan on spinning the first LiveCD. The most obvious problem I can see is that Readahead needs to be disabled when booting off the LiveCD; I think I'll have the readahead script grep for the bootup arguments indicative of a LiveCD and abort if found.

    Before I spin a livecd, I'd like to reimplement all my event.d files in reference to a very standard (i.e. freshly installed Hardy) system.




    Sure. I don't expect anyone to understand what I'm saying right now until I set up some rudimentary documentation on a wiki page. Not only is Upstart very sparsely documented, a lot of these scripts are the creation of myself with zero documentation whatsoever.

    I'm a bit busy these few days, but expect sometime over the weekend to get another big push of data.
    Cool.

    I'll keep an eye on the Launchpad page.

  4. #24
    Join Date
    May 2006
    Beans
    479

    Re: Let's boot with Upstart (GDM ready in 15s)

    hmm with me the booting is fast... its the logging in and actually loading the desktop thats soooo slow

  5. #25
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Let's boot with Upstart (GDM ready in 15s)

    Quote Originally Posted by mech7 View Post
    hmm with me the booting is fast... its the logging in and actually loading the desktop thats soooo slow
    I'm working on a way to "fix" that too but it's unrelated

  6. #26
    Join Date
    Jan 2007
    Location
    Europe
    Beans
    252
    Distro
    Ubuntu Development Release

    Re: Let's boot with Upstart (GDM ready in 15s)

    Wow really neat work. Things like that really awake the geek in me. I'm really curious about this and always found boot up to be something you could definitly tweak out a couple of seconds. Now I don't know anything about hacking my way around the whole startup process. But I quite like to learn (by doing ) it. Except the next 3 weeks I'm packed with big uni papers. Guess no fun for me.

    What comes to mind though is that you basically have to modify every process that is started during booting. Now you got that setup for your system and the idea of a LiveCD is great as well. But wouldn't you run intro troubles if the user would start the install others programms that get started at boottime. For example I have got a mysql server running on my desktop box because I also use it as a MythTV setup. Wouldn't these programs "just come" with the "old way" of booting. Or can upstart be setup more generally so that it doesn't matter in the end what services/demons your start during boottime? (This is me asking, not knowing the whole bootup system particularly good)
    Last edited by bash; March 19th, 2008 at 11:42 PM.

  7. #27
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Let's boot with Upstart (GDM ready in 15s)

    Quote Originally Posted by bash View Post
    . But wouldn't you run intro troubles if the user would start the install others programms that get started at boottime. For example I have got a mysql server running on my desktop box because I also use it as a MythTV setup. Wouldn't these programs "just come" with the "old way" of booting. Or upstart be setup more generally so that it doesn't matter in the end what services/demons your start during boottime? (This is me asking, not knowing the whole bootup system particularly good)
    That was what I meant about #4 on the 2nd level TODO. Currently, you're right, that job would be ignored. We need to either:

    (1) Look in rc2.d for scripts we don't know about, and notify the user with information on what he can do to get Upstart to recognize them.

    (2) #1, but automatically convert it to an Upstart job

    (3) At the end of Upstart boot, execute all SysV jobs that aren't Upstart Jobs sequentially.



    I need to think this through more, as each of those options is appealing in its own way.

  8. #28
    Join Date
    Jul 2006
    Location
    Washington, DC
    Beans
    1,678
    Distro
    Kubuntu Development Release

    Re: Let's boot with Upstart (GDM ready in 15s)

    Quote Originally Posted by jdong View Post
    That was what I meant about #4 on the 2nd level TODO. Currently, you're right, that job would be ignored. We need to either:

    (1) Look in rc2.d for scripts we don't know about, and notify the user with information on what he can do to get Upstart to recognize them.

    (2) #1, but automatically convert it to an Upstart job

    (3) At the end of Upstart boot, execute all SysV jobs that aren't Upstart Jobs sequentially.



    I need to think this through more, as each of those options is appealing in its own way.
    I like #3. The other two...automagic generation of config files...sound a bit scary.

    I'm totally up for playing with this though. I should take a dpkg dump first though, so I can do a set-selections and reinstall my packages if reinstalling Ubuntu becomes necessary

    LinuxChix | Linux User #432169 | Ubuntu User #8495 | IRC: maco @ irc.linuxchix.org or irc.freenode.net

  9. #29
    Join Date
    Jun 2006
    Location
    Syracuse, NY
    Beans
    3,264

    Re: Let's boot with Upstart (GDM ready in 15s)

    Why not a combination of all three? Give the user a setting to be notified of how to change it (#1) or to have it automagically converted (#2). Then in the meantime #3 could be a default behavior (which I suppose should also be able to be turned off) that would boot the scripts that haven't been added yet.
    Desktop: AMD Athlon64 X2 3600+, Nvidia 8600GT, 3GB RAM, 80GB hd, Windows 7 Beta
    Lappy: Sony Vaio FW-140E, Intel P8400 2.26Ghz, 3GB Ram, 250GB HD, Intel x4500MHD, Windows 7 Beta & Kubuntu 8.10 w/ KDE 4.2

  10. #30
    Join Date
    Feb 2007
    Location
    New Jersey, USA
    Beans
    318

    Re: Let's boot with Upstart (GDM ready in 15s)

    Is it possible to just implement this as rc3,4,or 5? It should make it easier to test on the same exact system rather than installs on seperate partitons (which have different radial distances along the disk - dunno if that is negligable or not).
    Disclaimer: All of my advice is guaranteed without exception to work. If you find my advice unsatisfactory, you didn't do it right.

Page 3 of 6 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •