Slashdot Mirror


Why Do Computers Take So Long to Boot Up?

An anonymous reader writes "Computers take too long to boot up, and it doesn't make sense to me. Mine takes around 30 seconds; it is double or triple that for some of my friends' computers that I have used. Why can't a computer turn on and off in an instant just like a TV? 99% of boots, my computer is doing the exact same thing. Then I get to Windows XP with maybe 50 to 75 megs of stuff in memory. My computer should be smart enough to just load that junk into memory and go with it. You could put this data right at the very start of the hard drive. Whenever you do something with the computer that actually changes what happens during boot, it could go through the real booting process and save the results. Doing this would also give you instant restarts. You just hit your restart button, the computer reloads the memory image, and you can be working again. Or am I wrong? Why haven't companies made it a priority to have 'instant on' desktops and laptops?"

14 of 975 comments (clear)

  1. STR by SmartSsa · · Score: 5, Insightful

    Suspend To Ram.

    If you need to reboot, you're rebooting for a reason - likely because something in that "50 to 75 MB" has changed.

    Of course, if your box doesn't support suspending to ram, then hibernation is an ok alternative. But sometimes hibernate can be just as slow, if not slower than rebooting.

    end of line.

  2. Re:Oh please. by chaos421 · · Score: 5, Insightful

    don't you think that if computers booted in 1-2 seconds, people would be more likely to turn them off when not in use? odds are, if your computer takes more than a minute or so to boot you won't turn it off say over lunch or during breaks. think of all the energy we could save? for the energy conscious out there, you could start by turning monitors off when not in use.

  3. How about instant OFF? by dpbsmith · · Score: 5, Insightful

    What gripes me more than slow startup is the idea that a computer can't be shut off quickly.

    The last time we had a power failure at work, I tried to shut down my Windows machine, which was on a UPS. For some reason, the machine decided at that very exact instant... apparently _after_ I selected shutdown... that it would be a good idea to download and install a system update first! There did not appear to be any way to interrupt the process. Knowing that the batteries on the UPS weren't what they usta be, I quickly turned off the CRT to reduce the load, crossed my fingers, and hoped for the best.

    It took the machine the better part of ten minutes to shut down. Fortunately the batteries held out. Heaven only knows what would have happened if power had been interrupted while it was in the middle of installing a system update.

    Years ago the science writers used to tell us that we needn't be afraid of computers taking over the world because, after all, we could always shut off the power. Yeah, right.

    1. Re:How about instant OFF? by 0123456 · · Score: 4, Insightful

      Or not shut down at all. One day last week I told my work PC to shut down, turned off the monitor and went home. Next day I came in, and it was saying 'Adobe Acrobat Reader has crashed, press 'OK' to continue'.

      Like I give a crap. When I tell a computer to shut down, I want it to _shut down_; I do not want to come back hours later and find it didn't do what I told it to.

      This is particularly annoying in the morning when I've left my home PC running overnight doing video or 3D rendering, and it's swapped out vast megabytes of stuff to make room for a totally pointless disk cache (what's the point in swapping out programs to cache multi-gigabyte video files when I'm processing them from one end to another?), so when I tell it to shut down it first spends five minutes spinning up all the disks and swapping back in all the programs it swapped out... but if I head off to work while it's still shutting down I may come back in the evening to find it still sitting there telling me that some piece of crap little applet that I never even wanted to run crashed while shutting down.

      That's even worse than the fact that it takes two or three minutes after logging back in in the evening before it stops thrashing the hard disk and I can actually do something useful. At least I can make coffee or something while it's booting up.

  4. Re:Oh please. by LurkerXXX · · Score: 4, Insightful

    I really don't know if it's that great of an idea to turn of a computer over lunch. One of the hardest things on a computer (hard drive, motherboard, power supply, you name it) is starting up. That's when most hardware failures occur. Shutting the computer down for an hour at a time and rebooting is going to shorten lifetimes of your hardware. I think when that hard drive fries it might well take more energy to construct a new hard drive and restore backups, etc, than you probably would have saved during those 30-60 minutes x however many days.

  5. Re:hum by grolschie · · Score: 4, Insightful

    Hibernation is still not "instant-on" by a long shot. My P4 laptop still takes almost 3/4 as much time to resume from hibernation as it does to boot.

  6. Re:hum by Nutty_Irishman · · Score: 4, Insightful

    Hibernation doesn't save any time when it comes back up to rebooting, it's more of a convenience when you need to shut down and don't feel like closing all your apps. You might get the 10 seconds off your reboot when it comes back up, but you're probably looking at several minutes of extra paging time once you get back to using your apps. I once made the mistake of hibernating my machine when it had Photoshop, Matlab, Visual studio, and 5-6 firefox windows open. I spent an additional 5 minutes just trying to close all those apps so I could restart the machine to get my performance back.

    The only time I hibernate now is when my carpool is leaving and I need to shut down my laptop quick and don't have time to shut down everything. Standby isn't bad, but any savings that hibernate gives you are short lived.

  7. Re:hum by silverkniveshotmail. · · Score: 4, Insightful
    Hibernation is still not "instant-on" by a long shot. My P4 laptop still takes almost 3/4 as much time to resume from hibernation as it does to boot.
    Mine takes about the same amount of time to boot to the welcome screen as it does to come back from hibernation, but after hibernation i log in instantly, while it takes me about 45 seconds to fully load my desktop (dual-core 2.8ghz 2GB ram, windows xp sp2)
  8. Re:TVs don't need to do very much by The_Wilschon · · Score: 5, Insightful

    Also, the hardware on a TV doesn't change. It just doesn't. So you don't really need any of the BIOS' going "Wtf? Who am I? Do I have arms and legs? no. Do I have a cd drive? yes. What time is it? Will there be cake?" If you go entirely to an instant on through complete saving of the boot configuration, you lose all of the plug and play goodness that everyone oohs and aahs about (that is, suddenly things won't Just Work (TM) anymore). If you swap out a hard drive, or add a new DVD+RW drive, your BIOS doesn't freak out because it asks at every bootup what its got. The OS doesn't freak out because it has hardware detection routines too. Anything that can change from one bootup to the next which makes any difference at all to the things that start running during boot must be detected. Try putting your computer into hibernate (suspend to disk), and then changing the amount of ram. Will it come back up out of hibernate nicely? I doubt it.

    --
    SIGSEGV caught, terminating

    wait... not that kind of sig.
  9. Re:hum by megaditto · · Score: 4, Insightful

    Get a faster hard drive (if you are willing to pay the premium).

    I saw a WinXP laptop with a a 10k RPM drive resume from hybernation in what looked like 5 seconds.

    --
    Obama likes poor people so much, he wants to make more of them.
  10. Not just memory and registers by The+Monster · · Score: 4, Insightful
    And there's always the issue about changing it when you make changes to your system: update the OS, Virus Scanner, etc.
    That's not a particularly difficult thing to handle. A boot loader such as grub or ntloader can have its configuration file updated to force a full boot of the OS, which would include as its last step the creation of the new memory/register image file.

    The biggest problem of booting up like this is that the contents of memory and cpu registers isn't enough. The hardware has to be properly initialized as well. Since the internal state of the drivers indicates that has already been done, a consistent mechanism to force re-initialization of all hardware has to be in place after the system reloads the image. That might take as long as a normal boot does.

    --

    [100% ISO 646 Compliant]
    SVM, ERGO MONSTRO.

  11. Re:They have instant coffee now. by Curien · · Score: 5, Insightful

    Because people are stupid. If there were a specially-accessible (say, via the F8 key at startup on Windows) "re-detect hardware" boot option, and the default just went with whatever the OS already knew about, then people would first bitch about how "I put in a new soundcard, and Windows can't even see it!" And then when they learned how to detect it, they'd bitch about "Why can't Windows just do that automatically?!"

    Seriously, you want an OS that does exactly what you want at boot time? Use Unix. You want something that works reasonably without you having to mess with it? Use Windows. Don't blame Microsoft for your own poor choices.

    --
    It's always a long day... 86400 doesn't fit into a short.
  12. Re:Gotta mention the obligatory Steve Jobs story h by evilviper · · Score: 4, Insightful
    The amount of human lifetimes that are wasted waiting for PC's to reboot is pretty horrifying - and there's a lot more than a million of them.

    Only if everyone in the world sits around and waits for it to happen every single time, and does absolutely nothing else with that down time. It doesn't count if you spend that time even THINKING about another issue/problem. You have to sit there motionless, stare at the screen, and do absolutely nothing but age.

    Personally, I can find plenty of things to do with my time when I know I can walk away.

    The more significant issue, IMHO, is the responsiveness of programs. Forget boot-up times, when you don't even have to be there. How about the delay between clicking the Firefox icon, and waiting for it to start-up so you can do useful work? How about the delay between clicking on a link, and having that link load and render? How about the ammount of time the system is unresponsive as it does something (like render a webpage) in the background?

    That, IMHO, is many times more important, and something I certainly have to deal with far more often than reboots. Personally, I have a 2GHz system, with 1GB of RAM, and I still strictly stick with GTK-1 programs, because it's so much faster and more responsive than GTK-2 (or QT) equivalents (as well as not uselessly wasting screen realestate). Ever program I use has a fully functional GTK-1 equivalent, so I'm not missing out on anything by sticking with it, it's just an occasional hassle to change the default configure option, or using a different program because the new version of whatever dropped GTK-1 support (like switching from GAIM to Ayttm). It's a rare issue, and well worth the improved performance anyhow.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  13. comfort vs security by remmelt · · Score: 4, Insightful

    >The other issue I have is that I normally use a VPN to connect to work, and the VPN tunnel doesn't like getting shut down and restarted, especially with a different IP address, so I still have to re-authenticate by typing in my security token code to the VPN client.

    Isn't that what's supposed to happen? You've left your computer for a while, especially a portable one, it better disconnect any secure resources it has. It's comfort over security as usual, but I think this is by design.