Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Why Do Computers Take So Long to Boot Up?

Posted by Zonk on Sun Dec 10, 2006 08:48 PM
from the tired-hampsters dept.
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?"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • hum (Score:4, Informative)

    by bedonnant (958404) on Sunday December 10 2006, @08:49PM (#17189088) Homepage
    hibernation?
    • Re:hum (Score:5, Insightful)

      by grolschie (610666) on Sunday December 10 2006, @09:30PM (#17189520)
      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.
      • Re:hum (Score:5, Insightful)

        by silverkniveshotmail. (713965) <everettpf3&gmail,com> on Sunday December 10 2006, @09:44PM (#17189674) Journal
        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)
    • Re:hum (Score:5, Insightful)

      by Nutty_Irishman (729030) on Sunday December 10 2006, @09:31PM (#17189530)
      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.
        • Re:hum (Score:5, Interesting)

          by SCPRedMage (838040) on Monday December 11 2006, @02:28AM (#17191580)
          even with several open programs.
          The point of hibernation is that it doesn't matter how many programs are running. It'll always write the same size file when hibernating, so it'll always read the same size of file coming back up. The number of applications running is largely inconsequential.

          Of course, it should be noted that there IS a way to have Windows leave the hibernation file alone unless you tell it to hibernate again; that is, a hibernate once, resume many kind of situation. It's a trick often used when building a car PC. You get the system to the point where you'd want the system to start from, then tell it to hibernate. From then on, it'll resume from that spot. If you can get your system to work properly with hibernation, it's just about as fast as you'll ever get it to boot.
          • Re:hum (Score:5, Informative)

            by pakar (813627) on Monday December 11 2006, @04:01AM (#17192032)
            Depends on what mainboard you have.. Love my new Asus mainbord with that so called "ams live" feature. Takes about 3-4 seconds for the POST on a coldboot.

            And if you really want to speed up the bootprocess on some system have a look at the linuxbios project, if you mainboard is supported that is.

            And some hints on how to speed up the bios "boot":
            - Hard-configure the HD's you have in your system and deactivate any unused master/slave positions.
            - If running PATA make shure master/slave is connected to the correct position on the cable and use the jumper to set it to master or slave instead of autodetect.
            - Activate fast-boot
            - Disable anything you dont use on the mainboard, if running linux check if you can disable IDE controllers you dont use for booting, some might still be usable after booting the OS.
            - Activate fast-boot, on a warm-boot there are alot of tests that can be skipped.
            - If you have any bootable cards in the system disable their boot-bios so they dont have to be scanned during the POST.

            Just a few hints.

    • by EmbeddedJanitor (597831) on Sunday December 10 2006, @10:14PM (#17189922)
      Boot time is generally all PnP detection etc.

      Linux on an embedded system configured for fast booting(without plug and play peripherals etc) can boot in 2 seconds or so.

            • by Curien (267780) on Monday December 11 2006, @12:29AM (#17190948)
              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.
    • Re:hum (Score:5, Informative)

      by RobertM1968 (951074) on Sunday December 10 2006, @10:29PM (#17190050) Homepage Journal
      I dont think that hibernation answers the question that the poster was asking. Hibernation is a great way to resume a session. But how about resuming from a "just booted, nothing loaded" scenario? For some reason, and maybe it is because Microsoft is revising the definition of "booting", people seem to equate resuming from hibernation or sleep or deep sleep modes booting. It is not. It is resuming from... It is amazing though, that MS now is bragging about how fast Vista "boots" when all it is really doing is resuming from some sort of sleep, suspend or hibernation mode. The poster brings up a good point. Actual booting could be sped up by having a booted image saved - similar to a hibernation file, that the machine uses to boot from instead of actually going through the boot process of loading everything.
        • by The Monster (227884) on Monday December 11 2006, @12:13AM (#17190850) Homepage
          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.

      • Re:hum (Score:5, Informative)

        by electrofreak (744993) on Sunday December 10 2006, @09:32PM (#17189538)
        That can happen when you have more than 1GB of RAM. That happened when I upgraded to 2GB of RAM in my system. I did a quick Google search, and found that there is actually a Microsoft released hotfix [codinghorror.com] for the problem.
      • Re:hum (Score:4, Informative)

        by TheSpoom (715771) * <slashdot@ u b e r m 0 0 . n et> on Sunday December 10 2006, @10:52PM (#17190246) Homepage Journal
        Not saying you're wrong or anything, but I've rarely had problems with it. You need to have at least as much free HDD space as you have RAM so it can write the image, but beyond that it's been pretty stable, at least for me, and I run tons of apps.

        There is one issue I had at one point which is that my nVidia video drivers would BSOD on resuming, but updating them fixed that and I'm pretty sure they've fixed it completely in their newer cards.
      • Re:hum (Score:5, Informative)

        by julesh (229690) on Monday December 11 2006, @04:37AM (#17192214)
        If your only concerned about fast startups, why don't you just install Windows ME.

        Or linux with 'init=/bin/sh'. Only takes a couple of seconds on my machine.
  • by JonathanR (852748) on Sunday December 10 2006, @08:50PM (#17189094)
    It is because until now, you haven't submitted your question to Slashdot.
  • boot time (Score:4, Informative)

    by TheSHAD0W (258774) on Sunday December 10 2006, @08:51PM (#17189108) Homepage
    I think a large portion of the delay is initializing and setting states for all the hardware. Reducing the kernel and libraries to an image might speed things up, but not by much. It'd be about as fast as starting up from hibernation mode.

    If you want a quick start, just use sleep mode. Takes very little power and you're up in seconds.
    • Re:boot time (Score:4, Insightful)

      by Megahurts (215296) on Sunday December 10 2006, @10:20PM (#17189960)
      >I think a large portion of the delay is initializing and setting states for all
      >the hardware. Reducing the kernel and libraries to an image might speed things
      >up, but not by much

      I completely disagree. It takes very little time to initialize hardware and a whole lot of time to load software. For instance, when I just installed xp64 after my last upgrade, the system would be up and running in about 20 seconds. Now that I've been running the machine for 6 or 7 months and have been through a few cycles of installing, removing, and upgrading various pieces of software (with notable differences made upon the installation of adobe and microsoft productivity apps), it takes closer to 40-50 seconds to boot. And that's with absolutely no change in the hardware configuration.

  • fast booting TVs ? (Score:5, Interesting)

    by HughsOnFirst (174255) on Sunday December 10 2006, @08:52PM (#17189112)
    "Why can't a computer turn on and off in an instant just like a TV?"

    My new HDTV takes about a minute to boot. Something about an ATI bios
  • by Anonymous Coward on Sunday December 10 2006, @08:54PM (#17189126)
    I triple boot NetBSD, FreeBSD and x86 Solaris on my old desktop with an Athlon XP processor, and 512 MB of RAM. I don't recall off-hand the exact processor speed.

    Regardless, NetBSD is the fasted of the three. It takes a little over 6 seconds from power-on to the login screen. FreeBSD takes 11 seconds. Solaris is a bit longer, clocking in a 14 seconds. I know these times because I was curious of this question as well, and so I did the timings. All three systems are basically the default installs, plus whatever initialization file changes there have been from installing various pieces of software.

    Solaris does start into X, so that may be why it takes longer. Still, adding the 2 or so seconds it starts to get X running, NetBSD and FreeBSD are still less than Solaris.

  • by DreadSpoon (653424) on Sunday December 10 2006, @08:54PM (#17189134) Homepage Journal
    There are two reasons why your suggestion won't work.

    First, let's say that you upgrade some hardware. There will be no way for the OS to know that there's new hardware unless it goes through the hardware detection and configuration stages of bootup, which is what takes most of the time. Worse, if it doesn't do this, the system will probably just crash, as the memory image loaded will have the wrong set of drivers installed and they'll be pointing at the wrong set of hardware addresses.

    Second, and this is more of a recent issue, there is a lot of work that's going into randomizing memory addresses to increase security. In the event of a security hole, randomized memory addresses make it far more difficult to take control of the machine as a hacker, virus, or worm can't use a hard-coded memory address during the attack. With a pre-built boot-up image, the memory addresses will not be randomized, which defeats a lot of the gain of this security benefit.

    That said, you could just use hibernation on your computer. That is essentially the same thing as what you're asking for. A desktop is just as capable of sleeping or hibernating as a laptop is. The only thing is, if you want to make any hardware changes, you must remember to turn on the machine and do a complete shutdown first.

    Also, there are companies who are focusing on bootup speed. In fact, every major Linux distro has been focusing on it for the last year or two. It's unfortunately just not that easy to speed things up without sacrificing stability or functionality.
  • STR (Score:5, Insightful)

    by SmartSsa (19152) on Sunday December 10 2006, @08:54PM (#17189138) Homepage Journal
    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.
  • by maird (699535) on Sunday December 10 2006, @08:58PM (#17189172) Homepage
    I've spent a lot of time using Windows in virtual machines. For VM platforms that provide on-demand block allocation for virtual disks you can see a typical Windows boot do wild things like write to 250MB worth of blocks that were previously unused (i.e. the virtual disk grows by 250MB). NB: I'm talking about an ordinary boot, not one following installation of anything. It gets harder to see as virtual disk occupancy increases but it's an eye opener.
  • Valid point (Score:4, Interesting)

    by Mostly a lurker (634878) on Sunday December 10 2006, @08:59PM (#17189184)
    it could go through the real booting process and save the results. Doing this would also give you instant restarts.
    Interestingly enough, on IBM mainframes 30 years ago, booting OS/VS1 under VM/370 took over five minutes. VM, however, had a SAVESYS command that allowed the state of a virtual machine to be saved and later loaded at any time. We were able to freeze OS/VS1 close to the end of the boot process and save it. The same can, of course, be done with VMware today. I see no technical reason why an operating system should not be able to do this semi automatically for native booting.

    Some will say hibernation gives the same facility, but (at least with Windows) a clean boot needs to be done fairly often (when using a Windows development box, I reboot it daily).

  • by dpbsmith (263124) on Sunday December 10 2006, @09:01PM (#17189208) Homepage
    Indeed.

    In the beginning, say from Edison's development of the electric lighting system, through the invention of the fractional-horsepower motor which enabled the development of home appliances such as vacuum cleaners and washing machines, most things started up in a fraction of a second.

    Then came vacuum-tube-based electronics, which took a minute or two to warm up.

    Then came the "solid state" revolution, and, once again, things started up instantly. WIth the exception of television sets, which had a vacuum-tube-based "picture tubes" in them. However, manufacturers soon developed circuits that kept a small amount of current flowing to keep the filament partially warm while the set was "off," producing "instant-on" televisions.

    Early hobbyist computers were instant-on, too. Before diskette drives were common, the machine had everything it needed to boot stored in ROM and was up displaying some kind of welcome prompt within a fraction of a second. Even when the serpent entered Eden in the form of "operating systems," startup was quick. When you turned on an 48K Apple ][+ with a diskette drive and spiffy Apple DOS 3.3, there was a brief "whish" as the disk spun and loaded a few K of code into the processor, and there you were.

    It seems to me to be lazy design that says that booting consists of more than loading code into RAM and establishing state for the internal hardware. I have no idea why OSes must churn away for big fractions of a minute _running_ code. Why can't it just load a snapshot of the desired final state of RAM?

    What really gripes me is that lately Windows and Mac OS X have taken to presenting an empty _illusion_ of a faster startup. What seems to be happening is that all the minute-long processes still churn away, but the processes that present the UI run in parallel. The result is that the visible desktop gets into a displayable and interactive state quickly. But while the UI seems to be ready, nothign else is... particularly anything to do with the local network. If you actually try to do anything on that desktop, you still encounter minute-long delays.
  • by sbaker (47485) * on Sunday December 10 2006, @09:02PM (#17189224) Homepage
    (I hope I have this story right...this is from memory)

    The story goes that the engineer working on the boot sequence for the original Mac was working late one night when Steve Jobs wanders past and asks how long the thing takes - the engineer is pretty happy that he's gotten it down to around 30 seconds (or however long it was) and that's probably good enough. Jobs then comments that they'll probably sell at least a million of these things - and each one will probably be booted a couple of times a day - and the machines will last maybe five years - so if he can save just one second more from the bootup time - that's equivelent to 113 years from the lives of Mac owners. So if you can save just one more second - that's like saving someone's life.

    Talk about pressure!

    But it's a serious point. 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. Someone should take this seriously.
    • Hate to imagine the amount of human lifetimes lost on slashdot...
    • by ceoyoyo (59147) on Sunday December 10 2006, @09:53PM (#17189750)
      Well, if everybody just stared at their screens and drooled while they booted, I guess you could say something was being wasted. Except for all the quality drooling time, of course.
    • by Almahtar (991773) on Sunday December 10 2006, @10:30PM (#17190066) Journal
      If everyone did a few situps, pushups, jumping jacks, whatever while waiting for a shutdown + restart to happen, I wonder what the overall health impact would be? 1 second could turn into 1 jumping jack, which would be 113 * 365 (days in a year) * 24 (hours in a day) * 60 (minutes in an hour) * 60 (seconds in a minute) jumping jacks. 31536000 jumping jacks. How many lives would be so much more prolonged by that amount of jumping jacks? What impact could that make on the high obesity rates in America (guilty as charged...)?

      Perhaps those lifetimes aren't wasted by necessity but by negligence, laziness, and choice.
    • 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.

      I just spent 30 seconds reading your post.

      YOU BASTARD!
    • by evilviper (135110) on Monday December 11 2006, @02:07AM (#17191500) Journal
      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.
  • 30 Seconds? (Score:4, Interesting)

    by sammy baby (14909) on Sunday December 10 2006, @09:05PM (#17189270) Journal
    Around 30 seconds?

    I work for a large Fortune 500 company which does IT consulting. My work-issue laptop comes with a lot of baggage, including anti-virus, anti-spyware, automatic backup & disaster recovery, a special system update program, et cetera, et cetera.

    How bad is it? It's like this: I can start my computer, and within about a minute, I get a standard XP pro login screen. After entering my username and password, I immediately get up and walk away, down a flight of stairs, out the door, and about a hundred yards to our campus cafeteria, where I'll buy a coffee. By the time I get back, my coffee is cool enough to drink, and my laptop is usually in a useable state.
  • by dpbsmith (263124) on Sunday December 10 2006, @09:06PM (#17189282) Homepage
    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.

    • by 0123456 (636235) on Sunday December 10 2006, @09:16PM (#17189370)
      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.
      • by evilviper (135110) on Monday December 11 2006, @01:56AM (#17191440) Journal
        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.

        It's called "auto end task", and it's just a couple settings in the Windows registry. I've been using it successfully for a VERY long time now, and it works exactly as you'd want:

        http://www.winguides.com/registry/display.php/199/ [winguides.com]

        If the program doesn't end (30 seconds) after it gets the kill signal, it gets killed without requiring you to be there to hit the button.
  • Be serious (Score:5, Funny)

    by BCW2 (168187) on Sunday December 10 2006, @09:08PM (#17189292) Journal
    If Windows didn't go through the complete boot process each time how would it come up with random reasons to crash?
  • by bunions (970377) on Sunday December 10 2006, @09:28PM (#17189502)
    honestly, this is like the dumbest possible way to ask why we can't have faster boot times.

    Ok, maybe not. The dumbest possible way is probably something like:

    "why can't the compujigger turn on faster, like the whatchamavision?"

    but still, it's pretty damn close.
  • I remember when. . . (Score:4, Interesting)

    by Fantastic Lad (198284) on Sunday December 10 2006, @09:45PM (#17189678)
    Back when I was a kid, I ran a cute little TRS-80 Color Computer. It had an on/off button. You pressed it, and it was on and ready to go. You pressed it again, and it was off, nice and tidy. Yeah, it had only 32 kb, but hey. It was fast.

    Today I have an HP Jornada 820 built in 1999. It runs Windows CE, and it turns on faster than anything. You hit the on/off button and you are either on or off just like that. --Best of all, it holds open all of your documents and programs exactly as you left them. I feel confident not saving stuff because it's so rock-steady reliable. The little critter is run on Flash memory; no hard drives.

    My PC. . ? Well now. . , that beast is slow. Very slow.

    I thought electrons moved at the speed of light, so what's the hold up? I refuse to blame the hard drives; those things are usually faster than Flash memory. So what's up? Bloat-ware? Too much hardware to configure? Poor programming? All of the above?

    I don't know, but I suspect that if engineers had their act together and were not constrained by the ridiculous way of doing things which are currently in place, we'd have much better machines available.


    -FL

  • by aldo.gs (985038) on Sunday December 10 2006, @09:48PM (#17189704)
    I mean, all those gears and counterweights can't be that slow, now can they? Wait...
  • i-RAM (Score:5, Informative)

    by phalse phace (454635) on Sunday December 10 2006, @10:19PM (#17189956)
    I'm surprised no one's mentioned Gigabyte's i-RAM yet.

    According to Anandtech, booting with the i-RAM into Windows XP takes 9.12 seconds. [anandtech.com]

    "With a Western Digital Raptor, you can go from the boot menu to the Windows desktop in 14.06 seconds; with the i-RAM, it takes 9.12 seconds. It's not instantaneous, but it's definitely quicker and noticeable."
    • Re:Oh please. (Score:5, Insightful)

      by chaos421 (531619) on Sunday December 10 2006, @09:01PM (#17189202) Homepage Journal
      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.
      • Re:Oh please. (Score:5, Insightful)

        by LurkerXXX (667952) on Sunday December 10 2006, @09:23PM (#17189450)
        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.
      • Re:Hibernate (Score:5, Informative)

        by tulare (244053) <(moc.tahepuat) (ta) (demmaps)> on Sunday December 10 2006, @09:14PM (#17189352) Journal
        That's one of the things that always amazed me about OS X. You can fault it for various reasons, but by god, you shut the lid on your iBook, and five seconds later, it's in zzz mode (with a battery life of about two weeks - I tested that once). Open the lid up, go "one, one thousand..." and it's awake and ready to use. I've tried this on some of the newer Intel-based MBPs and regular MBs, and it works just as well. So Apple has it dialed. What gives with the rest of the computing world? My stupid Latitude has such a buttfargled ACPI that windows goes "Derr, BSOD" when I try to use hibernate, and of all the Linux distros I tried on it, only Kubuntu came close to doing it right. The problems it encountered at wake-up were sufficient that I finally gave up on hibernate (as well as Kubuntu - on to a better KDE distro), and simply have it blank the screen when I flip the lid shut. It's good for about four hours that way, which is usually enough.
        • Re:Hibernate (Score:5, Informative)

          by pasamio (737659) on Sunday December 10 2006, @09:24PM (#17189458) Homepage
          same with my ibook g4, i just put the lid down and walk away. it always wakes up. on the powerbook hd, and macbooks (incl pro), sleep actually stores a hibernate image on the disk so that if you either 1) run out of battery or 2) manually pull the battery out (lets say on a long intl flight) and put in a new one. If you do a wake when you haven't killed of the power source (99% of the time really), it uses the RAM to continue operation. If you've disconnected power for whatever reason, it will wake up, present a little loading bar (incl a screenshot of your desktop if you don't require a password to unlock your computer from sleep/screensaver). Heres an Apple doc on it: http://docs.info.apple.com/article.html?artnum=302 477 [apple.com]
    • by 0123456 (636235) on Sunday December 10 2006, @09:23PM (#17189448)
      "I blame it on our slow ass hard drives."

      Slow? My ordinary, everyday IDE drives can read over 60 megabytes per second. That could fill my PC's entire memory in about fifteen seconds.

      I suspect the real problem may be that the operating system is still paging in small parts of DLLs and programs rather than loading them all in one go. Loading 4k pages one at a time made sense when the operating system was a couple of megabytes, but when you're loading a hundred megabytes of crap off the disk just to get to the desktop, you'd be much better to load the entire thing in one go; disk seek times have improved by a factor of two or three in the same time that disk read speeds have increased by maybe a factor of a hundred.

      Does Windows still do that?
    • Re:Errr.... (Score:5, Interesting)

      by Fweeky (41046) on Sunday December 10 2006, @10:35PM (#17190098) Homepage
      I find XP refuses to hibernate with more than about 600MB of active memory; it makes an attempt, then returns you to the desktop with a popup bubble saying "Insufficient resources exist to complete the API". This necessitates me closing all my apps before each hibernation, and after a week or two even that won't work.

      Anyway, I remember using something closer to what the story is talking about, on the Amiga of all places; FastBoot [aminet.net] had you boot normally, then save a snapshot of the system at the end of the startup-sequence. Future boots would use this snapshot, which you generally didn't want to update at each shutdown -- you got 2-3s boot times, but each boot was clean. It worked surprisingly well for a scary hack :)
      • Re:Errr.... (Score:4, Informative)

        by Anonymous Coward on Sunday December 10 2006, @09:54PM (#17189756)
        The CRT filament-maintenance bias trick was done for awhile in the 60s and 70s, but it was eventually recognized for the waste of energy that it is. What happens nowadays is simply that the rest of the signals are not applied to the CRT until the cathode has warmed up. This improves the tube's service life, and avoids the "expanding dot" effect that you'd see on older TVs that brought all the tube voltages up at once.
      • Re:Errr.... (Score:5, Informative)

        by Anonymous Coward on Sunday December 10 2006, @10:21PM (#17189966)
        CRT TV's turn fast because the tube has a bias circuit to keep it warm. When turned "OFF" most TV's burn about 5W to keep the tube warm for fast start.

        No, they do not "keep the tube warm". Yes a TV might draw a few watts when in "off" mode due to the power supply for the digital logic section always being on. But just about every CRT based TV or monitor I have seen, except for maybe some real high end broadcast equipment, takes a few seconds for the tube to come up.

        You definitely weren't around in the 60's and mid 70's when we watched the tube warm up and the displayed image grow from a small dot to the full size of the screen. Sometimes it would take 20 or more seconds before the picture stabilized. When you turned the TV off you got to watch the "boot" process in reverse as the display shrunk to a dot. It was a big deal when we got "instant-on" TV's.

        Well yes, TVs used to take longer to fully power up, and didn't have dampening circuits to prevent CRT display after being turned off. They where basic fully analog devices, there was no logic that prevented the display of an image when the CRT was not yet in an operational state. In the 60's they would have been vacuum tube based (as in the whole TV, obviously a CRT is a vacuum tube) and taken a long time to fully warm up, and needed adjustment and retubing on a regular basis. In the 70's they would have been transistor based, and would have come up much faster, how ever they would still be fully analog and subject to the same power up and power down effects.

        Modern TV's have digital control sections that can compensate on the fly for variations in the analog sections of a CRT display, and higher performance switching power supplies and fly-back circuits that come up to operating voltage much faster. But you still have at least a short wait for the CRT to come up, they are not kept on warm idle of any kind. At least not in any displays I have worked on.

        I know this is probably getting off topic, but your post was marked +5 informative yet has miss information in it. Having worked on many CRT displays I just wanted to point out that the CRT is definitly not kept on any kind of warm stand-by, none that I have ever seen any way. What you are describing sounds similar to the stand-by mode in most guitar tube amps, where the heater filaments in the tubes are kept on to keep the tubes warm but the rest of the amp is powered down. I am not aware of this being done in modern CRT displays. Seems to me that if you did this it would dramaticaly shorten the CRT's life span, if the heater filaments were on 24x7x365. Someone correct me if I am wrong...
    • by The_Wilschon (782534) on Sunday December 10 2006, @11:03PM (#17190342) Homepage
      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.
          • by fyngyrz (762201) * on Monday December 11 2006, @03:18AM (#17191808) Homepage Journal

            The problem is old-school linear thinking we've inherited.

            There is no technical reason that a computer could not wake up, verify the keyboard, memory, hd, mouse and display are the same (in a few microseconds, probably) and be up and responding very well to the user, while (new concept, brace yourselves) the computer carefully brings up other hardware subsystems and makes them available as they become functional. You could be in a word processor, graphics editor, all manner of things that don't require more hardware until you do something like print or attempt to access the network; if those subsystems are not ready when you try to use them, the design would allow for [establishing hardware, wait or cancel] and there you have it.

            There is no problem whatsoever with plug and play concepts coexisting with fast usability other than current design shortcomings end users have been forced to live with. The computer is running as soon as the HD is spinning, memory sized, and the video card is on and the KB and mouse work. Just because current operating systems don't let you begin working at that time isn't a reflection on plug and play as a concept, it's a reflection of linear thinking that descends from old single tasking systems like early DOS.

            The idea that a 2...3 GHz 32 or 64 bit CPU cannot bring itself to decent usability in under a second is one that is silly right on the face of it except in that common systems are using old school thinking and layering more and more crap on top of that thinking. There is not a thing in the world that says drivers can't be loaded on demand, or after usability from boot, or separately. Nothing.