Slashdot Mirror


Boot Process Visualization

zigam writes "The time needed to boot desktop Linux systems is becoming an issue. That's why I recently took the challenge posted by Red Hat's Owen Taylor on the Fedora developers list and came up with a tool for visualization of the boot process. It collects performance data during the boot up and then renders an SVG or PNG performance chart. It immediately helped Red Hat developers solve some issues and I have since received boot charts from other GNU/Linux developers as well. Solaris kernel developers reported success in improving their boot process too." Update: 12/15 20:04 GMT by T : Sorry, someone decided your time was worth wasting; no more mirrored bootchart.

536 comments

  1. IIS? by swordboy · · Score: 4, Funny

    No comments and your IIS web server is down. Nice.

    --

    Life is the leading cause of death in America.
    1. Re:IIS? by eviloverlordx · · Score: 2, Funny

      What the heck is he using IIS for? I would've thought it would be Apache...

      --
      'Loose' is when your pants are three sizes too big. 'Lose' is when you misuse 'loose'.
    2. Re:IIS? by Ingolfke · · Score: 5, Funny

      He was, but his Linux box just took so long to boot it wasn't worth the effort.

    3. Re:IIS? by Spetiam · · Score: 3, Funny

      Yeah, where's the tool for visualizing a server meltdown?

    4. Re:IIS? by Anonymous Coward · · Score: 2, Informative

      This is *NOT* a slashdotting. It's someone trying to serve a website from a desktop Windows OS (i.e. XP Pro or Windows 2000 Pro). There is a 10 client limit on non-server versions of IIS.

    5. Re:IIS? by Anonymous Coward · · Score: 0

      Take a pill er something. Maybe he thought that a linux utlity would be hosted on a open source web server. Not IIS. What's wrong with you?

    6. Re:IIS? by 1010011010 · · Score: 3, Funny
      For shame! Double shame!



      HTTP 403.9 - Access Forbidden: Too many users [isn't one too many?] are connected
      Internet Information Services

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    7. Re:IIS? by gniv · · Score: 5, Informative

      Here are some pictures that are not slashdotted yet: one, two, three.

      They are taken from here.

    8. Re:IIS? by BandwidthHog · · Score: 1

      You're soaking in it!

      --

      Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
    9. Re:IIS? by Aeiri · · Score: 3, Funny

      Yeah, 8 seconds can feel too long for me sometimes.

    10. Re:IIS? by Tassleman · · Score: 1

      isn't one too many?

      Truly hilarious.

      Slashdot. Came for the Nerd News, stayed for the really awesome cutting edge humor.

    11. Re:IIS? by Anonymous Coward · · Score: 0

      I installed his script and have yet to view the output; however, I'm not sure I'll be doing any adjusting.
      My Slack 10.0 / Linux 2.6.9 / Sony Vaio PCG-Z1WA box boots:
      7s BIOS
      3s LILO
      15s Kernel
      13s init
      3s first login
      5s X.org
      1s fluxbox
      Under a minute from power-up to an xterm. And, I might be able to squeeze browser startup into that minute, if I switch from Mozilla to Firefox...
      -os

    12. Re:IIS? by 1010011010 · · Score: 1

      We thought you stayed to make snide comments.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    13. Re:IIS? by OmegaBlac · · Score: 1
      Life is the leading cause of death in America.
      That and good quality pr0n.
    14. Re:IIS? by eviloverlordx · · Score: 1

      He just hadn't had his morning beating yet.

      --
      'Loose' is when your pants are three sizes too big. 'Lose' is when you misuse 'loose'.
    15. Re:IIS? by Anonymous Coward · · Score: 0

      8 seconds ... So, what, you're loading kernel 2.0, going to runlevel 3, and using Ultra320 disks?

    16. Re:IIS? by FuzzyBad-Mofo · · Score: 4, Insightful

      Running Windows doesn't prevent one from running Apache.. I've never understood these people who choose to use the limited version of IIS instead of spending 5 minutes to set up Apache. It's not that hard, guys.

    17. Re:IIS? by Anonymous Coward · · Score: 0

      no, solid state disks

    18. Re:IIS? by gardyloo · · Score: 1

      ---Insert wife/girlfriend joke here ---

    19. Re:IIS? by Aeiri · · Score: 1

      Linux 2.6.9 Standard IDE HD 80 GB 7200 RPM 900 MHz processor 512 DDR RAM

      Yes I only go to runlevel 3... there's just something about runlevel 5 that I don't trust... running X (KDE) adds another 4-5 seconds on to it, still only 13 seconds.

      Knoppix loads in about 15-16 seconds even on my secondary computer (900 MHz, 512 SDRAM)... I really don't understand what people's problems are with Linux startup times...

    20. Re:IIS? by Anonymous Coward · · Score: 0

      ---Insert wife/girlfriend joke here ---

      You're doing it all wrong, jokes aren't what you insert...

    21. Re:IIS? by Anonymous Coward · · Score: 0

      > Yes I only go to runlevel 3... there's just something about runlevel 5 that I don't trust.

      you know, you can just look at the init scripts, and see that there's no difference between them apart from the display manager being started.

      what's not to trust?

    22. Re:IIS? by Anonymous Coward · · Score: 0


      Yeah, where's the tool for visualizing a server meltdown?

      Here's something to help you.

    23. Re:IIS? by Ash-Fox · · Score: 1

      While I don't use IIS... It takes me 10 secconds to setup IIS via the webbrowser, while apache can take me alot longer... Although I do prefer apache, I think there is a point here.

      --
      Change is certain; progress is not obligatory.
    24. Re:IIS? by FuzzyBad-Mofo · · Score: 1

      Yeah, but if it's something your putting up to serve more than one or two people, it's probably a good idea to put in the effort. :)

    25. Re:IIS? by rookie1 · · Score: 1

      Why? The same tool you use to view this post.

    26. Re:IIS? by ClioCJS · · Score: 1
      what about those of us who stupidly coded our infrastructure in ASP that uses ADO database crap? I want to get out of that but I don't want to spend the time to re-write everything. (And session awareness in Perl isn't as good as ASP, but I finally made my Perl pages aware of my ASP sessions.)

      Is there somethign easy I can do without thinking to escape IIS and go to Apache on my windows box? cause that's where I'd ideally like to be.

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    27. Re:IIS? by FuzzyBad-Mofo · · Score: 1

      Hmm, you could use ASP2PHP as a starting point, but the ADO stuff will probably have to be rewritten. This is a good reason to centralize your database code in one place, it makes it much easier to make changes.

  2. Mirror? by kmmatthews · · Score: 3, Funny
    Anyone have a mirror? That was the fastest slashdotting ever, .. 0 comments and his IIS server died.

    OTOH, it *is* IIS, it could die if you blink at it the wrong way. :)

    --
    feh. stuff.
    1. Re:Mirror? by Anonymous Coward · · Score: 0

      OTOH, it *is* IIS, it could die if you blink at it the wrong way. :)

      So can I.

    2. Re:Mirror? by gniv · · Score: 5, Informative

      There are some charts linked from a post here.

    3. Re:Mirror? by kmmatthews · · Score: 3, Funny
      Huh? Anonymous coward will die if I blink the wrong way?

      *blinks furiously*

      --
      feh. stuff.
    4. Re:Mirror? by zigam · · Score: 5, Informative

      Here's the mirror:
      bootchart.sourceforge.net

      --
      Ziga
    5. Re:Mirror? by ProfaneBaby · · Score: 0, Offtopic
      --
      Video Phone Blogs send video messages straight to the web.
    6. Re:Mirror? by Elwood+P+Dowd · · Score: 1

      Mod parent up. He's the first one with a good relevant link.

      --

      There are no trails. There are no trees out here.
    7. Re:Mirror? by Anonymous Coward · · Score: 0

      http://bootchart.sourceforge.net/index.html

    8. Re:Mirror? by Anonymous Coward · · Score: 0

      I got one of the images, but that's it :(

      http://www.coattails.net/slashdot/bootchart.png

    9. Re:Mirror? by Malc · · Score: 0, Flamebait

      You've never worked with IIS have you? A lot of people on /. haven't worked with IIS either, which explains why these crap and unoriginal jokes continue to perpetuate. I've experienced more problems getting Apache tuned for heavy usage than IIS. I've always been able to log in remotely to a bogged down Windows machine... but I've seen Apache make a Linux box unreachable once it starts spiralling due to memory starvation. Apache gives you more than enough rope to hang yourself by.

    10. Re:Mirror? by 1010011010 · · Score: 2, Interesting


      I've used IIS. I've written ISAPI filters for IIS. We currently use IIS at work. And let me tell you right here and now -- IIS sucks. Voice of experience.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    11. Re:Mirror? by Anonymous Coward · · Score: 0

      I work with both. Apache scales better if you know what you're doing and can handle a heavy load out of the box. IIS can handle a load too, but you better make damn sure that you've got it up to date and locked down and that you know how to tune it. *HINT* MS doesn't make it readily apparent, so the amount you spend learning how to do it could hvae been better spent tuning an Apache installation. Trust me, I'll bet I know more about IIS than you've forgotten.

    12. Re:Mirror? by Anonymous Coward · · Score: 0

      Hi. I use Apache twice as much as you. And it sucks. So I am better than you. That's great playground logic.

      Nice credentials, assbitch.

    13. Re:Mirror? by GT_Onizuka · · Score: 3, Funny

      You're still blinking the right way. They'll never die if you're doing it like that.

      --
      If you take out Country Kitchen buffet, old people won't know what to do.
    14. Re:Mirror? by maotx · · Score: 1

      I checked. Site is good mirror (when I checked.) I'd mod it up but I felt a post would be better.

      --
      I'm a virgo and on Slashdot. Coincidence? Yes.
    15. Re:Mirror? by Malc · · Score: 1

      Hmmmm, I too have written ISAPI extensions and filters, and ASP applications and custom DCOM middleware, etc. IIS is just another tool in the box. With a half competent admin it doesn't get exploited (i.e. somebody who patches when it's needed), and with several cheap boxes and a load balancer the customers get the illusion of 100% uptime. It's popular to dislike Microsoft around here, but any software engineer worth their salt leaves the childish politics at home and makes the tools they have do the job.

    16. Re:Mirror? by bit01 · · Score: 1

      but any software engineer worth their salt leaves the childish politics at home and makes the tools they have do the job.

      Yep, However, all software engineers, unless their workplace has bigoted, anti-freeware/open source software policies, have Apache available to do the job and know that it is generally regarded as one of the best webservers in the market.

      ---

      It's wrong that an intellectual property creator should not be rewarded for their work.
      It's equally wrong that an IP creator should be rewarded too many times for the one piece of work, for exactly the same reasons.
      Reform IP law and stop the M$/RIAA abuse.

    17. Re:Mirror? by Malc · · Score: 1

      What's your point?

      Just because Apache is well-regarded and extrememly popular doesn't mean that our business is going to go to the expense of switching. That makes no sense: a switch-over exceeds the costs of continuing as we are.

    18. Re:Mirror? by bit01 · · Score: 1

      What's your point?

      I was responding to your point:

      ... makes the tools they have ...

      Apache is one of the tools you have for use. It's not just the tool you're currently using (IIS) that you implied.

      Just because Apache is well-regarded and extrememly popular doesn't mean that our business is going to go to the expense of switching. That makes no sense: a switch-over exceeds the costs of continuing as we are.

      If you've truly done that evaluation then I agree with you 100%.

      If you've simply assumed that an evaluation and switch-over will be short term and long term more costly than the status quo then I feel you're not doing your job.

      I've lost count of the number of places I've worked in that just assumed both evaluation of software and switch-over of software were too expensive and wasted a lot of time with "tried-and-true" software. They were usually pleasantly surprised by what could be accomplished with better tools and how quickly switching costs were recovered.

      Switching software is often overrated as a cost, particularly when you consider that an ongoing cost, tangible or intangible, must eventually total more than any one-off cost.

      ---

      It's wrong that an intellectual property creator should not be rewarded for their work.
      It's equally wrong that an IP creator should be rewarded too many times for the one piece of work, for exactly the same reasons.
      Reform IP law and stop the M$/RIAA abuse.

    19. Re:Mirror? by Malc · · Score: 1

      We do actually have some Linux/Apache boxes (mostly static pages, simple PHP and an incredible simple MySQL DB backend). We're going to be switching them to IIS to reduce costs and simplify maintenance. They don't generate enough work to justify hiring somebody with the skills to maintain them. Our Windows developers and admins are mostly unable to provide effective support. Re-writing our C++ ISAPI filters and extensions to work under Apache and even another OS would cost a couple of man years for development, an awful lot of money and a lot of time testing debugging the new system. The golden rule of software is never rewrite from scratch unless you have to. Then there's the backend systems (separation issue) that have had hundreds of hours of tuning and development in T-SQL and DTS, etc. If we were to be writing from scratch then we might consider alternatives, but we're not. Microsoft as a platform suits our needs perfectly and isn't as much trouble as many of the horrors stories so popular on this site.

  3. Reboot visualization by Doc+Ruby · · Score: 4, Funny

    I want similar charts of telemetry of a server as it goes down, like the forensics of a Slashdotting. Today's front-page feature should give zigam plenty of data to experiment with ;).

    --

    --
    make install -not war

    1. Re:Reboot visualization by which+way+is+up · · Score: 5, Funny

      I love it so much better when they go down sloooowwww. Oh yeah baby take your time...

      Oh, wait, are we talking about the same thing here?

    2. Re:Reboot visualization by justkarl · · Score: 2, Funny

      I want similar charts of telemetry of a server as it goes down, like the forensics of a Slashdotting.

      Easy peezy. Simply graph f(x)=x^2 and you'll have a graph of hits as a function of time where x=0 is where the link is posted on slashdot.

    3. Re:Reboot visualization by Erik+Hensema · · Score: 3, Interesting

      Serious answer on funny comment: actually it's a very high initial spike with a gradual decay. See the hourly usage stats generated for a slashdoted April's Fool site. Note that this site is specifically designed to withstand the slashdot effect by using light graphics, no database and very simple scripting. Server load was low.

      --

      This is your sig. There are thousands more, but this one is yours.

    4. Re:Reboot visualization by legirons · · Score: 1

      "Simply graph f(x)=x^2 and you'll have a graph of hits as a function of time where x=0 is where the link is posted on slashdot."

      But why would there be so many more hits before the story is posted?

    5. Re:Reboot visualization by Taladar · · Score: 1

      The graph clearly shows a steep decline in hits before the posting on /. to generate more hits.

    6. Re:Reboot visualization by nkh · · Score: 1

      I would say it is more an exponential function because new links are also appearing in the comments, which increases exponentially the power of the /.ing (and the negative side of the function represents the 5 minutes before the story is posted on the front page.

    7. Re:Reboot visualization by Anonymous Coward · · Score: 0

      Haha yes! Perhaps if we know how servers melt down we can then make our Slashdotting more efficient! Wait, we're not malicious, I swear!

    8. Re:Reboot visualization by Doc+Ruby · · Score: 1

      Actually, there is the possibility of making an Apache module that senses a Slashdotting pattern, and bails out: redirecting to mirrors, BitTorrents, or just "shields up" to all hits arriving with "Slashdot.org" in their REFERER field. But it's really just a way to gloat over the gory ruins of our victims, up close and in technicolor.

      --

      --
      make install -not war

    9. Re:Reboot visualization by carlmenezes · · Score: 1

      You gotta love that server grovelling at your feet.

      --
      Find a job you like and you will never work a day in your life.
  4. Sounds fascinating by bozendoka · · Score: 0

    Wish I could see 'em!

    --
    "You will soon be more aware of your growing awareness." - My first recursive fortune cookie!
  5. For starters.. by Zorilla · · Score: 3, Interesting

    How about, uh, you know, actually loading multiple things at once instead of waiting for some service to take its time to start, therby holding everything else up along the way. That's what the problem seems to be - everything has to load in-line.

    On another note, I'd like to see other distros do what Red Hat is doing to Fedora's boot screen: Using X resolutions for the startup. Damn, that looks nice! Thought it would be even nicer if the pointless resolution change between bootup and main X server startup was eliminated (it's usually the same res anyway).

    --

    It would be cool if it didn't suck.
    1. Re:For starters.. by k-zed · · Score: 1, Flamebait

      On another note, I'd like to see other distros do what Red Hat is doing to Fedora's boot screen: Using X resolutions for the startup.

      How about doing what god intended and starting the damn operating system in text mode?? The user might as well startx if he wants...

      --
      we discovered a new way to think.
    2. Re:For starters.. by kfg · · Score: 2, Informative

      I'd like to see other distros do what Red Hat is doing to Fedora's boot screen: Using X resolutions for the startup.

      The desktop oriented distros have been doing that since before Fedora existed.

      KFG

    3. Re:For starters.. by DanteLysin · · Score: 1

      Well, if you install all packages and start all the daemons at boot time ... yeah, it's going to be slow. Why not enable what you need (instead of everything).

      Then there are those who shutdown via the power button. Then they get those nice filesystem consistency checks at boot time.

      Personally, I don't see the big deal. With >6 months uptime, boot time is the least of my worries.

    4. Re:For starters.. by ArsonSmith · · Score: 1

      Even SCO OpenServer did this. In addition to the S and K scrtipts there were P scripts. P40server would be called from the rc.d script as:

      P40server &

      You would start init scripts with a P (I guess for pthreaded?) if it didn't have anything that depends on it starting.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    5. Re:For starters.. by kmmatthews · · Score: 5, Insightful
      On the other hand, Unix wasn't really intended to be booted every day, e.g. the way XP is*. (MS intentionally made sure the boot up was very fast, running things side by side and some other tricks.)

      (* IMHO.. If I'm wrong.. I'm sure you'll let me know..)

      --
      feh. stuff.
    6. Re:For starters.. by GrenDel+Fuego · · Score: 1

      Then there are those who shutdown via the power button. Then they get those nice filesystem consistency checks at boot time.

      What's wrong with shutting down that way? When I hit the power button, the machine shuts down gracefully. Of course that only works with acpid.

    7. Re:For starters.. by wizbit · · Score: 4, Informative

      Try reading David Zeuthen's analysis of the FC boot process (with charts) over on the fedora archives. Very interesting - among other things, nearly 200 MB of files(!) are buffered while starting GNOME - quite a footprint - and apparently by putting those files on a separate (non-fragged) partition he sped process by nearly 30 seconds and reports OOo and Firefox start times of around 3 seconds.

    8. Re:For starters.. by Anonymous Coward · · Score: 0

      funny, mine does a graceful shutdown when i touch the power button.

      if you did not trap that event and trigger a shutdown now -h then that is your problem.

    9. Re:For starters.. by ArsonSmith · · Score: 1

      I guess perallel makes more sense. Had to submit to notice that one.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    10. Re:For starters.. by Zorilla · · Score: 1

      Then it should be a user-configurable preference. I understand there are plenty of people who would much rather prefer the plain text startup.

      --

      It would be cool if it didn't suck.
    11. Re:For starters.. by Palager · · Score: 1

      you can do parallel loading of services at startup with gentoo and i am pretty sure with others (see /etc/conf.d/rc on gentoo)... and as for the X server stuff i am pretty sure they just use a generic vga driver... i am sure if you wanted to just run a vga driver for your X server you could figure something out to make that work... although it would be crap... the effort in getting a small version of X to load so you can see pretty progress bars with a vga driver is bad enough... and how do you propose to load a fully usable X (because that is what you want... to load X once) without loading all the system services that X needs (e.g. all the startup stuff whose progress you see in the purple bar inching across your crisp X window) ?

    12. Re:For starters.. by kfg · · Score: 1

      Personally, I don't see the big deal. With >6 months uptime, boot time is the least of my worries.

      To be fair, most desktop machines are shutdown at night and restarted in the morning.

      Some people thus complain about the bootup time. They can't get right to work and have to go get a cup of coffee or something until it's done.

      Personally, I don't see the big deal. To me that has always seemed like the ideal time to. . . go get a cup of coffee.

      KFG

    13. Re:For starters.. by ProfaneBaby · · Score: 1

      Background fsck works well in FreeBSD - journaled filesystems tend to avoid the painfully long checks anyway, but there's no reason even those checks shouldn't/couldn't be pushed into the background.

      --
      Video Phone Blogs send video messages straight to the web.
    14. Re:For starters.. by macdaddy · · Score: 1

      I don't know how RH does it but I think it should happen in the kernel. Perhaps it's a function of the bootstrap app like Grub. I'm not sure. Either way I'd expect to be able to disable it if I so choose (like I'm running a server) with a kernel arguement, recompile option, or boot loader preference change.

    15. Re:For starters.. by networkBoy · · Score: 1

      My XP machine gets roughle one reboot a week. Still a far cry from the months of uptime expected from *nix though.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    16. Re:For starters.. by Zorilla · · Score: 1

      I just killed my SuSE linux install's filesystem that way several hours ago because I had to power off due to KDE flagrantly crashing. Now I'm bored out of my mind at work because I can't pull files off of my home machine from here or SSH into it.

      It would have helped had I actually been using a journalised filesystem. I wanted to upgrade to ext3 or ReiserFS, but there was no easy path to get there without losing my files and reinstalling the whole OS.

      Oh well, I was about to replace it with Debian unstable anyway.

      --

      It would be cool if it didn't suck.
    17. Re:For starters.. by Anonymous Coward · · Score: 0

      > On the other hand, Unix wasn't really intended to be booted every day, e.g. the way XP is*. (MS intentionally made sure the boot up was very fast, running things side by side and some other tricks.)

      I don't much care if it's every day or not - but when I'm restarting my main fileserver, it want it up NOW, fast as is possible. The fact that it won't be restarted for another few years is irrelevant to the need for a fast-as-possible startup right now due to a mid-day crash.

    18. Re:For starters.. by harrkev · · Score: 1

      Well, some people (me, for instance) don't leave my machine on 24/7. I turn it on when I need it, and turn it off when I am done. That saves electricity, heat, and noise.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    19. Re:For starters.. by Zorilla · · Score: 3, Interesting

      Right, but most use the framebuffer kernel extension. That's just a really basic means of getting it done. What you get is a difficult-to-configure screen that's always at 60Hz.

      Fedora actually reads your xorg.conf and utilizes the X video driver being used by your system and runs at the same resolution and refresh rate. It looks really slick if you ask me.

      --

      It would be cool if it didn't suck.
    20. Re:For starters.. by nocomment · · Score: 1

      Well why not figure out how to recover from that crash, and then install debian? No harm is learning new stuff. If you are on ext2 boot from a floppy and fsck it. :-)

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    21. Re:For starters.. by Anonymous Coward · · Score: 0

      How about, uh, you know, actually loading multiple things at once instead of waiting for some service to take its time to start

      I agree. It would be cool if we could have something like a Makefile, where we can specify dependencies.

    22. Re:For starters.. by kmmatthews · · Score: 2
      far cry from the months of uptime expected from *nix

      Didn't mean to intone that XP has to be rebooted often, just that it's very optimized for booting - as many people turn thier computers on and off as they start and finish using them.

      --
      feh. stuff.
    23. Re:For starters.. by mikeee · · Score: 1

      Unfortunately, I didn't save the link, but some clever lunatic rewrote his initscripts into makefiles (!) actually working out what depended on what and running all sorts of stuff in parallel - the kernal just launched "make boot" instead of initd. It made quite a bit of difference, IIRC.

    24. Re:For starters.. by Anonymous+Custard · · Score: 1

      Uptime is good for servers, fast shutdown/startup is good for desktops. Most people don't keep their PC's on all the time.

      Can linux hibernate?

    25. Re:For starters.. by pe1chl · · Score: 1

      SuSE Linux has both these features.
      Parallel startup is nice until you want to debug something and turn it off.
      Graphic progress bar display instead of boring scrolling text is good for desktop use, but is also something I usually disable and never re-enable later.

    26. Re:For starters.. by OmegaBlac · · Score: 1
      On another note, I'd like to see other distros do what Red Hat is doing to Fedora's boot screen: Using X resolutions for the startup. Damn, that looks nice! Thought it would be even nicer if the pointless resolution change between bootup and main X server startup was eliminated (it's usually the same res anyway).
      Ah you must be refering to the bootsplash and framebuffer stuff. Its pretty simple to add this yourself if you know how to patch and recompile kernels. Just do a google/linux search for bootsplash and framebuffer.
    27. Re:For starters.. by kfg · · Score: 1

      That is a nice touch. I can't honestly say whether anyone else is doing that or not, because the first thing I do with a distro that boots in graphical mode is edit inittab to start in run level 3. :)

      But then I usually start my day doing work at the command line for an hour or so, and only start X when I actually have something important and inherently graphical to do, like play Asteroids.

      YMMV, I'm not a command line Nazi, just a proponant.

      KFG

    28. Re:For starters.. by networkBoy · · Score: 1

      Can linux hibernate?

      Better than my T40/XP combo. It is accepted that when using the platform in a "high security" *cough XP* configuration that when exiting from hibernation there is a non-zero chance that the password for the IDE drive will be scrambled and you will have lost all non-backed up data on that drive.
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    29. Re:For starters.. by csimpkin · · Score: 1

      The option 'rhgb' (red hat graphic boot or something)is passed from the bootloader to the kernel. Just remove it from the appropriate .conf file.

    30. Re:For starters.. by Erik+Hensema · · Score: 2, Insightful

      200 MB is peanuts for modern disks. Takes them about five seconds to read it sequentially.

      However, a *lot* of time is wasted doing disk seeks while booting. A few things can be done to stop wasting that time:

      • Do parallel loads of daemons. While daemon1 is loaded from disk, daemon2 is run. However, this could also cause extra seeks so this could be sub-optimal
      • Make a 'recorder' for the seeks done during boot and then defragment the disk to minimize disk seeks. This acually is what Windows XP does AFAIK.
      • Extension of the previous one: first pre buffer the defragmented area into the buffer cache.
      • Create a ramdisk which can be read sequentially, and use the ramdisk to boot the system. Lose the ramdisk when booting is done.

      Also, sometimes utterly useless scripts are run. SuSE for example runs a script at every boot to seek *.rpmnew and *.rpmsave files in /etc. The output from this script is either hidden by the bootsplash image or scrolls off screen rapidly.

      Some daemons could start after the login prompt is shown. This actually doesn't really speed up booting, but it sure makes it feel faster. For example: wait to 60 *after* the boot process is completed to start up daemons like cron, atd, cups, etc.

      --

      This is your sig. There are thousands more, but this one is yours.

    31. Re:For starters.. by Ceriel+Nosforit · · Score: 1

      hought it would be even nicer if the pointless resolution change between bootup and main X server startup was eliminated (it's usually the same res anyway).

      AFAIK, it runs a VGA framebuffer-thing first, but entering userland it starts using your GFX card and needs drivers for that. Can't say about the possibility of using the GFX card right away.
      If I'm wrong about this, please do correct me.

      --
      All rites reversed 2010
    32. Re:For starters.. by tjp · · Score: 2, Interesting
    33. Re:For starters.. by Jason+Hood · · Score: 1

      So you are saying that firefox in gnome now only takes twice as long to load as konqueror does in KDE? KDE also has a smaller footprint (155MB foot for basic KDE install)?

      Not trying to fire up the old arg, just nice to see the facts. This type of performance tuning has been missing from linux for a while. I am glad to see there are people trying improve this area of *nix.

      --
      Are you intolerant of intolerant people?
    34. Re:For starters.. by phazethru · · Score: 1
      XP is tuned to boot all things necessary for user interaction, then continue loading services. And I don't see why Linux users who are concerned with this don't do the same.

      There's nothing that says you cant have sshd,cron, apache,etc boot *after* X and whatever display manager you are using (and their dependencies). Sure the first few minutes of using the machine will be slow if you log in instantly, but it's not a bad quick fix for the impatient, and is exactly what XP does.

      --
      "I am the Black Mage! I casts the spells that makes the peoples fall down!" ~8BT
    35. Re:For starters.. by mikeee · · Score: 1

      I think that was it, thanks! I tried googling, but got a bunch of instructions on how to make boot floppies.

      Somebody mentioned it in a later comment, too. Anyhow, neat idea. It'd be better if you could manage it somehow without breaking LSB compliance... but I'd love to see a major distro go for this.

    36. Re:For starters.. by magefile · · Score: 2, Insightful

      Here's why ... sshd, cron, and apache are vital to what I do. I don't want to sit there wondering if the reason I can't ssh in or access my site is because the machine is still booting or because of some problem with config. Plus, starting services during boot adds to your diagnostic toolkit and stability.

    37. Re:For starters.. by Zorilla · · Score: 1

      Yeah, my next step is booting off the SuSE rescue CD and seeing if I can fsck it from there. It looks pretty hopeless, though, because the automated fsck that runs at boot time fails.

      This is the first time I've actually seen an ext2 filesystem fail to let the system boot up after a forced power-down. Something is different here.

      --

      It would be cool if it didn't suck.
    38. Re:For starters.. by Zorilla · · Score: 1

      Nope, not bootsplash - I'm talking about Fedora actually using the X video driver and taking settings from xorg.conf and using while the system starts up. It looks much nicer since it's not running at 60 Hz like bootsplash always is.

      Now I see why the Fedora way of doing a splash screen isn't really catching on - nobody else can seem to tell the difference between that and the older, crustier bootsplash.

      --

      It would be cool if it didn't suck.
    39. Re:For starters.. by mflinquin · · Score: 1

      alt-sysrq-s-u-b is your friend :)

    40. Re:For starters.. by pdbogen · · Score: 1

      Can linux hibernate?

      Yes. I use software suspend regularly on my laptop. The only downside is that the software clock doesn't re-sync to the hardware clock when it comes back up, leaving the time as the same as when I put it into hibernate.. Annoying.

    41. Re:For starters.. by Anonymous Coward · · Score: 0

      "Suspend" is not "Hibernate". Which one do you mean since you used both terms to refer to a single action.

    42. Re:For starters.. by flithm · · Score: 1

      No no no... to do those fun graphical things they don't load an X server! They simply use the linux console in frame buffer mode.

      This is why the resolution change (even if the res is the same) is necessary. This will likely never be changed. The X server then loads up, and puts the graphics card in its desired hardware accelerated mode (as opposed to the vesa frame buffer mode).

      One solution to this would be to run DirectFB, and their hardware accelerated frame buffer x server! (apprently they even have 3d accel working on some cards, plus true transparency etc). However this is less than desirable.

      If you're interested in learning more about frame buffer console check out the SVGALib project... or cruise the source code to say... mplayer, AdvanceMAME, elinks, or any other project that makes use of the frame buffer for some advanced applications.

      In case you're wondering, you can actually play movies in a linux console (without any flavor of X running) with mplayer! Make sure you compile it with the right options though.

    43. Re:For starters.. by CTho9305 · · Score: 1

      How about, uh, you know, actually loading multiple things at once instead of waiting for some service to take its time to start, therby holding everything else up along the way. That's what the problem seems to be - everything has to load in-line.

      Perhaps you'd be interested in this IBM article which was on slashdot a while back.

    44. Re:For starters.. by Zorilla · · Score: 1

      I actually remember this. Thanks!

      --

      It would be cool if it didn't suck.
    45. Re:For starters.. by OmegaBlac · · Score: 1
      Well I haven't touched Fedora since its first release so I had no idea they were using that. Whether there is eyecandy or better look to the bootup stuff doesn't really intrigue me. I'm happy the way it is.
      Now I see why the Fedora way of doing a splash screen isn't really catching on - nobody else can seem to tell the difference between that and the older, crustier bootsplash.
      Or the majority of users are not interested and/or there is no demand for any implementation of splash screens period.
    46. Re:For starters.. by fimbulvetr · · Score: 1

      Once, I shut mine down hard and it actually corrupted my intel8x0 driver.
      The kernel still loaded the module fine, but the driver wouldn't work.
      As soon as I did a rmmmod intel8x0 (or whatever), make modules_install and modprobe, it worked just fine again.

      Sometimes, if you get really lucky, you can just keep running fsck and you may be able to get yourself to a running state.

      Dont forget fsck -y

    47. Re:For starters.. by Zorilla · · Score: 1

      Holy crap, that's barely do-able with human hands. I think the Wolfenstein 3D cheat was easier to pull off. Anyway, even Ctrl-Alt-Backspace wasn't working during the incident, I doubt whatever that thing is would have helped, though I don't even know what it does.

      --

      It would be cool if it didn't suck.
    48. Re:For starters.. by Anonymous Coward · · Score: 2, Informative

      If you don't know what alt-sysrq does, you probably don't have it enabled.

      If it had been enabled, it would likely have worked, since it is recognized directly by the kernel.

      The s, u, and b are hit sequentially while holding alt-sysrq, so you don't need a third hand to do it. The s causes the kernel to sync the discs, the u remounts your filesystems read-only, and the b causes an immediate reboot.

    49. Re:For starters.. by myz24 · · Score: 1

      I dislike the rhgb alot because it is a waste of resources and now because of bootchart I've found out that it causes an extra 20 seconds of boot time on my PIII500 system. It kills me that X gets started only to be killed and RESTARTED again to run GDM. SuSE and some others do it right with a framebuffer setup AND it covers the entire boot process from the moment the kernel is loaded.

      I also got identical boot times with readahead enabled and disabled.

    50. Re:For starters.. by Tet · · Score: 1
      Either way I'd expect to be able to disable it if I so choose (like I'm running a server) with a kernel arguement, recompile option, or boot loader preference change.

      RH passes the rhgb kernel parameter, which enables the "Red Hat Graphical Boot". Omit that, and you'll get a regular text only boot. You can also control it by changing the line:

      GRAPHICAL=yes
      in /etc/sysconfig/init (as well as controlling how verbose the text boot is, which can come in handy when you're trying to debug a boot time fault).
      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    51. Re:For starters.. by Taladar · · Score: 1

      Don't know about your journaled filesystems but my filesystem checks with ReiserFS need only 2-3 seconds per device even if something went wrong the last shutdown. Hardly worth the effort to put them in the background.

    52. Re:For starters.. by stilwebm · · Score: 1

      Grub can load in graphical mode or text mode, and then load a kernel (any kernel, not just Linux) that boots in any of many text or graphical modes. The kernel must have framebuffer code loaded to boot in graphical mode. This generally doesn't add significant time to the boot process unless you use a high color depth mode on a slow VGA adapter (causing text to take longer to draw).

      Linux can start in any runlevel you specify with kernel parameters. For RedHat, usually run level 3 starts up without loading X Windows. So if you use LILO, add 'append="3"' to your /etc/lilo.conf entry. In GRUB, use [kernel] 3, so '/boot/kernel-2.6.9 3' for example.

    53. Re:For starters.. by Yottabyte84 · · Score: 1
      I wanted to upgrade to ext3 or ReiserFS, but there was no easy path to get there without losing my files and reinstalling the whole OS.


      tune2fs -j /dev/hd??

      will add a journal to an ext2 filesystem.
    54. Re:For starters.. by Anonymous Coward · · Score: 0

      and ruins your uptime

    55. Re:For starters.. by Zorilla · · Score: 1

      P3 500 MHz? Ew..yeah, I'd say skip on the RHGB screen. Actually sounds similar to some people's claims that Windows 95 and 98 started quicker without the 320x400 splash screen showing.

      --

      It would be cool if it didn't suck.
    56. Re:For starters.. by Anonymous Coward · · Score: 0

      but konqi starts faster under KDE as QT/KDE libs / daemons are already loaded when you come to launch it. The horrible bloated XUL beast has no such luck.

    57. Re:For starters.. by Anonymous Coward · · Score: 0

      You are correct, but if you are willing to forgo some advantages of direct GFX card access, you can run X displaying to the same framebuffer, and have no time spent switching.
      The biggest difference this will make is no hardware graphics acceleration, which is unacceptable for some purposes.
      Speed also suffers slightly, but the real place the framebuffer console slows things down is in textmode. For this reason, I avoid the framebuffer. Regular VGA textmode is several times faster, which is really noticeable when, e.g., scrolling through a long file/man page with less. Since I do most of my stuff at a text console, rather than in X, I use a regular vga console at 131*60 characters. (If you are automatically starting X, the only time you look at the text console is during bootup and shutdown, so the framebuffer makes sense to allow progress bar display instead of text messages)
      Hope this helps!

    58. Re:For starters.. by rleibman · · Score: 1

      Parallel?

      Theoretically...If you have one single processor and one single hard drive and one single memory bus... parallel is SLOWER, because it'll take the time it will take PLUS the time it takes multitasking everything. Parallel processing in modern operating systems is good because it a) simplifies designs (tasks can be made to do one thing and do it well), b) makes ui more responsive which is important to those using it and c) gives different apps that all require cpu a chance at it.

      However, if I have a complete process, made up of many tasks, and I need ALL of them to be done as soon as possible, serial is much faster.
      Even with multiple processors, if your tasks are I/O bound, you still have the same problem, a processor may be totally idle while the other one is busy.

    59. Re:For starters.. by CableModemSniper · · Score: 1

      It syncs the disks, umounts them and reboots. Its a kernel level thingamajig, so its more likely to work than ctrl-alt-backspace, but i've still had it fail on me. You have to have magic-sysrq enabled in your kernel for it to work.

      --
      Why not fork?
    60. Re:For starters.. by Anonymous Coward · · Score: 0

      > 200 MB is peanuts for modern disks. Takes them about five seconds to read it sequentially.

      Good of you to remember that not everyone in the world has absolutely up-to-date equipment, or you'd wind up looking really foolish to a global audience.

      ...oh, wait...

    61. Re:For starters.. by macdaddy · · Score: 1

      Interesting. I'll have to remember that. I don't have any RH boxes with heads at the moment. All of my servers are headless. I don't even export X. ;-) I'll keep this in mind anyhow. Thanks

    62. Re:For starters.. by Anonymous Coward · · Score: 0

      > Whether there is eyecandy or better look to the bootup stuff doesn't really intrigue me. I'm happy the way it is.

      Then don't use a bootsplash screen at all. If you are going to use one, however, wouldn't it be nice to get it right instead of relying on slow wasteful crummy looking hacks like fbcon?

    63. Re:For starters.. by The+FooMiester · · Score: 1

      In my world, the power button is an absolute. It is wired to the power supply directly, not hooked to the motherboard. When I want my computer off, I want it OFF. When I want it to shut down, I'll run halt my damn self.

      Buttons like that are supposed to be absolute. I don't want to wait for 30 seconds while my harddrive is on fire and realize that the system ISN'T off yet because there's a mutt session that doesn't want to close, then going and finding the right power cord to pull while all this is going on.

      --
      The previous has been a secret message to my comrades.
    64. Re:For starters.. by LnxAddct · · Score: 1

      Agreed, it is very nice indeed.
      Regards,
      Steve

    65. Re:For starters.. by renoX · · Score: 2, Interesting

      Yes, but now Unix is installed on laptops.
      So it'd better boot *fast*.

      As an aside, those 'fast boot time' makes me laugh: with a Celeron333, on BeOS I was able to boot from BIOS (when the BIOS "starts" the OS) to a usable graphical desktop within less than 20s (14s if memory serves)!

      XP boot time while smaller than Linux's one is not especially great as the desktop is not usable at the beginning..

      I'd really like to have Linux kernel + KDE (or Gnome) boot under 20s, but I'm not dreaming :-( :-(

    66. Re:For starters.. by sploo22 · · Score: 1

      Create a ramdisk which can be read sequentially, and use the ramdisk to boot the system. Lose the ramdisk when booting is done.

      That seems to me the most straightforward way of doing it. I guess one way would be to group all the GNOME files under one directory, mount the ramdisk read-only over that directory and unmount it when finished. The only problem is, this could only be done effectively with read-only files, otherwise everything would have to be copied back to disk which leads to synchronization and atomicity problems. Anyone else have better ideas?

      --
      Karma: Segmentation fault (tried to dereference a null post)
    67. Re:For starters.. by Nailer · · Score: 1

      Thought it would be even nicer if the pointless resolution change between bootup and main X server startup was eliminated (it's usually the same res anyway).

      That's not a resolution change: the whole display server restarts. This might be due to having to change from running on a read-only filesystem to a read-write one.

    68. Re:For starters.. by Xyde · · Score: 1

      Why should it have to shut down just because it's on a laptop? is ACPI really that bad? I never shut down/restart my powerbook. I honestly can't remember the last time I actually shut it down, as opposed to just putting it to sleep.

    69. Re:For starters.. by Tet · · Score: 1

      If X isn't selected at install time (and it really shouldn't be on a server), then RH doesn't add the rhgb parameter, and defaults to a text only boot anyway.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    70. Re:For starters.. by Antique+Geekmeister · · Score: 1

      And how about putting a bullet through the NIS startup tools? Those require a lengthy delay loop because the network port is not necessarily up yet. You can shave 15 seconds or so off your boot time by integrating the ypbind and autofs init scripts into a single tool that runs in the background and loops until the network is up, then runs ypbind and the automount daemons.

    71. Re:For starters.. by macdaddy · · Score: 1

      I generally install it, even on servers, and even though I don't plan on using it. On a rare as hell occasion I sometimes find myself sitting in a server farm performing some critical maintenance and without a function laptop or desktop. On these extremely rare occasions I may be forced to fire up X to go after a patch or check on the status of a trouble ticket (which can't always be done with Lynx). That and I'm pretty sure I've run into dependancies where I had to install some X library to get some software package to compile or install, even though I only intended on using the CLI version. I'm trying to think of specific names but none are jumping out at me. Installing the individual X-specific library usually isn't an option because they tend to require more X libraries. I liken it to breeding rabbits. The point is I found it was easier to let the installer waste my drivespace with all the various X fluff than spend more time trying to work around the lack of the X fluff. I used X about a month ago for the first time in probably 2 years. I wonder what version it will be on the next time I have to use it....

    72. Re:For starters.. by Sweetshark · · Score: 1

      Theoretically...If you have one single processor and one single hard drive and one single memory bus... parallel is SLOWER
      ... in theory. In a real enviroment this is different, because you are waiting for different resources: apache reading its conf from HD, NTP waiting for the server reply and sshd doing some numbercrunching to setup keys all need different resources (HDD,Server on net, CPU).

    73. Re:For starters.. by elgaard · · Score: 1

      If you have CPU bound job followed by I/O bound job,
      they will execute faster if they run in parallism.

      Several I/O bound could also execute faster if executed in parallel, e.g. jobs reading from different disk or even the same disk with I/O scheduling.

    74. Re:For starters.. by sparkz · · Score: 1
      And assume that everyone has 200MB of physical RAM available, after the kernel is loaded.
      What about those of us without 256Mb RAM?
      And people wonder why non-Linux people talk about scalability; Linux can run on micro-machines as well as high-end hardware. This "x86 desktop pc" mentality doesn't threaten Linux itself, but creates a drop-down effect in that F/OSS projects centred on Linux don't take into account the extremely-small or extremely-large machines it could potentially be run on (64-bit awareness of random sf.net projects is my personal bugbear).

      PS. My 32Kb BBC Micro booted in less than 2 seconds from ROM!

      --
      Author, Shell Scripting : Expert Re
    75. Re:For starters.. by IpalindromeI · · Score: 1

      I'd be surprised if it was a kernel or bootloader option. Usually it's just another init'd process to load your graphical login screen.

      --

      --
      Promoting critical thinking since 1994.
    76. Re:For starters.. by Ceriel+Nosforit · · Score: 1

      Sure does. Thanks. =)

      --
      All rites reversed 2010
    77. Re:For starters.. by renoX · · Score: 1

      And? You're lucky, that's all, many people cannot use this feature, yes ACPI is quite often bad.

      Also, Unix station has moved from 'server room' to bedroom, so if you want to sleep you'd better stop it at night. "Yes but I've a fanless station/room for putting it where I can't hear it, etc", lucky you, now maybe you could have a little consideration for those who have not?
      Fast boot is important.

    78. Re:For starters.. by sirReal.83. · · Score: 1

      It's not just reading your config files, it's spawning a full-fledged X server. That causes a large amount of the delay, in fact.

    79. Re:For starters.. by sploo22 · · Score: 1

      I agree that this isn't a good idea for everybody. I was just thinking of setting it up on my laptop to experiment with. :)

      --
      Karma: Segmentation fault (tried to dereference a null post)
    80. Re:For starters.. by ant0ine · · Score: 1

      What about Linux on laptops, suspend to disk don't work out of the box on every distibution, so i think boot process optimisation is important.

  6. Mirror by kmmatthews · · Score: 1

    To reply to my own post, http://64.233.167.104/search?q=cache:A3PMVcmM0kIJ: www.klika.si/ziga/bootchart/+&hl=en, a google cache. Err, not very useful, no graphics and only a minor explanation, but..

    --
    feh. stuff.
    1. Re:Mirror by Anonymous Coward · · Score: 0

      I got goatse the first time i clicked it but not the subsequent two. Careful, its a low percentage redirect.

    2. Re:Mirror by Anonymous Coward · · Score: 0

      http://prdownloads.sourceforge.net/bootchart/bootc hart-0.5.tar.gz?download

    3. Re:Mirror by Anonymous Coward · · Score: 0

      Let me get this straight: after seeing that a link went to goatse, you proceeded to click it two more times?

    4. Re:Mirror by Anonymous Coward · · Score: 0

      Your damn right i did. I have it as my desktop background as a matter of fact.

  7. done already? by g_braad · · Score: 1

    and the graph shows: WinNT has the slowest reboot performance :P

    --
    F/OSS & IT Consultant
    1. Re:done already? by Anonymous Coward · · Score: 0

      Post a mirror of the graph, pleeeaassse!

  8. it's up by krautcanman · · Score: 0, Troll

    IIS... HAhahahaha!!!!!11111oneoneoneone

    at least it's up

  9. What we really need by Anonymous Coward · · Score: 2, Funny

    This is all fine and good, but what we really need is kernel boot music, a theme song if you will. Imagine a harmoniously syncronized beowulf cluster.....

    1. Re:What we really need by JPelorat · · Score: 2, Funny

      The Looooove Boooot, da da da da daaaaaa...

      --
      Hokey statistics and ancient misconceptions are no match for a good thought in your head, kid!
    2. Re:What we really need by techno-vampire · · Score: 3, Funny

      One neat way to do this would be to take a Bach fugue and give each box one voice. Not only would you get some fine background music during boot, you'd know if a machine hung during boot and which one.

      --
      Good, inexpensive web hosting
    3. Re:What we really need by Anonymous Coward · · Score: 0

      You must be Canadian.

    4. Re:What we really need by Anonymous Coward · · Score: 0

      da da, de da da, de da de daaaaaa

      surely?

    5. Re:What we really need by Darren+Hiebert · · Score: 3, Interesting

      Oh, man! I had a friend who, years ago, had written a special ROM for a dot-matrix printer to play a Bach four-part fugue by assigning the appropriate frequencies to the the head movements, paper feed mechanisms, and dot-matrix hammers. It was really cool!

  10. Boot visualization? by cmpkilla · · Score: 3, Funny

    Bah! Here's an ascii visualization of your webserver:

    (X_X) <--- Dead in the water

    --
    "Mind over matter: If you don't mind, then it doesn't matter"
  11. Speed by pjf(at)gna.org · · Score: 1

    Regarding boot process - I use swsusp (hibernation to swap space) on my desktop running Linux 2.6.9. Although not working quite reliably yet, speeds up boot 2-3 times.

    --
    echo "getuid(){return 0;}" > e.c; gcc -shared -o e.so e.c; LD_PRELOAD=./e.so sh
    1. Re:Speed by Malc · · Score: 1

      The real savings come with the persistence of state. You can go right back to where you were before you powered down...

      Good to see Linux finally making some progress in catching up with Windows.

    2. Re:Speed by BandwidthHog · · Score: 1

      Although not working quite reliably yet, speeds up boot 2-3 times

      Then what? It wears out or something?

      --

      Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
  12. heh by minus_273 · · Score: 5, Funny

    in case it is slashdotted here is a mirror of the chart.

    Linux ===============
    BSD ========

    --
    The war with islam is a war on the beast
    The war on terror is a war for peace
    1. Re:heh by Ingolfke · · Score: 3, Funny

      The graphic you were looking at did not download completely before the server went AWOL. The complete graphic looked like this.

      Linux ===============
      BSD ========(died)

    2. Re:heh by OmegaBlac · · Score: 0, Offtopic

      Mod Mr.Ingolfke up, that was absolutely hilarious. ;)

    3. Re:heh by Anonymous Coward · · Score: 0

      Really, the BSOD jokes need to die. I've been running XP for 3 years, and never had it BSOD. Lock up, sure. Chug away a ton of memory, yup. BSOD, no. And believe it or not, I'm not the only one.

      Now, I'm sure some asshole is gonna give some anecdote about how he tried using an empty Pepsi can as a modem, and XP BSOD'd on him. And he's right. Use shitty hardware, and you'll probably have problems. Just like Linux would kernel panic.

      So really, get a new gimmick.

    4. Re:heh by Anonymous Coward · · Score: 0

      This in inches or cm?

    5. Re:heh by Anonymous Coward · · Score: 0

      That's because the default for XP is to not show the blue screen, just reboot.

      But on boot, it'll still show them, and they do still happen. And it is usually a hardware issue.

    6. Re:heh by Tim+C · · Score: 1

      "The system has recovered from a serious error"

      Yes, they still happen, but in several years of using both XP and Linux (Mandrake), the two OSes tended to crash about as often as each other - which is to say, almost never.

    7. Re:heh by tpgp · · Score: 1

      Current death toll from Amnesty International's actions in Nepal:9560

      Do you have the slightest piece of evidence you'd like to back that up with?

      Cowardly, Emotional Sigs devoid of any factual information really give me the shits.

      Coward.

      (Your actual post was pretty funny btw)

      -tpgp

      --
      My pics.
    8. Re:heh by Anonymous Coward · · Score: 0

      Do you have the slightest piece of evidence you'd like to back that up with?

      I suspect it's meant to be a joke. You know, making fun of the people who post about the current death toll from US actions in Iraq being over 100,000? As in, what people commonly (if incorrectly) call "irony"?

  13. Coffee Anyone? by rogabean · · Score: 2, Funny

    "The time needed to boot desktop Linux systems is becoming an issue."

    You mean I'm not supposed to have time to make coffee?

    bad joke, but yeah the boot time is getting pretty bad these days on out of the box distros.

    --
    "why don't you just slip into something more comfortable...like a coma!"
    1. Re:Coffee Anyone? by Zorilla · · Score: 3, Funny

      Reminds me of an old Gateway 2000 commercial where a kid is waiting for a computer to start up. It goes through a montage of the kid screwing around in the garage waiting for it.

      "No, Mom! It's still starting!"

      One of my friends had a theory that held true (up until Windows XP) that Windows (and MacOS at the time, this was 1995) was harmonically tuned to boot up just as long as it would take you to get up and take a piss and come back.

      Though some of the Windows 2000 machines here at work make me think I have enough time to take a dump and come back. They're fast, just something is very wrong with them.

      --

      It would be cool if it didn't suck.
    2. Re:Coffee Anyone? by Elwood+P+Dowd · · Score: 1

      Symantec Antivirus.

      --

      There are no trails. There are no trees out here.
    3. Re:Coffee Anyone? by selderrr · · Score: 1

      For reference, my Shuttle XPC with an Athlon64 3500+ (1GB Ram, 7200rpm SATA HD) hot-boots windows XP in 17 seconds flat. a cold boot takes 1 second extra

      My mac G5 (dual 1.8GHz) boot a little slower (25secs) but after boot, remains at 0%, whereas the shuttle keeps humming and buzzing for about a minute (while it is 100% responsive though)

    4. Re:Coffee Anyone? by techno-vampire · · Score: 1
      One of my friends had a theory that held true (up until Windows XP) that Windows (and MacOS at the time, this was 1995) was harmonically tuned to boot up just as long as it would take you to get up and take a piss and come back.

      My theory is that somebody at NanoLimp did a study and found out how long the average user was willing to wait for their computer to boot back in the old DOS days. Then, they tuned DOS to take no longer than that. As computers get faster, they can add more to the boot sequence without taking longer.

      That's part of why computers seem to take so long to boot: they're faster, so we expect the boot to take less time even though it's doing more now. If the box is twice as fast as your old one, but does three times the work during boot, it's not going to boot faster.

      --
      Good, inexpensive web hosting
    5. Re:Coffee Anyone? by Moloch666 · · Score: 1

      Actually my Win2k partition had the same issue. It would get hung with that vga progress bar for a good while. Turned out to be my old cd burner dying. Bought a new burner boots up as quickly as my Gentoo install.

      --
      Understanding is a three-edged sword. -- Kosh Naranek
    6. Re:Coffee Anyone? by Zorilla · · Score: 1

      Computers speed up, software slows down (usually at a greater rate than the computer speeding up).

      It's always taken more system resources to do the same amount of work as was done yen years ago. In all fairness, though, the user experience is much nicer now.

      --

      It would be cool if it didn't suck.
    7. Re:Coffee Anyone? by Anonymous Coward · · Score: 0

      "The time needed to boot desktop Linux systems is becoming an issue."

      :~# uptime
      21:42:22 up 41 days, 17:08, 1 user, load average: 0.14, 0.08, 0.09

      ... I see.

    8. Re:Coffee Anyone? by Anonymous Coward · · Score: 0

      If your Gentoo install boots in a time comparable with your (or any) W2k install, then it doesn't put Gentoo in too favourable light....

      I think only NT4 had a slower bootup.

    9. Re:Coffee Anyone? by rogabean · · Score: 1

      Well noone was saying how long it stays up after boot. I leave mine on all the time, but not everyone does... and when a Windows cold boot time starts to look better then a Linux cold boot time... well time to do some rethinking...

      --
      "why don't you just slip into something more comfortable...like a coma!"
    10. Re:Coffee Anyone? by Anonymous Coward · · Score: 0

      Yeah, but my box re-compiles everything on each bootup. That way I can be sure it's optimal.

  14. it's easy to speed up boot by nocomment · · Score: 5, Interesting

    I added a '&' to my /etc/rc file.
    like so:
    $i start&

    I have been berated a coupdl times in online forum because 'some services might need it to start properly', but I have never noticed any ill effects. My machines now boots in about 6 seconds :-D

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
    1. Re:it's easy to speed up boot by nocomment · · Score: 1

      whoa, that sounded like a 15 y/o wrote that (no offense to 15 y/o's). I meant that some people have said that some services might require others to start correctly.

      As an example I am running dhcp, and apache, yet both services start correctly even though the interfaces are still in the process of coming online. This has smoothed things out greatly for me (ymmv).

      FWIW I'm running Mandrake.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    2. Re:it's easy to speed up boot by someguy · · Score: 1

      Does that really work, or is this just a troll?

      --
      A planet where apes evolved from men? Long live the apes.
    3. Re:it's easy to speed up boot by sgtrock · · Score: 1

      Gentoo's startup scripts that reside in /etc/init.d explicitly list dependencies. I wonder if there would be any headaches using your trick for that distro? I can't see how. I'll have to try it out.

    4. Re:it's easy to speed up boot by nocomment · · Score: 1

      nope it really works...all my services start up at the same time now.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    5. Re:it's easy to speed up boot by i.r.id10t · · Score: 1

      be easy enough to use a touch file somewhere that other processes could use to check to see if something they depend on is up and running properly yet. If it isn't there, sleep for a second or two and check again...

      --
      Don't blame me, I voted for Kodos
    6. Re:it's easy to speed up boot by pe1chl · · Score: 1

      SuSE has had this parallel startup for some time, using the listed dependencies.
      It is usually the first thing I turn off after an install, but someone caring about startup time will love it.

    7. Re:it's easy to speed up boot by Drantin · · Score: 2, Interesting

      placing an ampersand (&) at the end of a command in a *nix system (maybe it's shell dependant? iono) causes the process to run in the background. If you do this in a tty/vterm you can continue using the same one instead of switching to another (you can also just use screen for that...)
      One thing that may cause problems is that when the login prompt comes up some services aare still initializing so you may have to wait a bit before accessing any of the servers, for instance your http://localhost for apache/mysql based homepages and such... you may also still have alsa loading up back there if you're using a 2.4 kernel or not using the one in the 2.6 kernel so sound won't work for a few minutes (or it may try to turn up the volume before alsa starts...)

      There are a multitude of things that *can* go wrong with this, but if you just do it for things that have no other dependancies just waiting a few moments before using anything else after logging in you should be OK...

      --
      Actio personalis moritur cum persona. (Dead men don't sue)
    8. Re:it's easy to speed up boot by macdaddy · · Score: 5, Insightful

      I can think of a number of examples where this would fail but on the average desktop I don't think this would be much of a problem. Servers on the otherhand have to have certain processes started for others to start correctly. MIMEDefang and Sendmail for example. Sendmail and OpenLDAP. PgSQL and OpenLDAP. All the various NFS goodies and any server processes that require something off one of the NFS-mounted volumes. Still I can think of dozens that can and should be started in parallel. I can't think of any ill-effects of starting a number of processes that come to mind in simultaneously. I'll have to give that a try sometime. Maybe the init process should have a Next Generation version that allows you to specify what is absolutely required by a process to start correctly. init-ng can then decide what it can start in parallel based on that. Sounds like a project to me. :-)

    9. Re:it's easy to speed up boot by rolfpal · · Score: 1

      I just tried it, seems to work OK. Ubuntu, on a 2.4 gHz p4 shuttle.

      I didn't time my boot times to compare, but it seems to speed it up quite a bit. Reiserfs takes a long time to get ready on my system tho. Next time I reformat, perhaps I'll go back to ext3

      --
      nothing is real
    10. Re:it's easy to speed up boot by nocomment · · Score: 1

      The only thing I've noticed is that if I use a console login right away I might get a couple of errant [OK] messages that belonged to whatever service just finished loading. FWIW I wouldn't try this on a real production server. Of course I tent to use OpenBSD for those anyway :-)

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    11. Re:it's easy to speed up boot by Zocalo · · Score: 4, Insightful
      The correct answer is that it works, but... As the original poster noted there are some dependencies within in the plethora of Linux daemons, and YMMV. For instance some SMTP and HTTP configurations require that DNS is available, so if you are also running your own DNS one the same box then you might have a problem. Realistically of course this scenario *should* mean we are talking about home servers only, but there are some really crappy (V)ISPs out there...

      Still, it's a nice thing to experiment with for people who run Linux in situations where reboots are common, laptops for instance. It's also useful if you are running something like Nessus as a daemon which takes an *age* to initialise itself and obviously has no dependencies. A better solution would be to have an additional prefix on certain init scripts - "P" for "parallel" - to tell INIT that they can safely be started in the background, something that a couple of commercial Unicies do.

      --
      UNIX? They're not even circumcised! Savages!
    12. Re:it's easy to speed up boot by nocomment · · Score: 1

      My system is a 3G Athlon (Barton core) and I literally have a control of the system within about 10 seconds after lilo loads.

      I like ext3 a lot. My main reason for ext3 is that if something goes really really sour, you can boot from a floppy and mount it as ext2.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    13. Re:it's easy to speed up boot by nocomment · · Score: 1

      eh, yes and no. I sort of agree with you, but if you have problems during the day and have to restart the DNS service the mail service should be able to handle that gracefully. So in theory a couple seconds when the machine is first booting shouldn't be any big deal.

      I like you idea for P though...hmmm

      Thinking....

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    14. Re:it's easy to speed up boot by Anonymous Coward · · Score: 0

      And when your system crashes, those files are still around. Unless you put them in /proc...

    15. Re:it's easy to speed up boot by nocomment · · Score: 1

      I t certainly does sound like a project. Wanna work on it? I've been brainstorming since this thread popped up.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    16. Re:it's easy to speed up boot by mboos · · Score: 1

      Just follow this tip and it will do it automatically for you.

      --
      --Mike Boos
    17. Re:it's easy to speed up boot by wowbagger · · Score: 1

      Better still would be for needed services to make some form of command available to test whether they are up yet.

      Then, should init script "foo" need "bar" running, then inside foo it could do something like:

      if Wait_for_bar --max_wait 60; then foo init; else echo "ERROR" ; fi

      Also, It Would Be Nice If init could capture stdout/stderr on all the init scripts, and in the cases of scripts that exit with a non-zero result (or don't exit after N seconds) show that script's output - so that running multiple scripts in parallel would not get the output streams confused.

    18. Re:it's easy to speed up boot by runderwo · · Score: 1
    19. Re:it's easy to speed up boot by Zocalo · · Score: 2, Interesting
      The problem that I was alluding to with not having DNS available is down to the initialisation of the daemons. Specifically, when a daemon needs to bind itself to an IP, but that IP address is specified as a hostname in the config file. No DNS, means there is no way of getting an IP, so the daemon fails to initialise properly, if at all. I've actually seen this happen with a *very* popular distro: Apache was started before DNS, and the HTTPS server was configured by name, which caused the daemon to start on port 80 OK, but fail to bind to port 443. Once things are all up and running, then things are much more forgiving of services being restarted, or even totally absent for a limited period of time.

      As to "P" - I did have a play around with "/etc/rc" some time back and managed to get things working very easily. It wasn't that tricky really: I just needed to replace (this is from Fedora) "for i in /etc/rc$runlevel.d/S*" with "for i in /etc/rc$runlevel.d/[PS]*" then add an extra "if...else...fi" conditional to add the extra apersand to those init scripts that were safe to start in parallel. However, those natty little coloured status indicators next to each daemon are bit of a problem - I took the easy way out and returned "OK" as soon as I'd run "some_daemon_init &", but ideally you would want to have a proper confirmation that the daemon was up and running.

      Personally, I only reboot my Linux boxes once in a blue moon, or after a kernel update (which is pretty much the same thing) so the time saved (maybe a minute, tops) wasn't worth the effort. Plus you can get some "interesting" issues if you ever upgrade your initscripts and forget to restore your personalisations - you have been warned! Currently, I just use the standard non-parallel init scripts with the sole exception of NessusD which I'll parallelise by hacking its specific init script directly, provided that I remember to do so after each upgrade. Speaking of which...

      --
      UNIX? They're not even circumcised! Savages!
    20. Re:it's easy to speed up boot by nocomment · · Score: 1

      ahhh Ya I can see that scenario.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    21. Re:it's easy to speed up boot by Taladar · · Score: 1

      And why would you use a ten year old boot floppy without support for modern filesystems?

    22. Re:it's easy to speed up boot by tolan-b · · Score: 1

      Just tried that on FC3, worked like a charm.

      Skype died just after being launched, as did gnomes skinning thingy, but thats probably because i have a bit of a hacky way of launching the skinning in evolution (launch the gnome theme chooser).

      neat overall...

      someone's just told me that there's a package that basically does this, but respects service dependancies.. going to have a look on freshmeat / sourceforge for it now..

    23. Re:it's easy to speed up boot by pgiri · · Score: 1

      Here is what I use with little side effects. This is for Debian.

      1. Moved /etc/init.d/rc to /etc/init.d/orig_rc
      2. Created /etc/init.d/rc as:
      #!/bin/sh
      if [ "$1" -eq 0 -o "$1" -eq 6 ]; then /etc/init.d/orig_rc $*
      else
      nohup /etc/init.d/bgd_rc $* &
      fi
      3. Created /etc/init.d/bgd_rc as:
      #!/bin/sh
      PATH=/sbin:/bin:/usr/sbin:/usr/bin
      runlevel=S
      prevlevel=N
      umask 022
      export PATH runlevel prevlevel
      exec 1>&2
      echo "1" > /proc/sys/kernel/printk
      : > /etc/hotplug/net.enable
      nice -n 19 /etc/init.d/orig_rc $*
      echo "7" > /proc/sys/kernel/printk
      if [ -f /nohup.out ]; then
      mv /nohup.out /var/log/console.log
      chmod 644 /var/log/console.log
      fi
      4. Moved some of the time consuming and unnecessary for _my_ startup from /etc/rcS.d into /etc/rc2.d so they start early in rc2.d; e.g., moved /etc/rc2.d/S36disover to /etc/rc2.d/S036discover and /etc/rcS.d/S40hotplug to /etc/rc2.d/S040hotplug. Note S40 -> S040 so dependencies of files in /etc/rc2.d are maintained.
      5. I also installed mingetty so it logs me in automatically on VT 1, but this is in general not a good idea.

      With all this, I get prompt almost as soon as init is started. All time taking tasks, such as pcmcia, hotplug etc. are run in the background after logged in.

    24. Re:it's easy to speed up boot by Anonymous Coward · · Score: 0
      Why not just use the number after the "S" and the "K".

      That way
      "S01firewall"
      would
      start before
      "S50httpd"
      yet
      "S50httpd"
      and
      "S50samba"
      could start in parallel (after wait()ing for S49*)
    25. Re:it's easy to speed up boot by hackstraw · · Score: 1

      A better solution would be to have an additional prefix on certain init scripts - "P" for "parallel" - to tell INIT that they can safely be started in the background, something that a couple of commercial Unicies do.

      A simpler solution would be for the SxxDaemon symlinks in the proper runlevel to have the same xx to mean that all of these can be started in parallel.

      so you can have in /etc/rc3.d something like:

      S10sysklogd@
      S11klogd@
      S12iptables@
      S14ppp@
      S19nfs-common@
      S20exim@
      S20inetd@
      S20lpd@
      S20m akedev@
      S20mysql@
      S20nfs-kernel-server@
      S20ssh@
      S20xfs@
      S89atd@
      S89cron@
      S99gdm@
      S99kdm@
      S9 9rmnologin@
      S99xdm@

      So the S10->19 will start sequentially, and all of the S20s will start in parallel, all of the S89s will start in parallel, and the S99s will start in parallel. I didn't check if this made sense for these daemons, but you get the drift.

      Unfortunately, RedHat thought it was cute in 7.0 I believe to put the groovy green OK and the red FAILED crap on your screen and this would make no sense to have this parallalized, but being that it makes no sense to put the red and green stuff there anyway since you rarely can read the output from startup because a) your machine is headless or b) it boots too quickly to even see what had failed.

      While I'm dingin RH for this junk, I don't know if this has been fixed, but I've found that doing: ssh HOST /etc/init.d/service restart does not work with some services because of some 'I need a tty to start a service' requirement or something. I've found that some services can just hang, but by doing ssh HOST '/etc/init.d/service restart < /dev/null >/dev/null' works with much more typing, and no output to the user (me).

      I also thought of using make for initscripts becuase it 1) it can be parallel with -p and 2) make is meant for stuff that has dependancies. But being that I typically reboot linux boxes so infrequently, its not worth my time to do anything to the boot process.

    26. Re:it's easy to speed up boot by nocomment · · Score: 1

      post it here if you find it...

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    27. Re:it's easy to speed up boot by nocomment · · Score: 1

      cuz a kernel with ext3 support is too big for a floppy. You could use a live CD if you wanted, but I just like the fuzzy feeling feeling I get knowing I *can* mount it ext2 if the need arose.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    28. Re:it's easy to speed up boot by macdaddy · · Score: 1

      I saw that comment (and the one after it with a working link) after my network connection came back to life. That's a hellva good idea. I never thought of using make in such a way. I hardly ever use make. Maybe once or twice a year I spend a few days playing with it. I'll use it to make a series simple tasks easier and then I'll promptly forget about it. That's a fine idea though.

    29. Re:it's easy to speed up boot by Cuthalion · · Score: 1

      Essentially you want your startup scripts to be a makefile..

      --
      Trees can't go dancing
      So do them a big favor
      Pretend dancing stinks!
    30. Re:it's easy to speed up boot by macdaddy · · Score: 1

      LOL. I wish I had the time. I'm wiring a house at the moment and will jump into plumbing, laying down hardwood floors, sheetrocking, painting, and anything else that's required as soon as the wiring is done. Another poster's comment I read seems to be on track though. One of the other repliers also pointed me to it. It's a paper called "Boot Linux Faster" by James Hunt of IBM UK. He used make to speed up his boot time. Good read if that's something you're going to do. He seems to be of a mind to just let the distro makers decide what loads in what order. I think I'd rather see an open source collaborative effort to decide what the default boot order will be. Still I'd rather see the hardcore fundamentals like network, NFS, and syslog brought up first because so many different processes depend on each of them. Beyond that I'd break it down to the individual application level. Have OpenLDAP? Load if after MySQL and/or PgSQL. Have MIMEDefang? Load it before Sendmail. Have ClamAV? Load it before MIMEDefang. Stuff like that. I think this is the most simple way to speed up the boot process. Put the CPU to work and get the box up quicker.

    31. Re:it's easy to speed up boot by Zocalo · · Score: 1
      I'd have to agree that makes more sense from a human point of view - but try looking at it from the point of view of a shell script - /etc/rc in particular. Getting the list of scripts that need to be run is easy -(for i in /etc/rc$runlevel.d/S* ; do ... fi). The problem is within that loop you can't see whether then next value of "i" has the same priority, so you can't tell whether you need to parallelise or not.

      My suggested approach resolves that with a simple change ("S" to "[PS]") and a single additional if...then...else construct to detect the letter. I can think of several approaches that would implement your method, none of which lend themselves to particularly elegant shell script, and most are downright ugly, terribly inefficient, or both! In most cases the stumbling block is checking whether a given priority level is unique or shared, and acting accordingly, in an elegant way. I've got a way of doing it that uses the output from "ls S* | cut -b2-3 | uniq -c" and a pair of nested for loops, but that's only really suitable for an Obfuscated Shell Script competition... ;)

      --
      UNIX? They're not even circumcised! Savages!
    32. Re:it's easy to speed up boot by Anonymous Coward · · Score: 0

      You are a sneaky person. Good for you, and its a good trick to remember for laptops. Given the much greater difficulty of doing the LinuxBIOS to speed up boot times, this is one of those easy tricks that just makes sense.

    33. Re:it's easy to speed up boot by jbridge21 · · Score: 1

      Gentoo boot scripts have dependency information in them already -- however, I'm not sure if their init does things in parallel or not. Shouldn't be too hard to add with all the information already there though. Sample, from /etc/init.d/exim:

      depend() {
      need logger net
      provide mta
      }

    34. Re:it's easy to speed up boot by runderwo · · Score: 1

      It's sort of like using lpd to play mp3 files.

    35. Re:it's easy to speed up boot by tomjennings · · Score: 1

      I run SuSE, 2.6 kernel on a Sony VX 88 laptop that doesn't work with swsusp. I halved my boot time by disabling the following daemons and running this script once up.

      Apparently, lots of people are thinking along these same lines (only devoting more useful brain cells than I :-) I think I'll start looking at this for real...

      foo) echo "Start"
      sudo rcpcmcia start
      sudo rcnetwork start
      sudo rcSUSEfirewall2_final start
      sudo rcsshd start
      sudo rccron start
      sudo rcpostfix start
      sudo rcsane start
      sudo rcxntpd start
      sudo rcresmgr start
      sudo rclpd start
      sudo rcrpmconfigcheck start
      sudo rcalsasound start ;;

    36. Re:it's easy to speed up boot by Eythian · · Score: 1

      There was something on /. ages ago about this, and the Sourcemage distro implemented it. SMGL uses a dependency-based startup, so that it ensures that the correct services have started before it starts the next, but any services for which all the deps have started are started in parallel. Initial tests showed that it didn't help much, but I don't think it was looked into too closely.

    37. Re:it's easy to speed up boot by LuSiDe · · Score: 1

      Sounds plaussible. Use some kind of configuration for this (including some utility which hacks the config file). I was thinking of:

      * X depends on Y by definition.
      * X may depend on Y depending on configuration.
      * X does not depend on Y by definition.

      In the first case, we have to wait. In the second case, we might have to wait which is checked out by the config file. If in doubt, take the secure path (wait). If it doesn't matter much, take the secure path (wait). In the third case, just go ahead, especially if it saves a lot of time.

      Not sure, but i think the most hard aspect of this is the whole framework that daemons depend on daemons and that it might very well depend on the situation whereas the 'config file checker', which might check wether there have to be NFS mounts, fails because its not 'smart' enough or because of modifications by the user or because of some non-popular service.

      I guess its not a very important issue to some, but in some cases it is important. There was also this project which rebooted the Linux kernel while skipping the BIOS, and 'open BIOS' projects which are very fast (FreeBIOS and OpenBIOS IIRC) which also speed up the boot process.

      --
      WE DON'T NEED NO BLOG CONTROL.
    38. Re:it's easy to speed up boot by tolan-b · · Score: 1

      hmm.. not really what i was looking for, but this developerworks article comes with an example of how you'd go about it. you'd still need to set which services depend on which yourself though, but the only problem i've had with this is things depending on networking, so shouldn't be too hard...

      http://www-106.ibm.com/developerworks/linux/libr ar y/l-boot.html?ca=dgr-lnxw04BootFaster

    39. Re:it's easy to speed up boot by lachlan76 · · Score: 1

      Hry now come on..is 15 yr olds dnt hqve trouble typinjg!!!11

      Yes, it was a joke. Not a troll. I can type fine.

      And I would have to say that the grandparent post was *BETTER* than a lot of 15 year olds' posts...definitely beats a few of mine ;)

  15. Re:Unreal. by v_1matst · · Score: 0

    maybe people are actually R'ing TFA first... what a concept :)

  16. Flatline by jabber01 · · Score: 0, Redundant

    I hope the boot-up images are more interesting than the flatline image of the server hosting them.

    --

    The REAL jabber has the user id: 13196
    What you do today will cost you a day of your life

  17. Who reboots? by Neil+Blender · · Score: 2, Insightful

    I reboot every 497 days.

    1. Re:Who reboots? by gniv · · Score: 1

      Lots of people turn off their home machines at night. Granted, the intersection with the set of people running Linux is probably null.

    2. Re:Who reboots? by lukewarmfusion · · Score: 1

      The last time my XP machine needed a reboot was when I had to apply a Window update that required a restart. Now that I think about it, that's really the only time I ever need a reboot - an update or an install.

      I dual boot at home, so I rarely leave it on long enough to see any comparisons between Linux, Win2k and XP.

    3. Re:Who reboots? by Triumph+The+Insult+C · · Score: 1

      i dunno. maybe kernel developers that need to test new kernels?

      --
      vodka, straight up, thank you!
    4. Re:Who reboots? by nocomment · · Score: 1

      497? maaaan, and I thought I was doing well.

      [root@monitor root]# uptime
      11:15:54 up 454 days, 1:42, 1 user, load average: 0.57, 0.43, 0.45

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    5. Re:Who reboots? by macdaddy · · Score: 1
      I reboot because I miss all the red and green (SUCCESS and FAIL) bootup colors. If only someone would make a screensaver of them I could be happy and not reboot. ;-)

      Seriously though I have only one Linux box I shutdown when not in use because it's in my second bedroom and is loud and produces a lot of heat. If it wasn't for that I'd have it on 24/7.

    6. Re:Who reboots? by DigitalRaptor · · Score: 1

      I have a new Dell laptop with 1 GB of RAM and I need* to reboot after running Photoshop, defrag, or any other memory intensive / agressive program.

      It's not that I'm forced to reboot, but everything else is a PIG afterwards until I reboot.

      Same with playing Half-Life 2, it only runs good after a clean boot and nothing else runs at normal speed until I reboot.

      --
      Lose Weight and Feel Great with Isagenix
    7. Re:Who reboots? by dreamchaser · · Score: 1

      Logging off and then on again will do the same thing for you 95% of the time. Try it instead of rebooting next time you want to play Half Life.

    8. Re:Who reboots? by Neil+Blender · · Score: 1

      497? maaaan, and I thought I was doing well.

      497 days is when things can start to crap out due to a 32 bit int measuring processor ticks (or something) wraps around. I just rebooted 4 servers in our data center that were at 493 days. They won't automatically crash, but the likelyhood shoots up a thousand fold (in my experience.)

    9. Re:Who reboots? by Anonymous Coward · · Score: 0

      BAH. Kids.

      # uptime
      12:43:48 up 1489 days, 8 min, 15 users, load average: 4.50, 4.17, 4.01

      # uname -a
      Linux komp 2.2.13 #3 Wed Nov 3 09:47:30 PST 2004 i386 i386 i386 GNU/Linux

      One of these days I'm going to upgrade to the newfangled 2.4 kernel.

    10. Re:Who reboots? by FictionPimp · · Score: 1

      That reminds me of my first exp with a linux screensaver. I was moving from windows to linux and didn't know much, and the screensaver that emulates a system crash came on while I was on the phone with my girlfriend. Oh man did I flip out. Luckly the mouse moved and it was all ok again LOL.

    11. Re:Who reboots? by macdaddy · · Score: 1

      Haha. Yeah, I can imagine your surprise. That reminds me of the joke a few friends of mine and I used to play in college when we worked the helpdesk. We'd take a picture of someone's desktop complete with the desktop icons and Start menu (Apple menu on my case). We'd make that image be the desktop background of course and hide all the menus. There was one guy, Dan, who was quite passionate about his hate for a particular nutty candybar. I don't remember what it was called but it was Nutty Something or Something Nutty. Anyhow someone scanned the wrapper of that candy bar and made it his desktop background. Then they made all the desktop icons look like peanuts. Ah. The good ole days of really stupid pranks. :-)

  18. I saw part of a graphic... by Anonymous Coward · · Score: 0

    Mirroring it here:

    x x
    x x x x
    xxx xxx
    xxxxxxxx
    --------
    boottime

  19. Tried with the IBM enhancements? by earthforce_1 · · Score: 4, Interesting

    http://www-106.ibm.com/developerworks/linux/librar y/l-boot.html?ca=dgr-lnxw82-obg-BootFast

    IBM has published a paper on speeding up the boot process using something like a make to launch things in parallel that are not dependent on each other.

    --
    My rights don't need management.
    1. Re:Tried with the IBM enhancements? by Anonymous Coward · · Score: 1, Informative

      I used a much simpler approach to speed up the boot process: On my RedHat 9 box, instead of starting gdm by init, I made a script in /etc/rc.d/init.d, and a link to it in /etc/rc.d/rc5.d, to start gdm. Gdm is started right after networking is up. Now my login prompt is quickly available while in the background the rest of the bootprocess continues.

    2. Re:Tried with the IBM enhancements? by Rashkae · · Score: 1

      Now *that's* clever.. mod parent up.

    3. Re:Tried with the IBM enhancements? by Derek+Pomery · · Score: 1

      I hate to say this but...
      $ grep PARALLEL /etc/conf.d/rc
      RC_PARALLEL_STARTUP="yes"

      in gentoo

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    4. Re:Tried with the IBM enhancements? by dabraun · · Score: 4, Interesting

      Something like Windows XP has been doing for years?

      XP not only boots processes in parallel - it monitors which sectors of the disk are read during bootup, moves them around so they all sit in order in the same place on the disk as a background process, and prefetches the whole damn thing during subsequent bootups.

      It also does the same thing for application launches - you start an app, it profiles what is read from disk, reorders it, and prefetches it when you run the app again later.

    5. Re:Tried with the IBM enhancements? by mikeee · · Score: 1

      That sounds to me like more trouble than it's worth; just thinking about integrating that with LVM makes my head hurt. Would it really make a significant difference?

    6. Re:Tried with the IBM enhancements? by evanfrey · · Score: 1

      http://www-106.ibm.com/developerworks/linux/librar y/l-boot.html?ca=dgr-lnxw05-obg-BootFast

      --
      :(){ :|:& };:
    7. Re:Tried with the IBM enhancements? by recursiv · · Score: 1

      Yeah, since linux doesn't have it, it probably sucks.

      DEATH TO MICRO$OFT!!@@!

      --
      I used to bulls-eye womp-rats in my pants
    8. Re:Tried with the IBM enhancements? by Anonymous Coward · · Score: 0
      Correct me if I'm wrong but wouldn't it be much faster to maintain a list of files required at startup; you could read the entire thing into memory and then initialise things in parallel.


      That would mean after the system gets to the desktop there wouldn't be any noticable performance hit, Windows gets to the desktop fast but then sits there churning away at the disk for quite a while.

    9. Re:Tried with the IBM enhancements? by Phs2501 · · Score: 1
      You wouldn't have to integrate it with LVM unless you were anal retentive.

      Let's say you had to preload a gigabyte of data. At the default LVM chunksize of 32MB, that's 33 seeks, assuming an unaligned start.

      On an typical hard disk (10ms average seek) that's an average of 0.33 seconds of wasted time. You still win big.

    10. Re:Tried with the IBM enhancements? by njh · · Score: 1

      It's been proposed and implemented a dozen times or more for linux - Andrew Clausen and I implemented one years ago called 'upstart', Rusty Russell presented one at linuxconf.au-2001 in Sydney, and showed how to preroll the block cache to reduce disk time.

      No doubt it was suggested back when sysV boot scripts were first invented.

    11. Re:Tried with the IBM enhancements? by sbergman2 · · Score: 0

      SCO OpenServer 5 has done parallelized boots since the mid 1990's. Seriously.

    12. Re:Tried with the IBM enhancements? by Anonymous Coward · · Score: 0

      I know you will be modded up because you praise MS, but really, what about the parent's point ? More and more people use to LVM, is this still working with it ?

    13. Re:Tried with the IBM enhancements? by paulwomack · · Score: 1

      This article about OsX performance (IIRC) was a slashdot item recently... how soon they forget.

      BugBear

      --
      Ignorance is curable. Stupid is forever.
    14. Re:Tried with the IBM enhancements? by Krellan · · Score: 1

      That's a good idea, but won't it lose the auto-restart feature of init?

      That might be actually a desirable feature, since if GDM crashes, that might be a sign of a deeper problem (misconfigured X server, etc.), and perhaps it would be best just to remain in text mode instead of repeatedly trying to restart GDM.

      Back in the day, if the X server was configured, I've heard that monitors used to be damaged by Red Hat's default behaviour: GDM (and X) starts up, video card enters graphics mode, something goes wrong, X stops, video card returns to text mode, and init repeats the entire process: cheap monitors used to click and hum noisily as they were rapidly forced to change modes in an infinite loop!

  20. Why boot? by xv4n · · Score: 2, Interesting

    You are supposed to leave them boxes on all of the time, like 99.999 % of the time.

    1. Re:Why boot? by Anonymous Coward · · Score: 0

      LAPTOPS, you bunch of morons. Why does everyone assume most users run round-the-clock servers?

    2. Re:Why boot? by Chris_Jefferson · · Score: 1

      Two main reasons.

      1) Unless you are running a server or pirating 24/7, then you may as well turn the computer off. Those things do use electricity you know!

      2) Laptops have to be turned off really (and there are lots of laptops where hibernating doesn't work properly in linux).

      --
      Combination - fun iPhone puzzling
    3. Re:Why boot? by balster+neb · · Score: 1

      Sounds nice, but some objections...

      (1) Quick boots are essential for laptops, where you don't have the option of keeping it on all the time.

      (2) Even for desktops, many people reboot frequently between OSs (eg. switching between GNU/Linux and Windows several times in a day).

      (3) Power outages, or simply switching off your PC when you won't be using it for a period of time, in order to save money. And not everyone likes leaving their PCs on all night.

    4. Re:Why boot? by OmegaBlac · · Score: 1
      You are supposed to leave them boxes on all of the time, like 99.999 % of the time.
      Unfortunately not everyone has the extra funds to run their boxes 24/7 365 days a year. Electric bill would be to high. Not to mention if the boxes are in the same room where you sleep, the fan noise is unacceptable when trying to get some rest.
    5. Re:Why boot? by Anonymous Coward · · Score: 0

      Computers get more wear and tear when first turned on -- especially drives -- than almost any other time, I'd expect. It costs a lot of natural resources to create the items in your computer. I figure you're better off leaving it on 24x7 and using your clean power (hydro, where I live).

    6. Re:Why boot? by CJ+Hooknose · · Score: 1
      Chris Jefferson wrote: Unless you are running a server or pirating 24/7, then you may as well turn the computer off. Those things do use electricity you know!

      You are aware, are you not, that most hard disk failures occur at spinup? If you have a system that gets power-cycled once every month, and a system that gets power-cycled once every day, the first system will last longer. Thermal stress caused by power-cycling can cause hardware failures after a few years. Turn off the monitor or do "xset dpms force off"; the monitor draws more current than the computer. If the computer isn't doing anything for more than half a second, it should start executing HLT instructions, which cause the processor to draw less power than normal instructions.

      Laptops have to be turned off really (and there are lots of laptops where hibernating doesn't work properly in linux).

      Er... why do laptops have to be "turned off really"? My Thinkpad A22p can last for 2.5 days in APM suspend-to-RAM, and it resumes from that in under 10 seconds. Last time I power-cycled the laptop was over a month ago, and it's gone 3 months between power cycles.

      If ACPI/APM suspend-to-disk doesn't work thanks to brain-damaged BIOSes, there's always swsusp, which takes slightly longer to restore than "normal" suspend-to-disk but requires no ACPI or APM support at all. I've never tried this because suspend-to-RAM is all I need, but YMMV.

      --
      Give a monkey a brain and he'll swear he's the center of the universe.
    7. Re:Why boot? by pclminion · · Score: 1
      In other words, we're "supposed" to waste energy? I use my home computer for about 2 hours a day. Leaving the thing on for the other 22 hours a day is a waste of electricity, and it's fucking unethical.

      If you had a sports car, would you leave the engine on 24/7? After all, the thing "never malfunctions" so why the heck would you ever have to restart your car? Pretty much anybody reading Slashdot would agree that doing such a thing is retarded, but when it comes to computers suddenly the energy doesn't matter?

      Just because Linux can run for years doesn't mean it must, or should.

      I think that anybody who leaves their system running when they don't need it is an environmentally insensitive dipshit.

    8. Re:Why boot? by imsabbel · · Score: 1

      You live back in the 80s...
      Modern cpus draw 40-50W while idle alone... especially of they are from intel. Total system draw is 100-200W under load. My nice LCD used 30W.
      Yeah, spinning up once per day (the madness!!! OMFG how could you) may decrease you hd life a few %. Either way, chances are it will never fail, chances are it will fail tomorrow, so always running wont safe you from making backups. So yeah, in 5 years when your hd is worth crap you might have a little more runtime on your HD while you burned a few 1000 kWh to get there. Nice running, ace...

      --
      HI O WISE PRINCE. WHT TOOK U SO DAM LONG?
    9. Re:Why boot? by drooling-dog · · Score: 1
      You are aware, are you not, that most hard disk failures occur at spinup?

      So they say, but... I've been powering down most nights (and rebooting in the morning) for years and years, and my experience with disk longevity has been better than just about anybody I know who runs 24/7/52. In fact, I can't remember ever having a disk failure, at least not in the past 5 years or so.

      Hard to draw any statistical conclusions from anecdotal evidence, but I haven't seen any reason to waste power by staying up every night. My machine lives in a corner of the living room, and the peace & quiet after it powers down is kind of nice...

    10. Re:Why boot? by Monster+Zero · · Score: 1
      Few things can be scarier to a professional admin as rebooting a box that has been up for several years, especially one which has been managed by multiple admins over that time. You may have NO idea what has changed, or if it will even boot. This was certainly much more challenging with the older HP-UX, AIX or Solaris machines than the GNU/Linux machines that most use today, but the point is still a valid one. One such machine I worked on had a 700+ day uptime, but was missing quite a few binaries (accidentally deleted at some point), that was only discovered by rebooting the machine for an attempt at an upgrade. It turned into a time consuming "reload OS from scratch, restore application data and configuraiton, flesh out minor issues for next few days".

      I have worked in several places whos policy was to always use the scheduled monthly maintenance period, if for nothing more than a healthy reboot. Rebooting can sometimes flesh out unhealthy hardware, such as power supplies and harddrives - and you would much rather these items come to your attention at the very beginning of a scheduled downtime than at a random time inbetween.

      Ill argue that a system is never as healthy as when it first boots.

    11. Re:Why boot? by theLOUDroom · · Score: 1

      I think that anybody who leaves their system running when they don't need it is an environmentally insensitive dipshit.

      I think anybody who makes ridiculous blanket statements like that is an asshole.

      Let's say you have electric heat and it's winter. Leaving your computer on 24/7 costs you NOTHING and does NO ADDITIONAL HARM TO THE ENVIRONMENT. All of a sudden, all your reasoning is invalid yert you're still calling this person a dipshit.

      Anyways, holier-than-thou jerks like yourself are just annoying. Do you unplug everything in your house when you're not using it? If not, all those transformers are sitting there buring energy and you're an "environmentally insensitive dipshit." (That includes your TV.... no more remote power on for you.)

      Get a grip. Maybe it would be better if more people turn their PC off during the day, but down act like they dump mercury into the nearest river. People like you do more to HURT the cause of environmentalism than to help it.
      The avergae person thinks:
      "Man, what a nutjob. I don't wanna have a damn thing to do with anything they're involved in. The whole issuse must be blown out of proportion, just like this blowhard's comments."

      --
      Life is too short to proofread.
  21. Mirror of the images by Anonymous Coward · · Score: 0, Informative

    http://www.coattails.net/slashdot/bootchart.png

    1. Re:Mirror of the images by klipsch_gmx · · Score: 1

      http://www.coattails.net/slashdot/bootchart.pngAwe some, man. You even got Timothy to put it in the blurb on the main page.

      One question: if you were going to bait-and-switch the image, why not put up Goatse?

      At any rate, you are a great jihadi. Please, join us in our cause.

    2. Re:Mirror of the images by Nimey · · Score: 1

      Too much to ask for around here, but did the people who modded this up actually load that image?

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
  22. Frustrated by mordors9 · · Score: 1

    I had some really witty comments all made up and ready to go, but since the site is down people might suspect I didn't read the article....

    1. Re:Frustrated by OmegaBlac · · Score: 2, Funny
      I had some really witty comments all made up and ready to go, but since the site is down people might suspect I didn't read the article....
      I thought you knew by now nobody at /. RTFA. Everyone posting here is presumed to have not RTFA.
  23. Can some one visualize slashdotting effect? by cyfer2000 · · Score: 1

    in a chart or a movie, so we can see the change vs. time.

    The scientific importance of this research is that it is a tool to understand DDOS. In case you need something more serious funny.

    --
    There is a spark in every single flame bait point.
  24. cmpkilla visualization? by Anonymous Coward · · Score: 0

    Ballmer -> 8======D~ O: -you

  25. Mirror of Boot Charts by Zermatt · · Score: 0, Redundant


    LI

  26. Quick Link by Roofus · · Score: 4, Informative

    Here's an example image for you to ogle:

    http://people.redhat.com/davidz/bootchart.png.

    1. Re:Quick Link by swiftstream · · Score: 2, Informative

      Unfortunately, it is neither quick nor a link.

      Try this instead:

      http://people.redhat.com/davidz/bootchart.png

      --
      Be a PATRIOT--because the only thing we have to fear is the lack thereof.
  27. Why write something like this in Java? by Anonymous Coward · · Score: 1, Interesting

    Seems like the Heisenburg priciple might come into play at some point.

  28. mirror... kinda by Anonymous Coward · · Score: 0

    EH MIRROR
    (even mirror dot failed at mirroring)

    1. Re:mirror... kinda by Anonymous Coward · · Score: 0

      Another one here :)

      http://www.coattails.net/slashdot/bootchart.png

  29. MOD UP PLEASE by macdaddy · · Score: 0, Offtopic

    He's got a valid point.

    1. Re:MOD UP PLEASE by bob670 · · Score: 2, Insightful

      I sedond the motion, he builds Linux tools but host his work on an IIS server, mod the original post up.

    2. Re:MOD UP PLEASE by Anonymous Coward · · Score: 0

      Who cares? Aside from the fact that Apache httpd and Linux have nothing to do with each other, why can't someone use both OS?

    3. Re:MOD UP PLEASE by bob670 · · Score: 3, Funny
      Where are you posting? This is /., the following always apply...

      1. MS = Evil

      2. IIS always sucks

      3. /.ers are smart enough to know better

      Any admin worth his wages knows better than to use IIS, steaming pile that it is. I know the button monkeys like it because it's easier than all that damn reading and knowledge that Apache requires, but it still sucks. And we could exclude Linux from this anyway (if we chose to), Apache runs on Wintel just fine, amongst many other platforms. That said, if you are here hawking your Linux tools there is something lame about hosting them on IIS.

    4. Re:MOD UP PLEASE by Anonymous Coward · · Score: 0

      Only if you are a close minded bigot. Which you are. Your post initially started off looking like a +5 funny as it was heading towards making fun of the slachdot hive mind. But then you turned out to be serious and actually parodied yourself!

      Truly sad.

    5. Re:MOD UP PLEASE by noselasd · · Score: 0, Flamebait

      Mod fucking original comment down rather. Insightful comments appreciated, not bonehead comments like this.
      Valid, perhaps, but do I need to read $random idiot bashing $random thing ? NO.

    6. Re:MOD UP PLEASE by ptomblin · · Score: 1

      How long have you been reading Slashdot again?

      --
      The next Cmdr Taco duplicate will be ready soon, but subscribers can beat the rush and see it early!
    7. Re:MOD UP PLEASE by Anonymous Coward · · Score: 0

      Not long... He has an eight-digit account number. Don't worry. We'll whip him into shape, or else sentence him to proofing Michael and Timothy's work.

    8. Re:MOD UP PLEASE by Anonymous Coward · · Score: 0

      Note to self: Do not post immediately after taking a long nap, or else you'll probably confuse post IDs and user IDs again and look as lame as a typical /. poster.

    9. Re:MOD UP PLEASE by Anonymous Coward · · Score: 0

      "/.ers are smart enough"? I don't think so! ./ers are to computer science and IT what fans of Britney Spears are to music.

    10. Re:MOD UP PLEASE by walt-sjc · · Score: 1

      Frankly, I find apache EASIER to configure. Try a config file without all the extra comments, examples, redundant settings (setting values to default values) and it's not all that big or difficult to understand.

      If I want to create a virtual host based on the same settings of an existing vhost, cut and paste baby. Done. With IIS I have to keep clicking 100 flippin' options and duplicate my effort. Sorry, IIS is not designed for professional / enterprise use.

      Trying to get back on topic, I find most of the boot time is in the BIOS level startup -- 80%-90% of the time from power on to login prompt. Boot a modern HP server and see what I mean. The kernel portion itself is pretty quick. All the services started after the kernel is done is the second most time consuming portion. It helps to make sure that only needed services are started, and that you order services correctly by when they are needed for your particular application (to minimize downtime in event of a reboot.)

  30. laptop users... by Drantin · · Score: 3, Insightful

    until hibernate features work correctly anyway... and when X locks up and doesn't let you ctrl+alt+f# to another vterm/tty (only had that happen a few times, but it does happen) and you don't have another computer handy to ssh in and fix it...
    and if you have a loud computer near the bed...

    --
    Actio personalis moritur cum persona. (Dead men don't sue)
    1. Re:laptop users... by tarsi210 · · Score: 1

      and if you have a loud computer near the bed...

      Strangely enough, I had this for years and I now find that if I can't hear a computer or other similar white noise I *can't* go to sleep. I've become that used to it.

  31. WTF by kin_korn_karn · · Score: 1, Insightful

    I know I'm going to get troll, flamebait, or redundant, or all three for saying this, but...

    weren't the "your web server can't handle the slashdot load" jokes funny the first 10 billion times they were told? Why the fuck do you people still laugh at that worn out bullshit?

    Yes, if you're linked to from a busy site like /. you're going to get hammered. Why the fuck is this funny?

    And no, I have never been the victim of a slashdotting, I'm just sick to fuck of the first 100 comments on every story being "look at that, the web server burnt up, huh huh huh *drool* *slobber*".

    1. Re:WTF by Anonymous Coward · · Score: 0

      Hi, welcome to Slashdot.

    2. Re:WTF by j0e_average · · Score: 1

      I drool because I have no lips, you insensitive clod!

    3. Re:WTF by Anonymous Coward · · Score: 0

      Probably for the same reason people retell the same jokes in other scenarios - some people DO find it funny. I still get a chuckle at some of them, and what harm do they do? Feel free to ignore them or mod them down if they bother you. I don't see the point of complaining - I avoid south park because I don't care for it's style of humor, but it doesn't bother me that people find it funny.

    4. Re:WTF by Anonymous Coward · · Score: 0

      I thought you would have figured it out by now. The /. community laughs so much because they know that they are doing what they have secretly wanted to do in the first place; hammer a server, any server, with a DOS attack.

      Want a chart to see what the /. effect is? Find a chart of a DDOS attack in progress. It is the same thing. If you want a more life-like visual, stuff uncle Burt so full of twinkies that he explodes this Christmas. Yeah, it makes my geek heart giggle to see him pop every time I think of it. If they would get dates, they wouldn't be so interested in DOS attacks, or the /. effect.

    5. Re:WTF by Anonymous Coward · · Score: 0

      Did your boyfriend forget to assream you today or are you always Mr. Crankypants?

    6. Re:WTF by Anonymous Coward · · Score: 0

      In Korea, only old people laugh at slashdotting...

    7. Re:WTF by Anonymous Coward · · Score: 0
      I know I'm going to get troll, flamebait, or redundant, or all three for saying this, but...
      At the time of this post, you actually have mods for insightful and interesting, which just goes to show that they'll let anyone moderate.

      Plus, the only reason I can think of to put a standard disclaimer (such as yours) as the introductory sentence is that you KNOW that your comment is nothing more than [a] troll/flamebait/redundant. Congratulations, by way of your post, you have just told everyone that you are a standing wiper.

    8. Re:WTF by Anonymous Coward · · Score: 0

      I know I'm going to get troll, flamebait, or redundant, or all three for saying this, but...

      WTF? Why does every troll who doesn't want to get modded down get modded up by admitting they're a troll? Why do /.ers consistently fall for this wornout BS? And why do people who rant against /. traditions get consistently modded up? Like they're being brave spewing trollisms from behind their protective router and monitor glass? Why? Why? Why? (Hey cool, maybe I'll get modded up as well! *drool* *pant pant pant*)

    9. Re:WTF by Anonymous Coward · · Score: 0

      It's not just the "slashdot effect" jokes, it's all of them. Every topic on the main page has all the typical bad /. jokes. The beowulf one, the "will it run/run on linux?", the "all your base..." jokes, making fun of gentoo compiling times, BSOD (very very old) jokes, clippy, porn collection jokes, and now the old korean jokes.

      They're not funny! They're redundant at best. Why do mods keep supporting this shit by modding them up funny?

      I've got nothing against humor, I love the jokes here that are actually funny. But what is wrong with you people? Why do you continue to think that a dumb joke repeated over and over is still funny? Get a god damned sense of humor!

    10. Re:WTF by Anonymous Coward · · Score: 0
      You again? For God's sake, you've already gotten a 50% Insightful on your original post....of course you're getting flamed...let it go! Oh, and next time log in and get that karma.

      BTW...you're still a standing wiper.

    11. Re:WTF by kin_korn_karn · · Score: 1

      takes a real badass to say that as an AC.

    12. Re:WTF by kin_korn_karn · · Score: 1

      stuff like the IN SOVIET RUSSIA thing still allows for some creativity and I've seen some really funny one-liners based on that, but the "huh huh.. server overload... huh huh *devour cheetos*" shit stopped being funny to me about 15 seconds after I read the first one, years ago.

      Oh.. and "geeks can't get girlfriends/get laid" jokes. Those go beyond bad humor into the world of self-fulfilling prophecy.

  32. sheesh. by Baka_kun · · Score: 0

    personally, i dont want a visual boot loader. i want a boot loader that can manage to autoconfigure itself, with that option as defualt, to remove all the annoying errors a newbie gets when installing linux and then removing it because of various reasons.

    1. Re:sheesh. by SenorChuck · · Score: 2, Informative

      I believe you are thinking along the lines of what bootsplash http://www.bootsplash.org/ does. This is nothing similar; it's designed to visualize where performance bottlenecks are located during the startup procedures. But then, after reading all of the other commentary on here, you may have picked up on that fact already. In that case, I apologize for the redundancy.

      --
      A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb
  33. server vs workstation by studboy · · Score: 4, Interesting

    Maybe this is a silly question, but why cant the boot process be optimized for "workstation" type usage? That is: get a usable X login prompt up as soon as possible.

    On my machine, a bunch of random (but useful) things are fired up sequentially, before the prompt appears. Some things are used rarely/not at all, but they're still started. I dont want to disable them, but I dont want to wait for them either. Apache. MySQL. Privoxy.

    Why doesnt inetd start all these things? Apache would get started on first use. Likewise with the other services -- I pay for the startup (once) when I want to use them.

    On a server, it'll be up for forever so starting everything on boot makes sense. For a workstation, the system should be usable as fast as possible; the rest of the services can just as well wait until later.

    1. Re:server vs workstation by crow · · Score: 1

      I completely agree.

      Services should be started at boot time, but the list of what has to be started before you get a login prompt is much shorter than the full list of what you want running. Why should cron or apache need to start before you log in?

      The way to handle this is to take something like the dependencies in the init files that Gentoo has and extend it to specify whether the service should be started before command-line prompts (and separately X-login prompts) should be started. File systems must be mounted first, syslog needs to be up, and if you're running NFS or NIS, those services need to start.

      The key is to figure out the dependencies and find a good way to express them in the init scripts.

    2. Re:server vs workstation by Anonymous Coward · · Score: 1, Informative

      I use two runlevels for this reason..., in my laptop runlevel 2 means X11 but no network, no servers, ... it is amazing how fast starts in runlevel 2. (no fam, thought :-(( but still very useful for presentations, where yo don't want to waste time on booting process)

    3. Re:server vs workstation by Anonymous Coward · · Score: 1, Interesting

      I hate to sound like a troll, but...

      I'm told, often, that winXP "boots so much faster that linux," yet it's my experience that winXP simply pushes the startup thrashing into my login time (if I log on right away - and yes this is on a fresh install). So even though the system "only" takes 15 seconds to boot, I have to wait 2 minutes before the disks settle and the system is really usable.

    4. Re:server vs workstation by Anonymous Coward · · Score: 0

      I always thought this too... but I was using a P3-800.... now with this P4,2.8ghz with hyperthreading, if there is startup thrashing it is not a factor on GUI usability in those first seconds. XP boots damn fast now, really, really damn fast.

    5. Re:server vs workstation by compwiz · · Score: 2, Informative

      That's what the idea here is. The Ubuntu guys, and I'm sure people from other distributions, are currently working on getting boot time to gdm down to a much more reasonable value. Since Ubuntu is meant as a desktop, anything that is not absolutely necessary to use the system is loaded after gdm. Note, though, that this doesn't speed up TOTAL boot time, only time to load the login manager. The problem with this is that you get a false sense of completion (like in Windows), where the system is still very slow for the next 30 seconds or however long it takes to start the rest of the services.

    6. Re:server vs workstation by jubei · · Score: 1

      With proper disk and cpu scheduling, background tasks would not slow you down as much.

    7. Re:server vs workstation by studboy · · Score: 1

      I think that's reasonable. Windows types can get their cup of coffee like they're used to. And I can edit the scripts so that before the boring servers start, I can do "sleep 10*60" or something. I can log in and do useful stuff, and servers will start in the background whilst I'm checking email.

    8. Re:server vs workstation by greed · · Score: 2, Informative
      inetd works by connecting to a program's stdin and stdout, so it launches each time there's a connection on the port. That's fine for some things, but anything with a lot of small transactions will really hammer your system. So http is best as a long-running daemon.

      Now, all that aside, there's no reason why you couldn't do this, right now, with tools you already have. (Note: This hijacks runlevel 4 for a completely different use; if you modify chkconfig to work with more runlevels, you could avoid that.)

      Put a line like this in /etc/inittab:

      bg:35:once:/etc/rc.d/rc 4

      (I'd recommend deleting the existing runlevel 4 script too.)

      Now use chkconfig to turn everything off in runlevels 3 and 5 that should be started "late":

      chkconfig --levels 35 httpd off

      This isn't perfect, and redirecting the output of rc is probably a good idea. Also, it might be better to just remove the daemons in question from the old runlevels. And I haven't looked into the shutdown behavior.

    9. Re:server vs workstation by maskedbishounen · · Score: 2, Interesting

      Yep. That's exactly what XP does.

      It allows you to "start" while still in the process of loading things. Depending upon the speeds of certain components in your box, you may or may not notice this. Most of us do, and scratch our heads why.

      The boot -> login time is quite low, but "usability" time still quite high; especially on slower boxes that don't do well multi-tasking. It's more or less to present the impression of speed that isn't actually there. If you don't login right away, it looks all that much better.

      As Linux is often known for being the poor man's *NIX, I don't see how any type of parallel loading like XP uses would solve anything. High end usually goes with gaming, which (sadly) goes with Windows. Maybe it's just me, though. Like always.

      --
      "An infinite number of monkeys typing into GNU emacs would never make a good program."
    10. Re:server vs workstation by studboy · · Score: 1

      thanks -- that's exactly what I was looking for!

      I'd forgotten inetd grabs the I/O. Drat. I'll have to write a little workaround for "start server on port access"...

      (and: for a personal webserver, inetd vs apache isnt much difference. Especially if you use micro_httpd or something.)

    11. Re:server vs workstation by jejones · · Score: 1

      In the immortal words of AOL users, "me too." I have to use XP at work, and I find that yes, I get my desktop right away, but it takes another minute or so of intense flailing away at the hard drive before XP will deign to notice my clicking on anything.

    12. Re:server vs workstation by prefect42 · · Score: 1

      Troll? Cron and apache are good examples of things that need to be started independently from the user. What if you don't login at all? Do you really not want cron/apache running?

      --

      jh

    13. Re:server vs workstation by Dogers · · Score: 1

      cron yes, apache.. server yes, workstation no. If its a workstation, it really only ought to be used when needed!

      But hey, its linux, it should be configurable! :)

      --
      I am a viral sig. Please copy me and help me spread. Thank you.
    14. Re:server vs workstation by Anonymous Coward · · Score: 0

      Maybe this is a silly question, but why cant the boot process be optimized for "workstation" type usage? That is: get a usable X login prompt up as soon as possible.

      That's what XP does. That's why it boots so fast!

  34. Bah. by tarsi210 · · Score: 0
    A few things:
    1. First of all, if you run Linux, you're not booting much. What...rebooting maybe once a month? Kernel releases, etc. Otherwise, the machine runs and runs and...well, you get the picture. So who cares about boot time then?
    2. Boot time doesn't have to be an arduous wait. Yes, on out-of-the-box distros it can be incredible, but I blame the distro, not Linux. Shit that takes time is the stupid scripts to auto-configure everything and your dog (who is USB 2.0 compatible now). Anyone worth their salt will fiddle with options until what they need is all they have.
    3. If you choose to not fiddle, then you choose to have boot times that are increasing. It takes time to autoprobe everything correctly and get it set up if you're too lazy to do it yourself. Windows does it from the perspective of 'throw everything in there and take up gadzillions of RAM'. Linux says, 'I'll autosetup everything but still keep you lean'. You pay for what you get, folks.
    4. People who run IIS and then subject it to a /.ing should be drug into the street and shot for being an idiot. Twice.
    1. Re:Bah. by stoolpigeon · · Score: 1

      I have to shut down my lap top a lot. I agree with your other points-- and I don't mind the wait, but there's a good case for needing to boot up regularly.

      --
      It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    2. Re:Bah. by shawn(at)fsu · · Score: 3, Insightful

      # First of all, if you run Linux, you're not booting much.
      Maybe some people chose to turn of their box when
      they are not at home or when they are sleeping. Maybe some people want to save a little bit of electricty if they can.

      This is the problem with the linux zelots. Someone points out somthing that is annoying and should be fixed and people rush to say how this is a non issue, then they go on to say how this is actually better than the way windows does it.

      People who run IIS and then subject it to a /.ing should be drug into the street and shot for being an idiot. Twice.
      Yeah because IIS is the only webserver that can be /.ed your right on that one pal. Yeah. Sure.

      --
      500 dollar reward for tip(s) leading to the arrest of the person(s) who stole my sig.
    3. Re:Bah. by Anonymous Coward · · Score: 0

      1. some of us do care about our electricty bills and dont require our desktop machine to be on all night doing nothing.

    4. Re:Bah. by mutterc · · Score: 1
      There's something the "who cares about boot time, because it's Linux" crowd is missing - laptops.

      Mine gets rebooted twice a day or so. (Suspend isn't as useful as it used to be, because the latch is broken, so it doesn't stay all the way "shut").

      The best thing I was able to do for the boot time was to clear the mount-counts and last-fsck times on the filesystems, then set them all to fsck at reasonably large (180 or more), staggered, prime intervals. That way, almost all boots require 0 fsck's, and (for all practical purposes) none require more than one. (They're ext3 anyway...)

      It's Debian Woody, so no worry about extraneous time spent on autodetecting / autoconfiguring anything :-)

    5. Re:Bah. by Anonymous Coward · · Score: 0

      2. How come windows supports vastly more hardware than linux, and yet still boots faster than the distros your talking about, which in fact are designed to be windows equals.

      3. as for RAM... its so cheap now, need i say more.

    6. Re:Bah. by Garse+Janacek · · Score: 2, Insightful
      First of all, if you run Linux, you're not booting much.

      No, you're not booting much. My computer rarely crashes, but I still turn the computer off when I'm not using it -- it's noisy, and produces a lot of heat.

      Boot time doesn't have to be an arduous wait. Yes, on out-of-the-box distros it can be incredible, but I blame the distro, not Linux.

      Sure, maybe it's the distro and not Linux, but that's missing the point. The idea with this tool is to find ways to improve out-of-the-box distro boot time. The guy isn't knocking the Linux kernel for long boot times, he's trying to improve boot times on typical installs.

      If you choose to not fiddle, then you choose to have boot times that are increasing.

      That's a strange perspective... if I choose not to fiddle, then do I choose to have an insecure system? Or a slow one? Granted, maybe I could make my system slightly more secure, or slightly faster, by detailed tweaking, but that's no excuse for making inefficient and insecure default settings. It's not reasonable to say "Well, you obviously don't care about boot time if you aren't willing to work on it yourself, so I'll just choose the simplest and least efficient configuration possible," when there are definite steps that distros can take to improve the situation.

      People who run IIS and then subject it to a /.ing should be drug into the street and shot for being an idiot.

      Alright, I'm with you on this one ;)

      --

      I am the man with no sig!

    7. Re:Bah. by stratjakt · · Score: 5, Insightful

      # First of all, if you run Linux, you're not booting much. What...rebooting maybe once a month?

      Some of us shut our computers off. Not every linux PC is a 24/7 server. People own laptops, shut down desktops when not in use, etc. Plus theres linux' ever-growing embedded segment. Your TiVo never gets shut off? How important is boot-time to a device like TiVo or Zaurus?

      # Boot time doesn't have to be an arduous wait. Yes, on out-of-the-box distros it can be incredible, but I blame the distro, not Linux.

      Yes, distros are poorly configured, and the userbase is largely stupid. Noone talks about runlevels anymore. Put "basic stuff you need to get the user going" on a lower runlevel, and "more advanced gitchy bullshit like AIM etc" on a higher runlevel. Most linux distros behave by default the way a spyware infected win98 box does, making the user wait while it starts umpteen zillion fringe services.

      # If you choose to not fiddle, then you choose to have boot times that are increasing. It takes time to autoprobe everything correctly and get it set up if you're too lazy to do it yourself. Windows does it from the perspective of 'throw everything in there and take up gadzillions of RAM'. Linux says, 'I'll autosetup everything but still keep you lean'. You pay for what you get, folks.

      Pure "M$ sucks rolF!" bullshit from the clueless. Windows runs a microkernel, Linux runs a monolithic kernel. They work differently. Windows loads the drivers it knows it needs (the installed ones) at boot time, linux pages the crap in and out of the kernel itself.

      This is the quickest part of the boot, really. Delays come when you have dhcpcd timing out while looking for a DHCP server that doesn't exist but yet for some reason runs by default even if you have a statically configured address. Or your waiting for privoxy to load and parse its blacklists, or for squid to primp and preen its caches, etc..

      # People who run IIS and then subject it to a /.ing should be drug into the street and shot for being an idiot. T

      Most sites that stand up to a /.ing are running IIS from, what I've seen. Ever see Slate or MSN go down when /. links to them?

      It has more to do with being able to afford bandwidth than some magical uberneat0 perl script you found on efnet.

      --
      I don't need no instructions to know how to rock!!!!
    8. Re:Bah. by Anonymous Coward · · Score: 0

      nah, thats not *always* true. I run linux on my laptop. Yes, it is dual booted. So, I'm booting back and forth between xp and fc3. xp boots in half the time that fc3 does (with most services disabled). When I'm in a hurry... I boot to xp because it is much faster. just get me to the login faster!

    9. Re:Bah. by tarsi210 · · Score: 1

      No, you're not booting much. My computer rarely crashes, but I still turn the computer off when I'm not using it -- it's noisy, and produces a lot of heat.

      I guess on this point I was thinking that if you're a Linux user, you're more likely to be running your hardware 24/7 vs. shutting down when you're not using it. Of course, as Linux becomes more prominent, this changes, so I guess my statement isn't terribly valid after that. I relent, I guess. That being said, I'd be incredibly curious to see wear-and-tear studies done on computers that get shutdown every night vs. those that run continuously. I leave mine running because I think it's better for them. But who knows.

      The guy isn't knocking the Linux kernel for long boot times, he's trying to improve boot times on typical installs.

      Ok, yeah, that sounds reasonable. Now...if only the distros use it. :)

      That's a strange perspective... if I choose not to fiddle, then do I choose to have an insecure system? Or a slow one?

      Works for Windows, I guess.

      ...when there are definite steps that distros can take to improve the situation.

      Fine, but what I'm saying is that if you don't care to set up specific hardware configurations and specific system settings, you choose to have a bunch of scripts that try to "figure it out" for you, and that can take time. If you choose for it to happen automagically, you might not always get the best performance.

    10. Re:Bah. by tarsi210 · · Score: 1

      Maybe some people chose to turn of their box when they are not at home or when they are sleeping. Maybe some people want to save a little bit of electricty if they can.

      Fair enough, but I would hazard a guess that the percentage of people that leave them running is higher than those that don't. I guess I'm saying that I'm generalizing, but speaking to the majority, I believe. As energy efficient as most modern systems are when they are sleeping or in low-power mode, I can't justify turning them off anymore. (11 machines running 24/7 in my house, currently)

      Now, some people have pointed out laptops. Ok, you got me on that one. Rebooting a laptop quickly is important, especially if you don't have Suspend-To-Disk or whatever it's currently called.

      This is the problem with the linux zelots. Someone points out somthing that is annoying and should be fixed and people rush to say how this is a non issue, then they go on to say how this is actually better than the way windows does it.

      I was just saying that it's probably annoying to a smaller percentage of Linux users vs. a similar audience of Windows users, given their penchant for uptimes.

      Yeah because IIS is the only webserver that can be /.ed your right on that one pal. Yeah. Sure.

      Chill. I was being humourous, or at least attempting. That being said, the benchmarks already prove that Apache handles better than IIS under high load. But maybe our poster didn't have the option. No biggie either way -- I was just being an ass.

    11. Re:Bah. by tarsi210 · · Score: 1

      People own laptops, shut down desktops when not in use, etc. Plus theres linux' ever-growing embedded segment.

      Fair enough on laptops and embedded devices -- I guess I wasn't considering those and I'm not sure the study was, either. As I mentioned on another comment, given Linux users' penchant for uptimes, I'd hazard a guess that the majority of people DO leave their workstations up 24/7 regardless if they're doing anything. I and almost everyone I know certainly does. That being said, as the userbase expands beyond the typical geek, this will become less the case.

      Pure "M$ sucks rolF!" bullshit from the clueless.

      A poorly-worded statement on my part, and I apologize. I should have stated it as the wait for the various services and agents and crap to load on Windows vs. Linux. Mind you, as you pointed out, waiting for DHCP and so forth can be nasty, too. WinXP has eliminated a lot of that, I guess, but I haven't used it much, preferring 2k so far, which takes quite awhile to get going.

      Most sites that stand up to a /.ing are running IIS from, what I've seen. Ever see Slate or MSN go down when /. links to them?

      Geez, people. Take a jaunt. Surely we're used to random pokes at MS around here by now. Hello? *feedback* Is this thing on?

    12. Re:Bah. by paperclip2003 · · Score: 1

      This sounds like Macintosh and Windows Zelots as well. It's a DAMN computer not a religion ;)

    13. Re:Bah. by Anonymous Coward · · Score: 0

      Most sites that stand up to a /.ing are running IIS from, what I've seen. Ever see Slate or MSN go down when /. links to them?

      Oh shit it never occured to me but you are right, google and /. are /.ed regularly!

      How nice of you to open my eyes, "Bill".

    14. Re:Bah. by Anonymous Coward · · Score: 0

      Embedded systems rarely run a desktop distro.
      They run distros either put together for that system from scratch, or at least optimized for embedded use. Obviously, in such distros, great effort is put forth to optimize the bootup time. However, they are completely unrelated to desktop and server distros, so the same techniques may not work. (most important distinction: Hardware and desired service diversity. An embedded system is known hardware, and must serve a specific function. A PC could have any hardware in it, and a typical distro is intended to cover a wide range of desired functionality, with little user configuration)

    15. Re:Bah. by Algan · · Score: 1

      Your TiVo never gets shut off? How important is boot-time to a device like TiVo or Zaurus?

      Funny you mention that. No, my Tivo never gets shut off, except when it's a power failure, and that happens 2-3 times a year in my area. However, I've noticed that it has a huge boot up time, something to the order of 4-5 minutes. I've worked on a few Linux embedded devices and I've seen lots of others and all I can say is Linux is not the fastest thing around the block when it comes to boot time - even when it's optimized for embedded work.

      Windows runs a microkernel, Linux runs a monolithic kernel.

      That's not really correct - initially, NT wanted to be a microkernel, but AFAIK things were running so slow that they had to cram so much crap into the kernel to make it run decently that it no longer fits the description

      --
      If con is the opposite of pro, is Congress the opposite of progress?
    16. Re:Bah. by Anonymous Coward · · Score: 0

      You know I can't sleep with my computer turned on in my room... Damn thing sounds like a B52 bomber.

    17. Re:Bah. by rhavyn · · Score: 1

      1. A TiVo is never shut off. If you did, it couldn't record what you told it to record. Similarly, most TVs and VCRs are never really turned off when you turn them off, you have to completely pull the power cord to shut that equipment off. A Zaurus (like the Palm and PocketPC) is a RAM based device. The first time you turn it on taking it out of the box, it displays a grey screen for several seconds. That is linux booting. After that (unless you completely kill the battery) linux is never rebooted. It is resident in RAM so that it starts and stops instantly. So for the most part, embedded systems don't do much booting of an OS.

      2. The NT kernel (Windows being many different products and some of them are not microkernels) was a microkernel when it was first written. Linux was a monolithic kernel when it was first written. Modern versions of both are really neither micro kernels or monolithic kernels. Many services got moved into kernel space on NT to increase performance (GDI and parts of Win32 for example). And, although not much has moved out of kernel space on linux, it's on demand loadable device drivers allow it to start and stop devices and certain kernel services similar to how a microkernel does. Further, linux *never* pages anything in kernel space in or out of RAM. So, both Windows and Linux load the drivers it needs on demand, it doesn't just load everything (at least, if you use the default, you can compile drivers statically into the kernel, but who actually does that anymore?).

      So, in conclusion, most of what you said was wrong. Have fun calling people clueless!

    18. Re:Bah. by Tom · · Score: 1

      Plus theres linux' ever-growing embedded segment. Your TiVo never gets shut off?

      Actually, most embedded devices are not powered off. They are put into standby.

      Disclaimer: I am working on embedded Linux systems professionally.

      Noone talks about runlevels anymore.
      and
      This is the quickest part of the boot, really.

      Right there. You don't need fancy tools. A shell, a visit to /etc/rc?.d/ and some mv commands and your boot process will speed up a lot. A little understanding of dependencies helps, such as not starting dhcpd before the network is set up, but really most of the services can be started in any order.
      On a notebook or desktop, you'll usually want to move the [x|g|k|w]dm somewhere early. By the time X has come up, the other crap is running as well.

      --
      Assorted stuff I do sometimes: Lemuria.org
  35. Kernel init time by crow · · Score: 2, Interesting

    For me, the user-space initialization is relatively fast. What is a pain is the kernel init time as it waits to hear what SCSI devices exist (including the boot drive). And this is after the BIOS has done the exact same thing.

    I suppose I should figure out where the timeout value for that is in the kernel and cut it short. (Doesn't Solaris handle that by saving the data unless you tell it that it needs to rescan?)

    1. Re:Kernel init time by Rheingold · · Score: 1

      If you think it's bad on a PC with a couple of SCSI drives, you should try waiting for even the initial console messages on an RS/6000 with half a dozen or so drives. There's something to be said for a very thorough POST, but you can only say it so many times before you get bored in the 20-30 minutes it may take.

      --
      Wil
      wiki
  36. A better boot loader is needed by Anonymous Coward · · Score: 2, Insightful

    The problem with Linux's boot process is that things have to load sequentially using the System V init program. They are given a number and then the init program loads them in that order.

    A much better solution would be to say that for each service that needs to be started which services must be started before it and to provide a priority for each service. The boot loader could then use this information to start processes in parallel giving priorities as needed. This would avoid the need to load everything in a predifined order, there would be no running out of numbers, it would not require cooperation to come up with a boot order number and it would allow the user to get to their desktop sooner (does the user really need the ssh daemon running before his desktop is displayed for example?) Of course on a server sshd might be given a higher priority and come up sooner than the desktop.

    The system V init program is a relic from the past .

    1. Re:A better boot loader is needed by MikeCapone · · Score: 2, Interesting

      Seems like a good and fairly straightforward plan... So much so that it's a wonder that nobody has tried to implement it yet :?

    2. Re:A better boot loader is needed by Cobra_666 · · Score: 1

      Umm... You mean like Gentoo does ? Of course it needs some tuning and tweaking to get it right, but it doesn't use sequence numbers and (if enabled) tries to run services in parallel.

    3. Re:A better boot loader is needed by Darkness+Productions · · Score: 1

      Sounds like you just volunteered :)

    4. Re:A better boot loader is needed by zCyl · · Score: 2, Informative

      A much better solution would be to say that for each service that needs to be started which services must be started before it and to provide a priority for each service. The boot loader could then use this information to start processes in parallel giving priorities as needed.

      "Make" can already do this in parallel, and is an appropriate tool for specifying dependencies. It would be a simple matter to use it as the primary boot manager rather than shell scripts.

    5. Re:A better boot loader is needed by The+Bungi · · Score: 1

      Wow, that sounds like... Windows.

    6. Re:A better boot loader is needed by MikeCapone · · Score: 1

      I wish.

      I'm a lowly law-school student, not a programmer.

  37. This is OSS working well! by EmbeddedJanitor · · Score: 1

    When people "scratch an itch", useful things happen.

    --
    Engineering is the art of compromise.
  38. Google cache by MoogMan · · Score: 1

    Google caches of:
    Main page
    Samples page

    1. Re:Google cache by Anonymous Coward · · Score: 0

      http://www.coattails.net/slashdot/bootchart.png :)

  39. Mandrake Charts Available by tashanna · · Score: 2, Informative

    If you search around in the Google Cache, you can find a link to a Mandrake Wiki that has several bootchart images.

    - Tash

  40. MOD PARENT UP - nt by Anonymous Coward · · Score: 0

    nt

  41. Mandrake uses this program by Anonymous Coward · · Score: 0

    Mandrake is using this program to improve their boot times.

    This link has some examples of the graphics produced by this program. mandrake

    1. Re:Mandrake uses this program by Anonymous Coward · · Score: 0

      http://www.coattails.net/slashdot/bootchart.png

      One of this examples lives :)

  42. From an IT guy by bigjnsa500 · · Score: 0, Redundant

    Its pretty bad when you post pics of the Linux boot process and STORE them on a IIS server.

    --
    This is a test. This is a test of the emergency sig system. This has been only a test.
  43. Desktop linux by Anonymous Coward · · Score: 0

    ...hmm, gotta turn off the computer to sleep so really it gets powered up and down at least once a day

  44. Fastest boot time ever by Anonymous Coward · · Score: 0

    I've got my boot time down to nanseconds. It says:

    LI

    1. Re:Fastest boot time ever by erlenic · · Score: 1
      How did you get it to stop? Mine shows this:

      LI 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
      ad nauseum...

      I don't remember how I got it to do that, but it wasn't fun trying to fix it as I had it dual booting with XP.

  45. Visualizing the meltdown of a web server? by Anonymous Coward · · Score: 0

    How about visualizing the meltdown of a web server?

  46. MOD PARENT UP by BenFranske · · Score: 1

    This is a working mirror!

  47. Totally original idea by Ingolfke · · Score: 0, Troll

    D00d, I've already imagined a liquid cooled beowulf cluster of these and it was SWEET!

    By karma, it was nice to know you.

  48. Perhaps... by Anonymous Coward · · Score: 0

    Because there are newbies that still have not seen the "Slashdot Effect" 10 billion times since they read Slahshdot since last 3 months.

  49. Partial mirror by markclong · · Score: 2, Informative

    I've mirrored some of the site here:

    http://slushdot.org/mirror/visualization/index.htm l

    If you have the whole site email it to me and I'll host it.

    1. Re:Partial mirror by Anonymous Coward · · Score: 0

      Should be complete now. Have at it.

    2. Re:Partial mirror by Anonymous Coward · · Score: 0

      got one here ;)

      http://www.coattails.net/slashdot/bootchart.png

  50. I reboot every 497 days. by Hognoxious · · Score: 2, Funny

    Wow, me too. I think the shower draws too much current & pops the circuit breaker.

    --
    Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  51. When is boot time considered shorter? by Anonymous Coward · · Score: 1, Interesting

    I think sometimes people mistakenly equate the sooner they see the desktop as faster boot times -- this is not really true. Win2k, XP as well as Mac OS X tries to bring up the GUI as soon as all of the components necessary to bring it up are there -- thus in the user's perception, the startup time is shorter. That is why these OSes' performance is some what degraded when GUI first comes up -- because the OS is trying to finish loading all of the remaining services in the background.

    1. Re:When is boot time considered shorter? by Anonymous Coward · · Score: 0

      But that's a Good Thing. It takes me a while to need to print something (say), so CUPS can take its time. But I want a command prompt as soon as possible.

      Load the vital stuff quickly, load the rest as you can.

    2. Re:When is boot time considered shorter? by Tengoo · · Score: 1

      A bit off topic, but what the hell. You can boot OS X in verbose mode by holding Command -V during startup. There are freeware utilities which can toggle OS X to use verbose mode by default as well. These get the job done well:

      Verbosity
      and
      sterMachine

  52. sigh by Rotund+Prickpull · · Score: 0
    It immediately helped Red Hat developers
    Huh? You mean they don't understand numbers, they need a freakin' picture? Asshats.
    1. Re:sigh by Anonymous Coward · · Score: 0

      Some things, especially timelines with multiple events and/or dependencies are much easier to see in a graphical format. Makes more sense to me to use a tool like this instead of digging through pages and pages of raw data and then trying to analyze it as you go.

      If there are better tools for analysis then use them

  53. Does it matter? by RealAlaskan · · Score: 0
    "The time needed to boot desktop Linux systems is becoming an issue.

    Is it really? How often do you boot? I reboot whenever there's a power failure (and thank God for ext3). None yet this winter, so I really can't recall how long the boot takes.

    1. Re:Does it matter? by Anonymous Coward · · Score: 0

      I hope you are talking server, because if you are talking desktop, a great kick in the nutsack for you Mr. Eco Terrorist!

      But of course you mean server, after all NOBODY uses Linux for a desktop, we know that.

    2. Re:Does it matter? by slide-rule · · Score: 1

      Is it really? How often do you boot? I reboot whenever there's a power failure (and thank God for ext3). None yet this winter, so I really can't recall how long the boot takes.

      Working through an LFS-based custom system setup (so as to get a *really* small system footprint; "why" is irrelevant) can require a "few" reboots to workout (1) what is needed in the kernel, and (2) setup the init scripts (which in my case differed quite a bit from my box-distro). Assuming the target system doesn't have full development tools in it or web access (or what have you) it can take booting back and forth until the more tricky bits get resolved. But that's just one example from my recent past. :)

    3. Re:Does it matter? by someone1234 · · Score: 1

      Maybe you are so rich that you can afford a separate room for your computer, or you don't sleep at all. But not everyone are so lucky.

      --
      Patents Drive Free Software as Hurricanes Drive Construction Industry
    4. Re:Does it matter? by LiSrt · · Score: 1

      this shouldn't really be a problem, I've got a 5-fan box about 3 feet from my bed and since it's just white noise (and some not-so-white-light... :-) ) it actually drowns out *other* noise to an extent, it's really quite reassuring to wake up at 0130, 0300, and 0530 * and hear the constant whirr and see the nice friendly glow of the computer.



      * this also happened before I stopped shutting down when not using, guess I don't do >3to5 hrs sleep that well...

  54. Meh by Apreche · · Score: 1

    While speeding up the boot process is important. Especially in cases where a server goes down and you need to bring it back up quickly. For Linux it is not so important as windows. The system is so much more stable, and a reboot is technically only required if you rebuild the kernel; so you should really never turn the machine off. Of course, power outages without UPSs are a problem, but should be rare.

    Another thing you'll notice with Linux is that the boot up is very slow and boring, unless you use bootsplash. But even then, it takes a long time before you can do anything. On windows, XP at least, it brings the gui up right away and you can get to work. But you'll notice that the first minute or so you try to do things it is very slow. The mouse wont move smoothly, programs wont load quickly, etc. What they did in windows is push all the things necessary to get the gui up to the front of the boot process, then they do the rest afterwards in the background thus making the system really unusable for an extra minute or two. For most linux systems it takes about the same amount of time to get everything loaded, but they do things in a sensical order. And once X is running, its running and ready to go.

    So speeding up the boot process isn't that great. But it can't hurt either. What I'm really waiting for is a bettery way to reload the kernel without rebooting. There is already something I heard of, but it's not so great.

    --
    The GeekNights podcast is going strong. Listen!
  55. notebook? by Extrymas · · Score: 1

    So you never shut down your notebook?...

    AFAIK hibernate feature on linux is not very stable yet.. (or I might be wrong)

    1. Re:notebook? by TeknoHog · · Score: 1
      So you never shut down your notebook?...

      AFAIK hibernate feature on linux is not very stable yet.. (or I might be wrong)

      It depends, of course. Some laptops have BIOS functions for suspend (to RAM) and/or hibernation (to disk), and the Linux kernel feature is yet another thing. On my old Toshiba Satellite, APM BIOS suspend (i.e. "apm -s") works fine, while I haven't got the kernel thingie to work on any of my machines.

      --
      Escher was the first MC and Giger invented the HR department.
  56. Right fix, Wrong problem. by Penguinoflight · · Score: 2, Insightful

    The problem isn't the boot process being slow, the problem is with redhat's strategy.

    Putting together lame config utils, in place of doumentaion will never work, and ignoring community opinoin while making a standard base is just childish.

    Their version of linux boots slow because their config utils suck. Slackware linux still boots fine, so does arch, and yOPER.

    The problem this boot vizualization intends to fix isn't a legit problem, it's just a symptom of poor choices made by RH.

    Mode me down: after all, RH = King of Linux (grumble...)

    --
    "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
    1 John 4:14
    1. Re:Right fix, Wrong problem. by SpooForBrains · · Score: 1

      Well, I don't think I'm alone in believing RH!=King of Linux.

      I use SUSE, I'm lucky enough to work for a company that buys the latest professional release as soon as it comes out (the six-monthly trek down to Micro-Anvika is becoming a little ritual now). I then do a "proper" install, ie. I start from a minimal graphical installation (without KDE) and then add each package as I need it. It may take three hours instead of twenty minutes, but what I'm left with is a machine that has only what I need on it.

      I don't have a problem with boot times, and if you spend the time to sensibly configure your machine and configure your runlevels, then you shouldn't either.

      I'd rather have a marginally longer boot time, but know that all the services I need come up than go for the WinXP method of slapping the GUI on top of a not-even-half-finished boot process.

      That said, I do wish the SSH server wouldn't wait an age to fire up if I boot with no networking ... *sigh*

      --
      "The dew has clearly fallen with a particularly sickening thud this morning"
    2. Re:Right fix, Wrong problem. by Anonymous Coward · · Score: 1, Insightful

      I have never seen such a clueless posting that got modded +5 insigthful before.

      How is the boottime of Fedora Core 3 slow because their configuration utilities sucks?

      We are not talking about booting fine, we are talking about booting fast. Mandrake and SUSE has similar boottimes as FC3 if you check the samples, and the only big difference is on the optimized experimental bootprocesses posted.

      If you have something to add, please post a sample of slackware and then we can compare. You don't have to like Red Hat, but it would be nice if you could post flames based on facts when you are gonna flame them.

    3. Re:Right fix, Wrong problem. by hackstraw · · Score: 1

      Actually I found it interesting that my pentium 100 running debian used to boot much faster than any PIII or PIV running RedHat with similar services. FWIW, debian has a start-stop-daemon binary that does much of the work that RH does in bash functions in /etc/init.d/functions.

      grumble is right

  57. Huh? by CrystalFalcon · · Score: 0

    Huh?

    The time needed to boot desktop Linux systems is becoming an issue

    Yeah, because you see, them Linux systems need to reboot very frequently, so this is a time-waster for many, many folks. ...oh, wait.

  58. Uhhhh, because its funny? by Anonymous Coward · · Score: 2, Funny

    Particularly the IIs part, drool.

  59. Windows tool by ilyag · · Score: 3, Interesting

    For Windows, use BootVis. Comes very handy to figure out what driver is pausing the boot process for 5 minutes...

    For bonus points, explain why Microsoft pulled it from its website.

    1. Re:Windows tool by Anonymous Coward · · Score: 0

      Because, like regclean, it was useful.

    2. Re:Windows tool by bedessen · · Score: 1
      They pulled it from the site because stock windows XP does this in the background during idle time anyway. They claim you do not need to run bootvis explicitly, and should not do so unless you're writing kernel drivers or are a system integrator or something esoteric like that. From the site:
      Please note that Bootvis.exe is not a tool that will improve boot/resume performance for end users. Contrary to some published reports, Bootvis.exe cannot reduce or alter a system's boot or resume performance. The boot optimization routines invoked by Bootvis.exe are built into Windows XP. These routines run automatically at pre-determined times as part of the normal operation of the operating system.
  60. Boot times *are* important by EdMcMan · · Score: 4, Insightful

    The first two comments in a row I read were saying how "My linux never crashes, I never reboot, etc etc". That's great. You have to keep in mind that the average /. reader is not the average computer user!

    Most people turn off their computer when they are not using it, and actually turn it on when they need it. For the average computer user, boot times mean quite a bit more since they see it more. Don't be ignorant and think that just because it means little to you, it is unimportant to improve.

    1. Re:Boot times *are* important by Dan+the+Control+Guy · · Score: 1

      While I do not reboot my Linux box very often, I still fail to see what the issue is when my 2K laptop takes 5 minutes to boot..

      --
      When the going gets weird, the weird turn pro- Dr. Hunter S. Thompson
    2. Re:Boot times *are* important by donnz · · Score: 1

      What I'd like to see is a power usage chart during boot. I swicth my PC off for the 10 hours a day I'm not using it the hope that I'm saving power. There is a theory (urban myth) that the extra power used during a boot outweighs any savings. If someone can disprove that then I will persuade more work mates to follow my action.

      --
      -- Free software on every PC on every desk
    3. Re:Boot times *are* important by merdark · · Score: 1, Interesting

      You know, computers should default to sleep mode instead of turning off completely. The operating system should be able to handle this gracefully.

      Then boot time is a non-issue, and your computer can go from sleep to fully usable in just a few seconds. Plus, with such a system, the users previous 'state' is preserved. Many modern TV's have a 'sleep state', so do stereo systems. It's time computers worked this way too.

      I know, Macs already do this. But the PC world needs this too.

    4. Re:Boot times *are* important by DarkSarin · · Score: 1

      actually the argument for me is not in power savings, but in time savings. Additionally, I have heard (from an A+ certification manual) that there is a slight power spike when you first hit the power that can cause damage to the machine over time.

      Thus, if my boot time were closer to 0, then I would be more willing to turn the computer off. If I could go from 0 power to 100% operational in UNDER 20 seconds, then I would be more than glad to do turn it off.

      --
      "We don't know what we are doing, but we are doing it very carefully,..." Wherry, R.J. Personnel Psychology (1995)
    5. Re:Boot times *are* important by donnz · · Score: 1

      Understand the arguement, I just took it OT a little :-).

      I think the parent poster was pointing out that people do switch off their machines so saying "i never need to reboot my Linux" was a pointless position - particualrly given it's success in the desktop arena (well, mine at least). My reason for switching off is puted power saving. There may be others.

      --
      -- Free software on every PC on every desk
    6. Re:Boot times *are* important by Cid+Highwind · · Score: 2, Interesting

      There is a theory (urban myth) that the extra power used during a boot outweighs any savings. If someone can disprove that then I will persuade more work mates to follow my action.

      You don't need a chart, just a quick calculation. According to this a Pentium 4 desktop machine draws around 150 watts just sitting idle. 150 watts times 10 hours idle time equals 1500 watt-hours wasted per day. In order for a two minute boot process to waste 1500 watt-hours, the machine would have to draw 90,000 watts during bootup. (1500W*h * 60min/hr / 2min). Assuming your office in the US (or anywhere else where mains voltage is 120 Volts rms), that would be about a 750 amp current draw (90,000W / 120V) to turn on one computer. Most normal circuits (like you would plug a computer into) are protected by breakers that trip at about 20 amps. The wires in your office walls would melt before you could boot a computer if you tried to pull that much current through them.

      Turn the computers off. Whoever pays the electric bill will thank you.

      --
      0 1 - just my two bits
    7. Re:Boot times *are* important by donnz · · Score: 1

      Turn the computers off. Whoever pays the electric bill will thank you.

      I pay the bills so I thank you. Whether my work colleagues offer similar thanks will remain to be seen.

      --
      -- Free software on every PC on every desk
    8. Re:Boot times *are* important by Blakey+Rat · · Score: 2, Insightful

      That, and plus:

      1) Not only newbies, but experienced computer users will shut down their computers when not in use to save power. Computers aren't the most expensive thing in the world, but if I could save $5 a month by keeping it off, I'd be stupid not to. I love Windows XP's Hibernate function for this exact reason.

      2) Laptops. Even people who keep their desktop on all the time will most likely reboot their laptops a lot more often. Maybe they swapped out batteries, or maybe their battery can't keep the laptop running throughout the entire bus trip in sleep mode.

    9. Re:Boot times *are* important by Jugalator · · Score: 1

      2K laptop takes 5 minutes to boot..

      Maybe you should run BootVis once after installing XP and compare with a 30 second bootup instead. ;-)

      --
      Beware: In C++, your friends can see your privates!
    10. Re:Boot times *are* important by Twanfox · · Score: 1

      Windows' Hibernate function is nice, but pretty well broken at times. I cannot count the number of times that I have let my system drop to standby, then hibernate, only to have quirky little things like.. oh, the USB bus fail to reinitialize. That becomes a problem as USB drives no longer become accessable.

      Oddly, other than that, it is useful, especially for laptop computers. It just has some glaring usability bugs.

    11. Re:Boot times *are* important by tlhIngan · · Score: 1

      Unfortunately, the problem with hibernate/sleep/shut down is that it loses the system state, or partially loses the state.

      I'd shutdown/hibernate my machines more often, but reopening a half-dozen ssh sessions, cd'ing to my previous directory, and setting up special environments (PATH can vary by the window, special script environment variables, etc.) starts to get annoying quick. It turns that 2 minute boot time into a 10 minute boot-and-re-establish-a-working-system irritance.

      Screen works, to a point (until you have a half dozen screens running and no clue which PID is the one you want.

      Now, a low-power mode in which the computer wakes up periodically to keep alive the connections, that would be handy.

    12. Re:Boot times *are* important by Anonymous Coward · · Score: 0

      Force screen to run in your login scripts with "screen -d -R". No more needing to run multiple screens, or remember which one you were using - just have one perpetual screen instance with multiple windows. It saves a lot of messing around, and logging in throughout the day to see how my processes are running gives me warm fuzzies.

      Oh, also, you can alias "logout" to "screen -d", so you don't have to kill the connection to exit (but you do need to use ctrl-a commands to close a screen window)

    13. Re:Boot times *are* important by blankslate · · Score: 1

      and, one word:

      laptop.

      --
      ---- death to all fanatics
  61. Who reboots enough to care? by dstone · · Score: 0

    The premise: The time needed to boot desktop Linux systems is becoming an issue.

    Am I missing an aspect of desktop computing, that requires regular reboots, to care how long a reboot takes?

    Kernel recompiles are the only thing I run into on a desktop machine that requires a reboot, and those are so infrequent that I don't care if the restart takes 2 seconds or 2 minutes.

    1. Re:Who reboots enough to care? by arudloff · · Score: 1

      Am I missing an aspect of desktop computing, that requires regular reboots, to care how long a reboot takes?

      I'm willing to wager the average user does not leave their computer on 24/7. My mom doesn't, my girlfriend doesn't, and I'd say the majority of non technical people I know do not.

    2. Re:Who reboots enough to care? by NereusRen · · Score: 1

      It's a pretty self-centered view (albeit a prevalent one here on /., to nobody's surprise) that linux desktop users have no reason to reboot. Here are some perfectly valid reasons to require frequent booting: Turn off at night, or when not in use. Dual-boot to access windows-only apps/games. Physically moving the computer, for example to a LAN party or to a TV to use a TV-out card. etc. It's quite dismissive to pretend linux is above the problem of poor boot performance. Even if there were just a pretty graphical screen to keep people distracted during the boot process, it would make a big impression on end-users who don't know or care what any of the boot messages mean, as long as their computer works.

    3. Re:Who reboots enough to care? by Anonymous Coward · · Score: 0

      I still have couple of things that only run on Windows, so I use dual-boot machine. Worst case scenario I will swith 2-3 times a day.
      And don`t give me you can do everything on Linux crap. I`ve read on Slashdot (too lazy to link) that Richard Stallman himself uses Win machine to pay his bills via Quicken...

    4. Re:Who reboots enough to care? by SpooForBrains · · Score: 1

      I can't post this in response to the four hundred similar posts in this thread, so I'll post it in this one.

      Some. Of. Us. Have. Linux. On. Our. Laptops.

      While I keep this beastie on permanently when connected to the mains, I do occasionally have to ... oh, I dunno, go to work. With the last update I installed suspend to RAM finally started to work, which I love, but even using that it's just not viable to keep laptops running 24/7.

      Parent is typical of a certain class of /. reader: It's not a problem for me, therefore it's not a problem for anyone.

      --
      "The dew has clearly fallen with a particularly sickening thud this morning"
    5. Re:Who reboots enough to care? by ffub · · Score: 1

      Yes you are. Fans are noisy, a lot of people turn their machines off at night. Leaving your computer on when you're out, away for the weekend, at work, etc may be justificable if it hosts internet/network services but is a shameful waste of energy if you don't - do you always leave your lights on because the bulb is less likely to blow?

      Also, as is clearly stated - this is desktop use. That includes laptops, which obviously have to be powered down an awful lot. It is all very well to point out the power of UNIX systems and their uptimes, but that does not make it illegitimate to improve the speed with which they boot.

      I say good luck to Red Hat and Ubuntu.

    6. Re:Who reboots enough to care? by Anonymous Coward · · Score: 0

      Who reboots enough to care?

      Kernel developers and distro maintainers, thats who!

      Even if only that small subset of the linux community benefits, they're the ones putting in the time on the problem, that's just fine with me.

      If anyone else benefits from this work, it's just icing on the cake, as they say.

    7. Re:Who reboots enough to care? by dstone · · Score: 1

      Yes, I dislike fan noise, disk noise, and energy wasting myself. So I'll bite... what's wrong with suspend or even hibernate?

      These are quicker (and thus, more energy-friendly) operations that accomplish the same thing. If you motherboard doesn't support ACPI then you can still run a software suspend to disk (including your swap partition, if you're that miserly).

      Notebook users have known this for years... Why shutdown & reboot when you can just suspend to RAM (or disk, if you have to).

    8. Re:Who reboots enough to care? by Anonymous Coward · · Score: 0

      I don't get it either. Why do more people not use the features of suspend to RAM and suspend to disk (either software in-kernel or hardware)?

      This has worked for quite some time both with and without kernel support for desktops and notebooks of all ages. Software suspend will work for everyone and it wastes less time and energy than a full shutdown followed by a restart. ACPI, I think, comes on most new motherboards and if it works on my two notebooks with all the fussy PCMCIA and Firewire modules getting unloaded and loaded again each time, I have to believe that a desktop would work even more simply and at even greater power and noise savings.

    9. Re:Who reboots enough to care? by SpooForBrains · · Score: 1

      Well, for one it's pretty buggy even now, and the consequences of it going wrong can be ... unpleasant. Plus it flat out doesn't work with the commercial NVidia driver (I have to use the NV driver for when I'm on the go and the NVIDIA one for when I'm at home, fortunately SCPM helps a lot in this area). PCMCIA card support can also be very hit and miss. Faced with a list of caveats like that I'd be reluctant to use it.

      --
      "The dew has clearly fallen with a particularly sickening thud this morning"
  62. Goooooooooogle Cache by Anonymous Coward · · Score: 0

    here (for http://www.klika.si/ziga/bootchart/), and here (for http://www.klika.si/ziga/bootchart/samples.html).

  63. Wow by Anonymous Coward · · Score: 0
    you must be a hacker's paradise, with so many kernel vulnerabilities in your current kernel.

    Uptime is seriously overrated. Uptime is not everything.

  64. I do need to reboot frequently by Anonymous Coward · · Score: 0

    My machine dual boots WinXP and Linux. I use Linux, my wife and two kids use Windows. We reboot 2 or 3 times a day. Faster booting is a huge deal to me. I chkconfig off everything I can, but doing as much of that init crap in parallel would be Real Nice.

  65. You gave me an idea by CrazyJim1 · · Score: 1

    Instead of people focusing on fanlike structures to liquid cool the computer, it should be the case. Full of liquid, it'd dissipate heat fast by absorbing quickly, then the surface area of the case would dissipate heat. Not that I'm going to do it, but I could totally see people selling liquid filled cases.

    1. Re:You gave me an idea by Anonymous Coward · · Score: 0

      Even the Cray machines that are completely imursed in cooling fluid have pumps that move the fluid through the machine then out for the heat to be radiated to the air. A non-moving fluid is about as useful as non-moving air for cooling purposes.

      So yes, that is a totally original idea, because no sane cooling engineer would have thought of it, or considered it from more than a second!

    2. Re:You gave me an idea by zippthorne · · Score: 1

      With the volume of a standard minitower and few enough obstructions, convection might be enough. It wasn't that long ago that computers used air convection to cool their processors with no fans at all. I haven't done the math, but by convection alone, water removes heat significantly faster than air, by at least an order of magnitude.

      --
      Can you be Even More Awesome?!
  66. Why not have a wait tag/flag by phorm · · Score: 2, Interesting

    Would it add to the overhead of loading services to have a WAIT/NOWAIT tag on the init files. For example, my current rc structure is:
    /etc/rcX.d/S00SomeInit where 00 is a number that defines the order of startup services, and X is the runlevel.

    Now why not just have something like:

    S10+NOWAITFILE
    S11-WAITFILE
    So it allows whatever is in S10+NOWAITFILE to load without blocking, but S11-WAITFILE will block S12SOMETHING until loaded, etc etc

  67. Because i want the Win XP users to shut up by ChiefHappyWind · · Score: 2, Insightful

    Some people thus complain about the bootup time. ... Personally, I don't see the big deal.

    I want a fast Linux boot just to shut up the Win XP users at my work that like to say they boot Windows much faster than I boot my Linux.

    --
    There are 10 types of people in the world... those that understand binary and those that don't.
  68. Re:an issue is it??? by g-doo · · Score: 1

    Your electric bill must be rather high.

  69. doesn't gentoo have this option too? by SuperBanana · · Score: 1
    IBM has published a paper on speeding up the boot process using something like a make to launch things in parallel that are not dependent on each other.

    Doesn't gentoo do something similar, optionally? I could swear I've seen an option for parallel startup, but it was marked with the disclaimer that it only results in a minimum speedup.

    1. Re:doesn't gentoo have this option too? by paulpach · · Score: 1

      Gentoo has RC_PARALLEL_STARTUP, but is not very parallel. At any given time, there is only one task running or two tasks and a busy wait. I have written a trully parallel startup patch for gentoo. Go here for the patch

      You can see the charts that I created comparing RC_PARALLEL_STARTUP to my parallel startup here in comment #19. You can find there other things I have done to improve gentoo boot time. and an ebuild for bootchart.

  70. BeOS results... by Anonymous Coward · · Score: 0

    BeOS=

  71. init levels by oliverthered · · Score: 1

    That's what I do with gentoo, but kdm gets started via a telinit (just like a good linux distribution).
    and init waits for the whole boot process to finish first.

    The solution, change the init script to start kdm/xdm/gdm straight away.

    Now all non-esencial services get started while I'm logging into kde.

    --
    thank God the internet isn't a human right.
  72. same for Debian, except... by Luyseyal · · Score: 1

    ...it's already got the script. I just had to change the start from S99 to S19.
    -l

    --
    Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  73. "No easy path" to change filesystem? by paulproteus · · Score: 1

    If you can boot off other media, you can do this easily.

    There's always convertfs, which will convert any Linux filesystem to any other (so long as the target supports sparse files): http://tzukanov.narod.ru/convertfs/

    And, of course, ext3 being a simple addition to ext2, you can use tune2fs -j to add a journal to any ext2 filesystem. ("Why wait!? Tune2fs today!") Googling for 'convert+ext2+ext3' will tell you all about that.

    --
    |/usr/games/fortune
  74. IBM articles about improving Linux boot time by OmegaBlac · · Score: 4, Interesting

    Here some articles regarding booting Linux faster: Boot Linux faster and Reboot Linux faster using kexec Enjoy! ;)

    1. Re:IBM articles about improving Linux boot time by hackstraw · · Score: 1

      Also, its worth noting that I saw a machine boot for the first time with one of those Intel Fast Boot bioses or chipsets or whatever makes it boot fast, and it works the machine was hitting the OS within about a second after being turned on.

  75. Re:an issue is it??? by Anonymous Coward · · Score: 1, Funny

    Yes, how stupid of me to shut my laptop down when I'm not using it anymore. Stupidity is the only conceivable explanation.

  76. Is this really an issue? by l4m3z0r · · Score: 2, Insightful

    Last time i rebooted my linux machine was 25 days ago(updated kernel from 2.4.18). Prior to that it had an uptime of 179 days. Not sure I care a whole lot about boot speed since i do it so infrequently. And honestly if your constantly rebooting and starting your linux machine something is wrong. I would however like to see my OS X machine boot faster...

    1. Re:Is this really an issue? by renoX · · Score: 1

      You know some people have their PC next to the bedroom, and they'd like to sleep without being disturbed by fan noise so who care how big the uptime can be.

      Don't only think about your situation..

    2. Re:Is this really an issue? by l4m3z0r · · Score: 1

      I have the PC in my bedroom, it is less than 8 feet from my bed. I ponied up the extra money to get a quiet case and quiet fans. The antec black quiet case is excellent and you can even buy it from Best buy for around $100. You honestly cannot hear this thing, at first I had trouble deciding if it was actually running any of its fans but it is, no overheating and no noise.

  77. Cool boot screen? by starseeker · · Score: 1

    This might make a neat boot up screen - rather than by default flashing you with all the system messages, put up this sucker and update it dynamically. Dunno if that's technically possible in the framebuffer boot screen scene, but it would sure be awesome - and rather than just reading the init log to try and figure out why something wasn't working, you could pull up something like this to help too. Maybe you could also have the previous boot record in the background faintly, so you can compare your previous boot to the current one and SEE any differences.

    Sigh. Something else to add to my "do when I become a genius with lots of time" list. :-/

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    1. Re:Cool boot screen? by suwain_2 · · Score: 1

      It would be cool, but beside the framebuffer problems you propose, there's also the issue of the fact that you're dynamically generating a big image in rapid succession: this would be bogging the system down as it tries to boot.

      It'd look cool, but it'd take forever to boot.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    2. Re:Cool boot screen? by starseeker · · Score: 1

      Only a few parts would be changing, and I was thinking of just updating those elements of the svg, or even switching it to some kind of strictly "changes only" display. Most of the display graphics are static, after all.

      Yes, rendering would be a trick, but it would be professional looking and possibly even useful. Maybe different kinds of things could be displayed, but the more I think about it the more I like it.

      --
      "I object to doing things that computers can do." -- Olin Shivers, lispers.org
  78. Re:an issue is it??? by pclminion · · Score: 4, Insightful
    an issue??? only if you're stupid enough to shut the thing down every night like most ms-windows users do...

    Yeah. My desire to cut my electric bill in half is "stupid." My desire to increase my energy efficiency is "stupid." Attempting to be environmentally responsible is "stupid."

    Unless you need your computer to be running 24/7, leaving it on is a tremendous waste of energy, and I think it's unethical. You're an ass.

  79. Ummm... hasn't a solution already been proposed? by Not_Wiggins · · Score: 1


    IBM wrote a white paper on using Make to parallelize the boot process on linux

    It seems to ensure that any service that can be started is started as soon as is possible, and that any dependent services don't start until requisite services have completed starting. That was written in September of 2003.

    --
    Diplomacy is the art of saying, "Nice doggie!" until you can find a rock.
  80. way to go timothy by Anonymous Coward · · Score: 0

    your update added a link to a pro kerry spam pic. what does kerry have to do with boot charts?

  81. Hahahah by Lisandro · · Score: 4, Funny

    "Update: 12/15 19:32 GMT by T: An anonymous coward adds this mirrored version of one of the bootcharts."

    Have you actually bothered to check that link? It made me spit my Coke in laughter.

    1. Re:Hahahah by The+Other+White+Boy · · Score: 1

      i was wondering what that was about. i'm confused and i think i like it.

      since i could never see any of these bootcharts, i have to assume that this program randomly photoshops pictures while your lin box boots. therefore i need it.

    2. Re:Hahahah by the+pickle · · Score: 1

      For those of us who weren't reloading /. every 30 seconds during the few minutes it was up, could you maybe post a link to what used to be there? :)

      TIA
      p

    3. Re:Hahahah by klipsch_gmx · · Score: 0, Troll

      For those of us who weren't reloading /. every 30 seconds during the few minutes it was up, could you maybe post a link to what used to be there? :)

      We will be adding a detailed account of this egregious offense in the Jihad injustices section later today. Stay tuned.

    4. Re:Hahahah by Lisandro · · Score: 1

      Here, i'll set up Apache mirror at home for a couple hours. Please, be nice with my ADSL connection :)

    5. Re:Hahahah by Lisandro · · Score: 1

      Sorry, i've accidentaly posted the URL on a parent reply. Check it :)

    6. Re:Hahahah by timothy · · Score: 2, Informative

      Briefly, it was an actual mirror of one of the images from the story. However, the mirror-poster soon changed it. What can ya do? It's hard to find good parents these days, and many kids just have no better outlet once the rubber sheets are in place.

      timothy

      --
      jrnl: http://tinyurl.com/c2l8yr / foes: http://tinyurl.com/ckjno5
    7. Re:Hahahah by Anonymous Coward · · Score: 0

      Protect yourself from Slashdottage, give out coral cache links.

    8. Re:Hahahah by Lisandro · · Score: 1

      Thanks for the tip, i'll DEFINITELY consider it next time...

      Apache Server Status for 192.168.0.2
      Server Version: Apache/2.0.52 (Gentoo/Linux)
      Server Built: Nov 7 2004 04:36:52
      Current Time: Wednesday, 15-Dec-2004 19:28:34 ART
      Restart Time: Wednesday, 15-Dec-2004 18:25:21 ART
      Parent Server Generation: 0
      Server uptime: 1 hour 3 minutes 13 seconds
      Total accesses: 188 - Total Traffic: 122.4 MB
      CPU Usage: u.02 s.24 cu0 cs0 - .00685% CPU load .0496 requests/sec - 33.1 kB/second - 0.7 MB/request
      28 requests currently being processed, 5 idle workers


      My ADSL upload connection has ben maxed since the very moment i set that mirror up. Slashdot is a scary force indeed...

    9. Re:Hahahah by Barryke · · Score: 1

      wever, the mirror-poster soon changed it.

      Changed it into what?
      Tell /. and get +5 Informative :)

      --
      Hivemind harvest in progress..
    10. Re:Hahahah by TaggartAleslayer · · Score: 1

      http://www.coattails.net/pvp/pvp_a1_s1.png http://www.coattails.net/pvp/pvp_a1_s2.png http://www.coattails.net/pvp/pvp_a1_s3.jpg http://www.coattails.net/pvp/pvp_a2_s1.jpg It was one of this series, though I'm not sure which as it was changed back before I could catch a look.

    11. Re:Hahahah by the+pickle · · Score: 1

      No dice (0130 EST). Toss me an e-mail if you don't mind. ;)

      p

  82. MOD PARENT DOWN AND REMOVE FRONT LINK! by Anonymous Coward · · Score: 0

    Mod the parent poster down and remove the link. This is *NOT* a bootchart. It is an anti-Kerry statement.

    1. Re:MOD PARENT DOWN AND REMOVE FRONT LINK! by Anonymous Coward · · Score: 0

      actually, you fucking pussy, it's pro kerry

      read the rest of the comic!

  83. Optomising The Boot by Giggles+Of+Doom · · Score: 1

    I recently put FC3 on my Viao 505FX, a Pentium 266 laptop. I am currently in the process of tweaking the boot process, as when I first started it it would take about 5 min to get to the login screen. Far too long if I get to class late or whatnot. By removing things from the boot process (I don't need it to look for SCSI drives, as its a laptop, nor do I need it to look for new hardware) I got it down to about 3 and a half minutes. Still, I hope to make it even faster.

    I do want to keep X, but I have gone with XFCE over Gnome, as it seems to be faster, I need wi-fi, but the only sever I need is samba. Does anyone have some suggestions or links to sites about how I can speed things up even more? I still think there are probably a lot of things I can pull out of the sequence, but as I an pretty new to Linux I need a little help on finding where all that stuff is. I don't really worry about trashing the install, there is nothing important on it that isn't backed up somewhere else, so any sort of "you may want to give this a try" type of suggestions are welcome.

    --
    "A coward dies a thousand deaths, the brave but one."
  84. Has been changed to a lame troll! by temojen · · Score: 1

    At least it's not goatse.

  85. Re:an issue is it??? by WebMasterJoe · · Score: 1

    only if you're stupid enough to shut the thing down every night like most ms-windows users do...
    So the problem is that home users are turning off things which they aren't using? Your solution to slow startup times is to avoid starting up the computer? Your attitude is a good example why Linux has playing catch-up to other OS's with regard to user interfaces.
    --
    I really hate signatures, but go to my website.
  86. Forensics of a Slashdotting by pridkett · · Score: 2, Informative

    Ask and you shall receive...

    Take a look at this article that I wrote up after I posted instructions on how to use lpd to spool mp3s. I was even lucky enough to get some of the logs from the mirrors for analysis. You can see the original slashdot article here.

    --
    My Slashdot account is old enough to drink...
    1. Re:Forensics of a Slashdotting by srvivn21 · · Score: 1
      Off topic to the posted story, but I have to reply to your confusion.
      Secondly, the large amount of people who not only visited both the mirror and the original site, but the people who clicked through from both, seems quite high. I have to wonder why these people do such actions. Do they think that the article will be different at the different hosts?

      Much of the world uses proxies, and NAT, so you might see multiple requests for the same page from a single IP address, which actually originates at different computers. Without scanning the HTTP headers for X_Forwarded_For (assuming said information is available), it's really hard to get an acurate picture of how many end users are viewing your site.

      Just a thought.
  87. Parallel boot would be nice to have by Krellan · · Score: 1

    My laptop takes an unacceptable five full minutes to boot up to the default Fedora Core 3 desktop. I often hit Ctrl-Alt-F1 to get a text console and do some useful work there, but even this can't be done until two-or-so minutes have elapsed (the time it takes Fedora to run all the boot scripts before the getty(8) processes are started).

    The reason is that each boot script is run serially. The Red Hat boot process hasn't really changed since Red Hat 6.0 or so. The init(8) runs /etc/rc.d/rc.sysinit, then /etc/rc.d/rc for the chosen runlevel, then that script iterates through all of the scripts in /etc/rc.d/rc?.d/S??servicename, running each in turn.

    This is well-understood and (reasonably) stable, but has one huge disadvantage. It's SLOW!

    Because everything must be done in strict sequential order, blocking operations (like sending DHCP requests to get an IP address, or querying NTP to set the time, and so on) slow down the entire boot process.

    Knoppix has a good idea, backgrounding the DHCP query process! Unfortunately, some services depending on knowing their IP address at startup time, so this wouldn't work for systems that run servers.

    I'd love to see a more general method used to run as many setup tasks in parallel as possible. I would love to see a keyword-based provides/requires system in the startup scripts, similar to what is commonly used elsewhere to represent dependencies (Makefile targets, RPM keywords, and so on).

    If each of the startup scripts would declare capabilities they provide, as well as capabilities they require to be present already, then the startup process can be made smarter, running as many scripts in parallel as possible. It would be similar to how make(1) runs with the -j option, paralellizing, but something other than the actual "make" program would need to be used, to be as error-tolerant as possible (since the goal is to provide you with a useable system, not to detect build failures during software development).

    I've never used BeOS but heard that it made strides towards improving boot time, by doing as much in parallel as possible. Maybe there are some good ideas there that we could pick up.

  88. Re:unix isn't your daddys unix anymore by Splork · · Score: 0

    that was then. this is now.

    boot time matters. serialized startup scripts, things that sleep needlessly. poor disk layout of all the random data that needs to be loaded at boot time (caching it all in a linear segment that is preloaded into the buffer cache as soon as booting starts is the way to go). they all contribute to boot startup time.

    microsoft has requirements of less than one minute, probably closer to half that, from power on to desktop usability for their logo sporting preinstalled hw vendors. while they weild this as a big stick to prevent other software from running, theres no reason linux and bsd couldn't strive to match the nice low startup latency.

    it really makes computing a nicer experience.

  89. Jesus in the Boot Charts? by fr1kk · · Score: 1

    I dont know if anyone else noticed, but the boot chart site is down (slahsdotted), and the mirrored image has been hijacked. I honestly cant say that I know what on earth is going on in the hijacked image, it just blows my mind.

    --
    sig: Playfully doing something difficult, whether useful or not
    1. Re:Jesus in the Boot Charts? by kpwoodr · · Score: 1

      From Dogma:
      Cardinal Glick: "Thank you, thank you, thank you. Now we all know how the majority and the media in this country view the Catholic church. They think of us as a passe, archaic institution. People find the Bible obtuse... even hokey. Now in an effort to disprove all that the church has appointed this year as a time of renewal... both of faith and of style. For example, the crucifix. While it has been a time honored symbol of our faith, Holy Mother Church has decided to retire this highly recognizable, yet wholly depressing image of our Lord crucified. Christ didn't come to Earth to give us the willies... He came to help us out. He was a booster. And it is with that take on our Lord in mind that we've come up with a new, more inspiring sigil. So it is with great pleasure that I present you with the first of many revamps the "Catholicism WOW. " campaign will unveil over the next year. I give you... The Buddy Christ. Now that's not the sanctioned term we're using for the symbol, just something we've been kicking around the office, but look at it. Doesn't it... pop? Buddy Christ..."

      Always good to see the Buddy Christ getting some air time. If you'd like to order your own, click here

      --
      This sig has been removed pending an investigation.
  90. Click the link/we've been had! by kpwoodr · · Score: 1

    Click on the link for the update: Boot Chart Mirror. I can't say for sure, because I didn't see the charts before the /. effect took over, but that looks more like election propaganda than it does boot charts.

    I have trouble seeing any way that John Kerry (or Bush for that matter) can help speed up Linux boot times.

    --
    This sig has been removed pending an investigation.
  91. Mirror at http://bootchart.sourceforge.net by zigam · · Score: 2, Informative

    I don't know why this didn't get modded up the first time, but here's the mirror again: bootchart.sourceforge.net.

    --
    Ziga
  92. New Troll by Lord_Slepnir · · Score: 1

    Ingolfke Confirms it: BSD is dying

  93. Hmm by mcc · · Score: 1

    IBM has published a paper on speeding up the boot process using something like a make to launch things in parallel that are not dependent on each other.

    That sounds very familiar.

    1. Re:Hmm by Anonymous Coward · · Score: 0

      That sounds very familiar.

      Except that the IBM paper was published first.

    2. Re:Hmm by mcc · · Score: 1

      Except that the IBM paper was published first.

      The september 2003 IBM paper linked above was published before the oreily.com link I gave, yes. However the oreily.com link I gave was merely third party documentation.

      The "make-like" XML StartupItems system that the documentation describes, however, has been present in Mac OS X at least since the first available public beta, and the trivial improvement from there of launching nondependent system services in parallel has been present since OS X 10.2 in 2002 somewheres.

  94. Wasted time by Anonymous Coward · · Score: 0
    Update: 12/15 20:04 GMT by T: Sorry, someone decided your time was worth wasting; no more mirrored bootchart.

    This "article" is a bigger waste of time than the "bootchart" image...

  95. Uhuh by Anonymous Coward · · Score: 0

    Well I've been using linux as my primary OS for 2 weeks now. I feer if I had any more boot info I might be in trouble!

  96. Parellel Boot Process Comparison by rabtech · · Score: 1


    Just for comparison Windows XP/2003 use a parallel boot process (along with preloading based on previous boot history). All services (daemons) have dependency lists and services are started as soon as their dependencies are met and run in parallel.

    IIRC the biggest speedup came from kicking off the network subsystem asyncronously very early in the process so everything wasn't waiting on DHCP, et al.

    My workstation here at work boots in about 15 seconds flat to the login prompt. My home system takes a lot longer because SCSI RAID cards take forever to initialize (as some of you know.)

    Anyway like I said: this post just for comparison. I still think BeOS holds the world record for boot speed.

    --
    Natural != (nontoxic || beneficial)
  97. Re:an issue is it??? by Anonymous Coward · · Score: 0

    I need to turn off the beige box to make silence in order to be able to sleep.

    I want power saving that works. Hibernate, hdd spindown etc.

  98. Re:an issue is it??? by pnuema · · Score: 2, Interesting
    Yeah. My desire to cut my electric bill in half is "stupid." My desire to increase my energy efficiency is "stupid." Attempting to be environmentally responsible is "stupid." Unless you need your computer to be running 24/7, leaving it on is a tremendous waste of energy, and I think it's unethical. You're an ass.

    If you use your system every day, like I do, the wear and tear on the hardware by all the added start cycles will eliminate your cost savings. Have a CPU fan go out and your processor melts, and all of your cost savings go out the window. Since I leave my PC on all the time, on the occasions when I do shut it down and let it cool off, I can always tell. The sounds it makes when it starts from a cold boot are *awful*, and they all go away when the components get warm again. I've had more parts fail on start than at any other time.

    As far as power consumption is concerned, an idle PC consumes less energy than your average light bulb. Leave your porch light on at night? Chances are it consumes three times as much energy as your PC left on all night.

    And as far as environmentally responsible is concerned...unless you don't own a car, are completely off the power grid, never flush your toilets unless they are full, take sponge baths, and recycle absolutely everything, I'd shut the hell up. All of us could do more to help the environment, but we don't and that's life. I think we all have bigger fish to fry than my 35 watts/hour it takes to keep my PC on all night.

    So, in short, if you use your system every day, it *is* smarter to leave it on 24/7 than shut it down. Not to mention convenient.

  99. Source Mage allows parallel boot by Anonymous Coward · · Score: 0

    Source Mage GNU/Linux uses a boot system that allows parallel execution of init scripts, while preserving dependencies. The change is modest on my old laptop though. sequential parallel

  100. Simple rc script tweak by Anonymous Coward · · Score: 0

    Here is what I did to give me the shell in as little time as possible with very little side effects. This is for Debian.

    1. Moved /etc/init.d/rc to /etc/init.d/orig_rc
    2. Created /etc/init.d/rc as:
    #!/bin/sh

    if [ "$1" -eq 0 -o "$1" -eq 6 ]; then /etc/init.d/orig_rc $*
    else
    nohup /etc/init.d/bgd_rc $* &
    fi
    3. Created /etc/init.d/bgd_rc as
    #!/bin/sh

    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    runlevel=S
    prevlevel=N
    umask 022
    export PATH runlevel prevlevel

    exec 1>&2
    echo "1" > /proc/sys/kernel/printk
    : > /etc/hotplug/net.enable
    nice -n 19 /etc/init.d/orig_rc $*
    echo "7" > /proc/sys/kernel/printk
    if [ -f /nohup.out ]; then
    mv /nohup.out /var/log/console.log
    chmod 644 /var/log/console.log
    fi
    4. Moved some of the files in /etc/rcS.d into /etc/rc2.d (default run level for me) so those files start early; e.g., moved /etc/rcS.d/S51ntpdate to /etc/rc2.d/S051ntpdate so the dependencies, if any of the files in /etc/rcS.d on files in /etc/rc2.d are not affected.
    5. I also installed mingetty and replaced the entry for vt 1 so it logs me in automatically (this is dangerous to use generally).

    Now I get the shell almost as soon as kernel is initialized. All time consuming scripts, especially discover, pcmcia and hotplug run in the background.

  101. Poor ME, poor Windows ME by Mikito · · Score: 1

    Just to compare, I used to use Windows ME. It would crash quite often, and sometimes it would crash during the reboot process. I think uptime was a foreign concept to Win ME. I should have just used the BSOD as my wallpaper.

    --
    Anakin Simpson: If you're not with me, then you're my enemy--ooh, donuts!
    1. Re:Poor ME, poor Windows ME by dbacher · · Score: 1

      windows 95, 98 and Me are operating environments (similar to KDE or a Java virtual machine) that run on top of DOS.

      To use the term "designed" in conjunction with an operating environment that took the already unstable Windows 3.11 "kernel" (it is wrong to call it a kernel) and attempted to make it run pre-emptively multitasked Windows NT code (which uses a true kernel) just was asking for crashes.

      3.1x and the first couple versions of 95 literally couldn't run over a month because of a timer overflow. NT based kernels (NT, 2000, XP) tend to be fairly reliable.

      My XP boxes reboot only for virus scanner updates and XP service packs. My Linux and Solaris boxes reboot for this reason as well, as does my FreeBSD box.

      Failing to reboot means I can't be sure what version of the package existing processes are running. While I could manually determine dependencies and manually restart each individual thing that needs manually restarted, it wouldn't be a terribly efficient process.

      My own server processes typically don't need to be rebooted to be upgraded, but I can't force everyone else to design their apps for online upgrades.

      --
      If your code is acting bloated, and is running rather slow, it's likely and predicted that some loops you will unroll.
  102. Prelinking, Reordering, and Compiling... by paperclip2003 · · Score: 1

    Compiling some stuff into the kernel instead of using modules and prelinking http://www.linuxforum.com/man/prelink.8.php -- getting rid of daemons that you don't use makes a world of difference. For one thing, when things are prelinked then X starts a hell of a lot faster. KDE just rocks instead of being dog slow. I usually delete the symbolic links to the daemons that I don't need and as a rule if I am using linux as a desktop and if it is working well I even remove the symbolic link from syslogd. (I know some UNIX diehards are squirming) You can use utilities to do this, or you can delete symbolic links in /etc/rc.d/rc5.d. The rc then number corrisponds to your current run level. If you mess one up you can put it back by linking from /etc/init.d/. You can change the startup order by changing the K (startup) and S (Shutdown) number. For example S10sysklogd and S15hotplug - means that Syslog is going to shutdown before hotplug (the number 10 comes before 15). By changing the number I can change the order of things. Some things you can't change the order of because they are dependent on one another. I have been able to speed things up by playing with that. I have been able to get linux to boot faster into X with KDE running than my Windows XP desktop just by cleaning things up and prelinking. It depends on your configuration; is it a desktop or a server? Also running XDM, GDM, or KDM earlier in the boot process also makes things usable faster. This requires running the X font server earlier. Just a thought... -Ronald Stoddard

  103. Re:an issue is it??? by Anonymous Coward · · Score: 3, Insightful
    And as far as environmentally responsible is concerned...unless you don't own a car, are completely off the power grid, never flush your toilets unless they are full, take sponge baths, and recycle absolutely everything, I'd shut the hell up.


    This is faulty logic. This is like saying "Since I can't do everything, I'm going to do nothing". That's the kind of piss-poor logic which unfortunately is contributing significantly to the current dismissive attitudes toward environmental protection. Sigh...

    A strong argument to counter yours would be the simple "Well, I may not be perfect, but at least I'm better than you".
  104. Re:an issue is it??? by Trillian_Angel · · Score: 2, Interesting

    Well, I reboot my system fairy often. It is a laptop, and it goes on numerous car trips -- and shutting the lid, taking it out into -10 C and below while running is rather stupid.

    My laptop and my friends decrepid XP system have similar boot times, but as I utterly dislike windows, I'll cope with the boot times

    It WOULD be nice if some programs (cough exim cough) would time out faster or at least allow you to bypass it when there is not an internet connection at the time. Waiting 5 minutes for that to time out is a -real- time waster.

    I could definitely use a proggie to show me exactly whats taking so long. Then I might be bothered to go and try to fix the problem (Read: Find someone with a little more computer know-how than me to fix it for me)

    --
    -- RJ
  105. Gentoo is heading this way by swillden · · Score: 1

    How about, uh, you know, actually loading multiple things at once instead of waiting for some service to take its time to start, therby holding everything else up along the way. That's what the problem seems to be - everything has to load in-line.

    (Note, I recently blew my one Gentoo system away and re-installed Debian unstable so I'm going from memory here).

    One of the nice things Gentoo has done is to add explicit dependencies into the init scripts. Most SysV boot scripts just go through all of the scripts for a specific runlevel in order and it's up to the administrator to make sure that daemon A is running when daemon B starts.

    Gentoo has explicitly scripted the inter-script dependencies. For example, suppose you want to start NTP to keep your clock up to date. When you run "/etc/init.d/ntp start", that script will check to see if the network interfaces are up (since NTP clearly needs network access) and if not it will invoke the relevant prerequisite service scripts automatically.

    This means that you can safely run the init scripts in any order you want. Any script that is invoked before all of its prerequisites are running will just fire them up first. So, theoretically, you could set rc to run /etc/init.d/kdm before anything else, which will get you to a login prompt as quickly as possible. If the scripts are written to handle concurrency properly, you could also just run all of them at the same time, booting all of the services in parallel (though that may lead to excessive seeking).

    Although I'm not a Gentoo user, the distro has a few good ideas that other distros should pick up, and I think the boot process is one of them.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    1. Re:Gentoo is heading this way by Anonymous Coward · · Score: 0

      I already did this and some other things. go here for the patch

      I also ported bootchart to gentoo

      If you want to see some charts and other things I have done to improve gentoo boot time, and look for comment #19

  106. Re:an issue is it??? by Mordaximus · · Score: 1
    Yeah. My desire to cut my electric bill in half is "stupid."

    You can cut your power bill in HALF, just by shutting off your workstation. Christ, what are you running, a PDP11?

  107. acpid rocks! by Anonymous Coward · · Score: 0

    My computer can be shutdown by:
    A. Pressing the power switch on the front of the case. (acpid detects this and performs a clean shutdown immediately)
    B. Pressing the power key on the keyboard. (I remapped it to C-A-Del, see point C)
    C. Pressing Delete while holding down Ctrl & Alt. (init is set to execute shutdown -h instead of -r)

    Of these, B is usually most convenient, because my computer lives in a well-ventilated cabinet in my desk, and I'm too lazy to open the door. But before I had this desk, I always used A.

    Also, using the powerswitch, I can reboot (to go into DR-DOS, my second favorite multi-tasking, command-line-based OS) by double-clicking the power switch. This is accomplished by a couple shellscripts I wrote to wait 1 second before issuing the shutdown command, and using -r if a second press occurs.

  108. Problem is in the dependency model by photon317 · · Score: 2, Interesting

    ... Or lack thereof in the case of some various linux and other *nix boot processess. The first step in booting faster is to actually know for sure which things depend on which other things. The ancient simplistic approach was linear ordering (The "runlevels" are a higher-order linear ordering, and then within each runlevel the services were also number sequentially). If a linear ordered list is all you've got, then you're gauranteed to be doing a worst-case serial execution of all the startup tasks, which sucks.

    Have a look at Gentoo's init script setup. It actually knows about hard and soft dependencies. It still only fires off one script at a time at the moment, but importantly the system has all the right data in hand to parallelize the process. (Hard dependencies are for instance when then nfsclient script *requires* that the network script is run before it, soft dependencies are things like the apache script saying that *if* the mysql service is enabled, please start it before you start me, but I do not require it if it wasn't enabled explicitly by the admin).

    Gentoo would be a great jumping point for parallel ization of startup tasks. The only real issue is screen clutter.... but I think that can be solved (if not terribly elegantly) by line-buffering the startup messages and displaying them serially in whatever order they "complete", resulting in a random line-order on the screen, but nothing stepping on each other's lines.

    --
    11*43+456^2
    1. Re:Problem is in the dependency model by paulpach · · Score: 1

      Granted, I made this patch just for you: Go here for the patch

      You can see the charts that I created for parallel startup here in comment #19. You can find there other things I have done to improve gentoo boot time. and an ebuild for bootchart. Enjoy.

  109. Server Slashdotted? by Anonymous Coward · · Score: 0

    HTTP/1.1 503 - Server Slashdotted
    Be nice to the SourceForge mirror.

    Great error message, I think I'll update my server.

  110. That's why by gr8_phk · · Score: 3, Informative
    So THATs why XP boots so fast....

    As an embedded programmer, I've got to get many startup diagnostics and initializations done in the shortest time possible (under 1 second usually) - otherwise you'd be waiting for your car to boot every time you turn on the key. Everything in parallel that can be. Dependancies are mapped out and a static start sequence is defined. Linux has a more variable set of things to do, so I'd expect a more flexible implementation. This shocks me that there is NO implementation.

    It doesn't matter what MS does, every application wants load at boot time so it will respond quicker later - this just kills my boot time. Yah, a whole tray full of crap starts and I sometimes use one of those things.

  111. Re:an issue is it??? by Anonymous Coward · · Score: 0

    19:25:54 up 160 days, 7:14, 4 users, load average: 0.07, 0.04, 0.00

    i wouldn't mind if my computer shut down every now and then when i walked away from it, and then booted up again when i got back in the room.
    what's the point of having some linux box running in dusty corner 24/7/365 when you're not at home even half that time? think of all the wasted electricity and produced heat.
    if that box is your server -- OK.
    but if that box is your workstation -- not OK.

    just as windows users have got used to booting their computers, and begun thinking of it as normal thing; so have linux users got used to _not_ booting their systems, and begun thinking of it as it's normal thing.

    oh, and what i said about, "i wouldn't mind if my computer booted up when i got back to room", there is a must, that it would have to boot really fast.

  112. Gentoo can do this... by tetromino · · Score: 2, Informative

    In Gentoo (well, at least in ~x86), just edit your /etc/conf.d/rc and set RC_PARALLEL_STARTUP="yes", and now at boot, your daemons start in parallel if possible. Don't know if other distros can do this yet - it looks like Gentoo's own invention.

    1. Re:Gentoo can do this... by paulpach · · Score: 2, Interesting

      No. RC_PARALLEL_STARTUP is not very parallel. At any given time, there is only one task running or two tasks and a busy wait. I have written a trully parallel startup patch for gentoo. Go here for the patch

      You can see the charts that I created comparing RC_PARALLEL_STARTUP to my parallel startup here in comment #19. You can find there other things I have done to improve gentoo boot time. and an ebuild for bootchart.

    2. Re:Gentoo can do this... by tetromino · · Score: 1

      That's ... impressive. However, some of the optimizations look rather risky. E.g. shouldn't netmount wait for net.eth0 to successfully finish?

    3. Re:Gentoo can do this... by paulpach · · Score: 1

      it does. there is a dependency system in gentoo which I fully respect in my parallel patch. netmount waits for net.eth0. It sleeps, you see a cat net.eth0 in the chart which is the way I found to make it sleep. Once all it's dependencies are done, it starts. That means that things are parallel unless they depend on each other.

  113. Re:an issue is it??? by pclminion · · Score: 2, Interesting
    You can cut your power bill in HALF, just by shutting off your workstation. Christ, what are you running, a PDP11?

    It isn't that my computer draws a lot of power -- it's that the rest of my house draws so little.

    And my primary motivation is NOT saving money. Yeah, I save a lot on the electric bill, but consider this: I recently plonked down $1252 for a washer/drier (at a hefty discount, retail would have been $2200 but I got a special deal) that averages about 10% of the energy/water usage of a "normal" washer and drier. It'll take me over 8 years to recover that cost in the form of energy savings, but I don't care. I'm interested in saving energy, not money.

    My next big project is to install a solar water heater on my roof as a booster for my normal water heater. It's kind of tough this time of year, because I go to work in the dark, and come home in the dark.

  114. Compiled /bin/sh? by 4of12 · · Score: 1

    How much speed up could be got by "compiling" the scripts in /etc/init.d?

    I like the other idea that independent processes can be marked for concurrent startups without waiting.

    Everywhere I look these days, system boot up scripts, package dependency installation, it seems like dependency analysis lurks.

    --
    "Provided by the management for your protection."
  115. Re:an issue is it??? by Anonymous Coward · · Score: 0

    35 watts/hour??
    Watts are a unit of power, which is energy per unit time.
    (1 W)=(1 J)/(1 s)
    watts/hour would then be a rate of power, so if your computer uses 0 watts now, 35 watts an hour from now, 70 watts 2 hours from now, etc., then you are correct.
    More likely, your computer uses power at a rate of 35 watts.

  116. Mod him down by Chuck+Chunder · · Score: 1

    Not because "RH = King of Linux".

    Mod it down because it's just a vague list nonsense. If he told us exactly why their config utils suck and how that impacts boot times it might be interesting or insightful. As it is it's just a boring rant with no real informational value at all.

    --
    Boffoonery - downloadable Comedy Benefit for Bletchley Park
    1. Re:Mod him down by Penguinoflight · · Score: 1

      Configuration tools make up redhats boot sequence. When you go to linuxconfig, or soundconfig, etc... redhat's config files are being changed.

      Think of it like writing a wysiwyg html editor, it's just better if you write it yourself.

      The only proof necessary that redhats configs suck is the superior boot times of lower profile distributions. yOPER is a new distribution, and in my testing it was much faster loading. Check their discussion board, people get excited about this "amature" distro loading faster, and it does use autoconfiguring utils.

      I was ranting because redhat could do better, they just dont want to. Looking back to the LSB, redhat included their own projects as the standard tool, when a better tool was clearly available.

      People have still been giving redhat the highest respect, and I think they need to apologize before they get any respect back.

      --
      "And we have seen and do testify that the Father sent the Son to be the Savior of the World"
      1 John 4:14
  117. Huh? by Jugalator · · Score: 1

    Is this news among *nix operating systems??

    Windows XP users have had such a utility for years by now (search for Microsoft BootVis).

    Automatic profile generation and optimization by reording the boot sequence to make optimal use of idle CPU and hard drive time. And yeah, it's graphical so you can manually analyze what's taking a long time to do as well.

    --
    Beware: In C++, your friends can see your privates!
  118. Re:an issue is it??? by incog8723 · · Score: 1

    Unless you need your computer to be running 24/7, leaving it on is a tremendous waste of energy, and I think it's unethical. You're an ass.

    When your switching power supply starts breaking motherboards by turning it off and on every goddamn day, tell that to the recycling plant that you will never use.

  119. one command... by Anonymous Coward · · Score: 0

    vga=788

    1. Re:one command... by Zorilla · · Score: 1

      But bizarre things need to happen if you want a background image. To change the resolution of the bootsplash in Mandrake while keeping the background, I had to run some command that wrote a new initrd file. I guess it contains the raw binary form of the image somewhere in the kernel loader or something.

      It comes out to more like four or five weird commands that don't come naturally.

      --

      It would be cool if it didn't suck.
  120. Bootvis by BReflection · · Score: 1

    Microsoft also has a program developed for in-house use only called Bootvis.

    --
    python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  121. Why haven't UNIX expanded on the init levels ? by cyrus007 · · Score: 1
    ... At one time it was defined as the following:
    0) Shutdown/Reboot
    1) Super user mode
    2) Single user with network
    3) Full network without X
    4) Not Used
    5) Full network plus X
    6) Shutdown
    Now most of the distro have variations on this but not much. Gentoo has boot and default. I would like it to be something like:
    0) Shutdown/reboot
    1) Super user mode
    2) ---
    3) Local Server mode, no X
    4) Secure server mode for outside world
    5) Desktop mode with X
    6) ---
    or some variation thereof. Is there a way to incorporate this concept with a make file and write an init process driven by that makefile ? On the bootpic front I would really like something like the KDE/Gnome splash-screen during the boot process showing the state of different devices/processes instead of the Suse inspired splash-screen used by most distros nowadays.
    1. Re:Why haven't UNIX expanded on the init levels ? by Anonymous Coward · · Score: 0

      Just edit your /etc/inittab and write/fix the corresponding scripts... won't take many minutes to fix what you asked for....

  122. i want MRAM now by lrhegeba · · Score: 1

    never mind spending a lot of effort for speeding up the boot process. as soon as MRAM will be available hibernate/standby/startup time are obsolete.

  123. Re:an issue is it??? by pclminion · · Score: 1, Troll
    When your switching power supply starts breaking motherboards by turning it off and on every goddamn day, tell that to the recycling plant that you will never use.

    Quit perpetuating this stupid myth. Read.

  124. Wake on Lan Wake on Power button by pele_smk · · Score: 1

    We can send just enough power to the lan card to have it start the computer, so why not leave just enough power to the memory to keep the system up. I guess that's what standby tries to do, but poorly accomplishes.

    1. Re:Wake on Lan Wake on Power button by RzUpAnmsCwrds · · Score: 1

      "We can send just enough power to the lan card to have it start the computer, so why not leave just enough power to the memory to keep the system up. I guess that's what standby tries to do, but poorly accomplishes."

      Standby indeed does exactly this. Standby rocks, but only if you have an OS with a good ACPI implementation. Even the 2.6 kernel has a horribly broken suspend system - neither my desktop nor my notebook will enter S3 under Linux.

      With Windows, though, my notebook suspends in about two seconds and wakes in about three. Battery drain is about 5% per day. I have it set to wake up after 24 hours and suspend to disk (hibernate).

  125. Slashdotted? by Spy+der+Mann · · Score: 1

    From the website:

    HTTP/1.1 503 - Server Slashdotted
    Be nice to the SourceForge mirror.

    Cool! Now slashdotting has an official HTTP response! :D

  126. OH WOW... by bored · · Score: 1

    Damn, I always thought that the init process in linux was the primary problem. Looking at that graph its going to take a lot of work everywhere to get linux booting as fast as XP. It looks like init hasn't even started in the 15 or so seconds it takes my similar XP machine to boot to the start menu.

  127. Re:an issue is it??? by chuck · · Score: 2, Insightful

    Your source seems rather ambiguous. Sure, more respondents said to turn it off each day than said it would be harmful, but it wasn't overwhelming, and none of them have any data to back it up.

    I've seen PCs run for five years straight, with no problems. And I've had so many PCs fail when I power them on. It seems like power cycling sucks, to me. That said, I turn my PCs off to save power, especially here in NY it's pretty expensive.

  128. minit by Kent+Recal · · Score: 1

    A story about slow bootup and nobody mentioned minit, yet?

    Well, it does exactly what some people proposed: launch stuff in parallel.
    It works and is noticably faster than SysV-init (my laptop comes up in 18s).

  129. Why do we need to go through the boot process? by hazee · · Score: 1

    Is it really necesary to "boot" a computer at all?

    When you boot, a whole bunch of programs are loaded into RAM. Since these will be spread all over the disc, the time taken to load all this stuff will be far greater than just the sum of the bytes divided by the disc's maximum transfer rate.

    In addition, most of these programs will then need to initialise themselves, requiring yet more time.

    The point I'm getting at is that, having gone through all this, the end result is pretty much the same every time - you end up with the same programs loaded, initialised in the same way.

    So why not just dump the final result from RAM to disc as a single snapshot file?

    Obviously the use of snapshot files for suspend/resume is well established, but the crucial difference is that these create the snapshot just before you suspend, so it's going to be different every time, and besides, by that point you'll no longer have a "clean boot" configuration. Instead, I'm suggesting creating the file immediately after the boot process has completed.

    Then the "boot process" from cold would simply involve loading this snapshot into memory in one go.

    I can see one potential problem - the computer won't be set up *exactly* the same after different reboots, but surely there *is* a lot of commonality? The bits that change could be configured after the snapshot has loaded.

    Maybe I'm missing something obvious, because I haven't seen this anywhere, but what?

    1. Re:Why do we need to go through the boot process? by RzUpAnmsCwrds · · Score: 1

      "Maybe I'm missing something obvious, because I haven't seen this anywhere, but what?"

      You haven't seen this anywhere? Perhaps you haven't used Windows 2000 / XP / 2003. It's called hibernate.

      There's even support for this in Linux, although it has a number of issues (particularly with X).

      In Windows, Hibernate dumps the memory, processor state, and other info to disk and shuts down. When you reboot, it restores. Depending on your system and how much memory you have (the more you have, the longer it takes), this can be as little as 5-10 seconds.

      Personally, I don't bother with Hibernate. S3 suspend shuts off just about everything except the RAM, and my laptop can resume from S3 in about three seconds. My desktop takes around 5 seconds, but it has a dated BIOS.

    2. Re:Why do we need to go through the boot process? by hazee · · Score: 1

      But the point is that Hibernate shuts down immediately after creating the disk file. I want to snapshot the system immediately after a clean boot, then keep working. Then subsequent "boots" would return me to that "just booted" state. With hibernate you are restored to the "used" state.

  130. Similar software can be found here: by Crazy+Eight · · Score: 1
  131. Hey Hey Hey I deserve the credit here :-) by Peaker · · Score: 1

    I did the first make-based boot system, IBM did it later :-)

  132. Re:an issue is it??? by Crispy+Critters · · Score: 2, Insightful
    I'm interested in saving energy, not money.

    Did you do any research into the relative amounts of energy used in constructing different washers? Think of a $1k front loader vs. a $400 top loader. That extra $600 either (1) is pure profit margin, or (2) pays for more complicated construction. (1) is unlikely in a competative market. (2) means it is likely more energy is used constructing the fancy washer.

  133. Re:Does it matter? yes LAPTOPS LAPTOPS LAPTOPS by tomjennings · · Score: 1

    Laptops. They boot often. My servers it matters not. Laptops. I know about swsusp. Laptops still boot "often".

  134. Pah! by Anonymous Coward · · Score: 0

    I've recently logged in to a certain customer's standardised Windows XP desktop, both under a login which was temporarily assigned to me, and under one assigned to an actual customer employee. In both cases,from login to usable desktop was 6 minutes or greater. Booting the OS was 3 minutes; logging in to another PC (which had already done this config for another user) took 6 minutes or more.

  135. Re:an issue is it??? by beholder77 · · Score: 1

    Agreed. To further that, what type of system is the grandparent using that sucks down 35W/hr? Any modern Athlon system or P4 with the hard drives spinning will be closer to 110-120W/hr. Yes folks, your PC is over the 100W light bulb range. I'm sure you don't keep those on all night.

    Modern PC's use more power than the CRT's we've connected to them.

    --
    Success is as dangerous as failure, hope as hollow as fear.
  136. Wtf? by Anonymous Coward · · Score: 0

    With those fluttering eyes I thought you were coming on to me. Freak. Honestly.

  137. SVG is Slashdot Friendly. by Anonymous Coward · · Score: 0

    I don't know if anyone realizes this, but that SVG could have been posted here. Unlike say the PNG.

  138. 503 message... by professorfalcon · · Score: 1

    The web server appears sentient: HTTP/1.1 503 - Server Slashdotted