Results 1 to 6 of 6

Thread: Boot times

  1. #1
    Newbie
    Join Date
    May 2005
    Posts
    7

    Boot times

    I've been working with Debian in a virtual machine. With a slightly optimized kernel and some other tweaks and I get from grub to login in 16 seconds. After that point I haven't set up X to automatically load but typing quickly I can load blackbox and XMMS and play a song in about 35 seconds. Hows this sound for a cold boot? (35 seconds total, from grub not from login)

  2. #2
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,492
    not bad. Here are some similar results I got with a custom LinuxICE kernel. From grub, past login (autologin) loading X and nghost1.

    Are you using "upstart" with your debian system? That may increase speed even more. If you can provide details about how you setup your system, I am definitely interested. I've been experimenting with debian as the next LinuxICE2 base.

    cheers.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  3. #3
    Newbie
    Join Date
    May 2005
    Posts
    7
    I started with the absolute base system from the business card iso. I used rcconf to narrow down services to just ALSA. I installed runit. In etc/init.d/rc I changed CONCURRENCY=none to CONCURRENCY=shell and (I'm not sure if this change did anything) changed "startup $ACTION $SCRIPTS" to "startup $ACTION $SCRIPTS &". I can show you my .config for my kernel but it's nothing special. There's still some junk compiled in it that I don't need.

    What I would like to do is find a way to stop all hardware detection at startup. My idea is to have two kernels compiled. At startup, leave a very short window of time to pick which one to boot from. One kernel will probe for new hardware and the other will have the info precached and read it from a file.

  4. #4
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,492
    cool. Sounds close to what i'm doing right now. I'm using "live-helper" to debootstrap debian core files and build it up into a livecd for LinuxICE2. I know you are already doing some of these things but here and here are some more tweaks you can do to get your system running quicker.

    If you haven't tried upstart yet, it should also make things faster too. It's in the experimental repo.
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

  5. #5
    Newbie
    Join Date
    May 2005
    Posts
    7
    Little update... After changing some scripts, I now have everything automated. I go from grub to playing music in 20 seconds. That's a cold boot, too. Here's the process
    1- grub
    2- typical hardware probing
    3- runit starts I guess what you can call its first stage and all processes are begun simultaneously (or they should be)
    4- after everything starts, runit goes to stage two and I edited the script for it and added "su -c startx"
    5- xinitrc consists of "xmms & exec fluxbox" so xmms loads with the window system
    6- hit play

    I don't see things booting much faster unless my idea in post #3 is possible. Which it is cause this is linux but could be difficult. Which again, it will be... cause this is linux.

  6. #6
    Newbie
    Join Date
    May 2005
    Posts
    7
    It might be worth noting that I don't use a swap file.

Similar Threads

  1. Slow Boot times after TinyXP
    By Grrrmachine in forum WinNT Based
    Replies: 4
    Last Post: 11-03-2007, 03:40 AM
  2. Boot times
    By 84RegalRider in forum Linux
    Replies: 50
    Last Post: 07-23-2007, 02:58 PM
  3. boot times with XP
    By Alives in forum General Hardware Discussion
    Replies: 2
    Last Post: 11-15-2001, 12:42 PM
  4. boot times
    By pinkysqueaks in forum General MP3Car Discussion
    Replies: 39
    Last Post: 08-31-2001, 06:30 PM
  5. boot times for mp3 players
    By alany in forum General Hardware Discussion
    Replies: 4
    Last Post: 12-16-1999, 12:09 AM

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
  •