Slashdot Mirror


Windows 8 To Feature 'Fast Startup Mode'

New story submitter CSHARP123 writes "Microsoft has posted details about a Windows 8 feature that is a hybrid between cold booting and waking up from a hibernated state. This feature is called fast startup mode. Gabe Aul, director of program management in Windows, explains: '[A]s in Windows 7, we close the user sessions, but instead of closing the kernel session, we hibernate it. Compared to a full hibernate, which includes a lot of memory pages in use by apps, session 0 hibernation data is much smaller, which takes substantially less time to write to disk. If you’re not familiar with hibernation, we’re effectively saving the system state and memory contents to a file on disk (hiberfil.sys) and then reading that back in on resume and restoring contents back to memory. Using this technique with boot gives us a significant advantage for boot times, since reading the hiberfile in and reinitializing drivers is much faster on most systems (30-70% faster on most systems we’ve tested).' The post contains a video as well, which shows Windows starting up in less than 10 seconds."

29 of 287 comments (clear)

  1. Time to Usable by Scutter · · Score: 4, Insightful

    Can we start talking about "Time to a Usable Desktop"? My laptop boots to a login prompt in 15 seconds, but after login it's another 2-5 minutes before it's done thrashing the hard drive. There are precious few (useful) tools available to track down everything the system is doing, and even fewer to help you improve the situation.

    --

    "Tell me doctor, with all of your defenses, are there any provisions for an attack by killer bees?"
    1. Re:Time to Usable by Anonymous Coward · · Score: 2, Insightful

      Doesn't really matter yet.
      There is a sweet spot between when you push the power on button to when the computer is usable.
      If it is about 5s or less then the user will stay at the computer during boot. If it is in the 10s or more the user will go and do something else that probably takes several minutes while the computer is booting and in that range it doesn't really matter if the boot time is 30s or 3 minutes.
      A 5s boot time will still make the user reluctant to use the computer while in a hurry and will cause stress and heart problems for simple things like looking up at time-table for the train and similiar things.
      Below 1s and there is not really any need to optimize it further. (Unless it is a server that gets its power on signal from the router when there is incoming communication.)

    2. Re:Time to Usable by Anonymous Coward · · Score: 5, Funny

      There are precious few (useful) tools available to track down everything the system is doing, and even fewer to help you improve the situation.

      Soluto does both, for Windows Vista and better, anyway.

      So... that means Windows 7, XP, 2000, 98, 95, 3.1, but not ME?

    3. Re:Time to Usable by JanneM · · Score: 2, Insightful

      Here's an idea for Ubuntu to beat Windows: Take a screenshot of the desktop when the user selects shutdown. Throw up that screenshot as the boot splash screen. Presto - Ubuntu "booting" in just a second.

      About as honest.

      --
      Trust the Computer. The Computer is your friend.
    4. Re:Time to Usable by andrewbaldwin · · Score: 3, Informative

      Now if you are part of an enterprise domain, it seemingly takes even longer.

      And if you have a corporate standard image with policies etc pushed out on each boot....

      On a cold boot, I can wander off, make a cup of tea, come back and it may just be ready. On a request for a reboot after a system update (and why it has to reboot after a change is yet another gripe) I could walk into town, go to the supermarket, buy a box of biscuits, queue up at the checkout, walk back and still be waiting for a usable system.

      Strange that all that downtime x the number of users never really appears in TCO calculations -- I guess that's what meetings were invented for (so we'd have something to do without access to the IT infrastructure

      ...and people ask me why I prefer Linux !

    5. Re:Time to Usable by couchslug · · Score: 2

      That much thrashing indicates something is wrong and/or you have too little RAM.
      The first solution for any old Windows install is to nuke-and-pave (format and reinstall). It takes less time than troubleshooting. Update, add apps, and see if the behaviour recurs.

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    6. Re:Time to Usable by neokushan · · Score: 2

      They're not killing hibernate, they're not REMOVING anything, they're simply making the computer start up and shut down operate differently by default. They've actually increased hybernate's resume speed as well because of this, so everyone benefits.

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    7. Re:Time to Usable by doobydoobydoo · · Score: 2

      There are precious few (useful) tools available to track down everything the system is doing, and even fewer to help you improve the situation.

      Soluto does both, for Windows Vista and better, anyway.

      I tried Soluto on my old laptop and was not impressed. I had lots of things in Startup that it either wouldn't disable or that I couldn't disable (lots of system processes, sound driver, etc. - basic stuff I'd need). I disabled tons of stuff but it didn't really seem to be any better (and, in addition, Soluto itself needs to start up, which slows things down quite a bit. I tried the "Delayed load" option, but that didn't seem to improve matters much, to be honest. Whilst being quite aggressive in what I turned off, there seemed to be marginal improvement at best. I think instead there's something fairly fundamentally wrong with a lot of Windows services, etc., and maybe the Windows scheduling, that just take an age to load.

    8. Re:Time to Usable by bertok · · Score: 2

      Get an SSD.

      No amount of software tuning or tweaking is ever going to make 5ms random seek times magically disappear. Eliminating the last moving part still used to perform computation will.

    9. Re:Time to Usable by Miffe · · Score: 3, Interesting

      Take a look at e4rat. It reorders the files loaded at startup to be sequentially on disk.

    10. Re:Time to Usable by rikkards · · Score: 2

      Yep and they even admitted that. That was one of the big complaints of Vista is that everything was slow so now they give you dribs and drabs to make you think it is faster

    11. Re:Time to Usable by woboyle · · Score: 2

      For any Windows system, the time to usable is (IMO) just about infinite...

      --
      Sometimes, real fast is almost as good as real-time.
    12. Re:Time to Usable by firewrought · · Score: 2

      Take a screenshot of the desktop when the user selects shutdown. Throw up that screenshot as the boot splash screen. Presto - "booting" in just a second.

      I think you just invented iOS

      He just invented the Canon Cat. It was basically a 17 pound text editor that showed a screenshot of your current document about 1-2 seconds after turning it on (if I'm remembering Raskin's description correctly). Most users never noticed that it took about 10 seconds for the boot to finish and the screen to "unfreeze".

      --
      -1, Too Many Layers Of Abstraction
    13. Re:Time to Usable by fast+turtle · · Score: 2

      and I don't shut down at all. Yes my system goes into standby (s5 mode) using the hybrid Sleep/Hibernate feature so I never have to reboot the system. Of course I've also got a UPS connected with 30+mins of runtime for the occaisional outage. If it's longer then that, the system goes to sleep and uses the hybrid hybernate.

      What I like about the S5 sleep mode is the total power consumption of the system is no greater then when it's off. Yes there is a small parasitic demand but it is no greater then when the system is powered down because of the manner the PSU shuts down. That problem is related to the ATX 1.3 + specification that results in both the 12 & 5 volt rails always being powered.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
  2. BTDT by tibit · · Score: 2

    So they have done what LISP systems have been doing for two decades or more? It's a standard thing for a LISP environment to initialize the environment and store a core image of it to speed up startup. Same thing can be done for LISP applications, effectively giving you hibernation of individual apps in a clean state.

    --
    A successful API design takes a mixture of software design and pedagogy.
  3. Re:so the rootkit stays alive by Thornburg · · Score: 3, Interesting

    Didn't think about that. The hibernate file doesn't have any special permissions or encryptions or something does it?

    It doesn't matter if the file is protected. If you can breach the kernel, and store your malware/rootkit/etc as part of the "session 0" data mentioned in the summary, then the OS will automatically save it all for you. No need to crack the file.

    However, the file does provide another vector for attack.

  4. Re:will they have a real reboot by adonoman · · Score: 3, Informative

    RTFA and find out..

    Hint... The answer is yes. But note that they do re-intialize drivers even in the hybrid boot, so that takes care of a majority of kernel level issues

  5. Re:And it took them *this* long... by bemymonkey · · Score: 2

    They didn't really figure out anything new - it's more like they're forcing a half hibernate on people who'd usually just shut down or reboot.

    For those of us who already use the available sleep/standby states or hibernate, the difference will be unnoticeable, because the reboots we perform (i.e. after software or driver installation, or after Windows updates) will probably still require the full shutdown we've come to know and loathe. :(

  6. Re:And it took them *this* long... by neokushan · · Score: 2

    If you read the article, the hybrid booting is only part of the upgrade.

    It’s faster because resuming the hibernated system session is comparatively less work than doing a full system initialization, but it’s also faster because we added a new multi-phase resume capability, which is able to use all of the cores in a multi-core system in parallel, to split the work of reading from the hiberfile and decompressing the contents. For those of you who prefer hibernating, this also results in faster resumes from hibernate as well.

    --
    +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
  7. Re:so the rootkit stays alive by neokushan · · Score: 2

    If you've got THAT much access to the system, you probably don't need to do anything fancy to keep it there. Besides, if the user does a restart, it'll wipe the hibernate file anyway.

    --
    +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
  8. Boot time isn't Window's problem by grimmjeeper · · Score: 3, Interesting

    The biggest problem I have when running Windows, especially in a corporate environment, is all of the crapware that doesn't start until I log in. Those are the programs that decide to do massive tasks as soon as they're started. They bog down the network connection and thrash the hard drive doing their startup scans. They make the desktop completely unusable for significant lengths of time after login.

    I suppose the fast boot to a login screen is useful. I'm able to get to the login screen quickly and log in. Then I can go get my coffee and read the paper while the startup applications take forever to do whatever it is they are doing. But it still doesn't solve the core problem of having a computer that is up and useful to the end user in a reasonable amount of time.

    Now, it should be obvious that the blame here is not entirely on Microsoft. They have no control over what crap the end user (or corporate IT monkeys) install on the desktop. They can't control what gets started up when the user logs in. Microsoft has no way to prevent an idiot from writing an anti-virus package that does a complete system scan (that bogs down the entire system while it's running) when it is first started by the user. There's nothing stopping a startup program from waiting for a slow network connection to time out, causing the entire startup process to basically hang. There's nothing Microsoft can do to prevent a program to rebuild it's entire search index at startup, thrashing the disk to the point where the entire system is unresponsive while it's running.

    But Microsoft is not entirely blameless either. The root of the problem was the decision to make the console the central focus of operation.There is absolutely no reason why so much of the software has to start up as soon as the user logs in. There is no reason why it cannot be tied to the startup of the computer. And if that software was tied to computer startup there would be no reason it could not be identified for hibernation just like the kernel, resulting in not only a faster boot time but a faster time to actual usefulness of the desktop.

    1. Re:Boot time isn't Window's problem by grimmjeeper · · Score: 2

      Now, it should be obvious that the blame here is not entirely on Microsoft.

      It's got nothing to do with Microsoft, and everything to do with using mechanical drives. Upgrade to an SSD, and your problems will vanish.

      Right, because it's so practical to replace my 9TB RAID array with SSDs...

    2. Re:Boot time isn't Window's problem by davros74 · · Score: 2

      Don't replace the 9TB RAID, just add an SSD for Windows (120GB or so). Get two and RAID0 if you want and it's yet faster still (however, be warned that most likely RAID with SSDs will lose TRIM support).

      Keep the 9TB RAID array. My current motherboard (ASUS P8P67 Deluxe) has 4 SATA3G ports, 2 intel SATA6G ports (raid-able) and 2 Marvell SATA6G ports (raidable). 4 or 6 HDD systems are completely possible now without having to get an add on PCIe controller - assuming your case has room for the drives.

  9. Reality, the theory by Lexx+Greatrex · · Score: 2

    When I was young my dad and I built a go-kart that used the power train straight out of my grandmother's electric wheelchair. It was fast and looked cool and for a time I felt like the Alain Prost of my entire neighborhood. There was one small problem though... my grandmother was still using her wheelchair at the time. So when she wanted to go out, we would put the battery and motor back in the wheelchair and when I wanted to use the kart we would swap it back. It took about twenty minutes and since she only went out once or twice a week, it wasn't too much of a hassle (for me at least.) It is at this point in the story that my mother pointed out something so ridiculously obvious that it would probably baffle, disorient and possibly even permanently educate Microsoft kernel developers... you know who you are... you have been warned...

    My dad, being an enthusiastic amateur engineer improved the swap out time by mounting the whole assembly to a bracket that we could take out of one and bolt into the other in under ten minutes. I remember him and me being excessively proud of this rapid start up time. But then my mother dropped a bombshell that changed the face of go-kart engineering in our household forever. She suggested that we use the DC motor and battery pack from the Flymo lawnmower that sat gathering dust in the garden shed because my Dad hated using it. The mower motor and battery were both lighter and with a bit of gearing, the kart was faster than ever. I was happy, granny was happy, dad was happy and the startup time was reduced from ten minutes to zero seconds.

    1. Re:Reality, the theory by im_thatoneguy · · Score: 2, Informative

      I'm confused, are you recommending we buy a second computer to use while booting our primary one?

      Story fail.

  10. Re:Just moving the problem really by Sockatume · · Score: 2

    Not really, because unlike a real hibernation it's not writing the whole RAM contents to disk. The idea is that you skip a whole lot of reinitialisation of the OS that isn't really necessary.

    --
    No kidding!!! What do you say at this point?
  11. Re:It's all about perception by Cimexus · · Score: 2

    My Windows 7 already starts up in under 10 seconds anyway (SSD for the win). That's from the end of the BIOS to a fully responsive and usable desktop, too.

    Needless to say I don't use hibernate (or even sleep). I just power off and back on. It's stupidly quick on SSDs and will get faster in the future. I think once rotating platter HDDs start going the way of the dodo on all PCs rather than just enthusiasts' ones (which will be quite a while yet, admittedly, as they still lag in price/GB and some would also argue reliability stakes), the whole 'slow booting' problem (and need to use things like hibernation) will go along with it.

  12. A short review of Soluto. by bmo · · Score: 5, Insightful

    OK so I tried Soluto in a VM. I was curious and downloaded it.

    Granted that a VM is not a real machine, it shouldn't make any difference in this sort of software. But it does. The VM install of Windows is pretty spare. It has only a few programs that I actually fuck around with in Windows. It takes under 10 seconds to get to login and under 5 for the desktop to appear. So it's no slouch.

    1. Soluto's a pig. Oink Oink. It will not even install if you have less than 512MB of RAM, which a lot of people do if they're still running XP (which is a huge amount of people). This means typically 256 or 384MB or 512MB with "shared graphics memory" cutting it down. I know, people should upgrade, but this isn't some sort of 3D modeling program, it's just a startup trimmer and browser fixer.

    2. It's a sloth. It's slow as molasses in January. The install is slow and the interaction is slow. And its disk footprint is huge for what it does.

    3. It /insists/ on using flashy 3D graphics calls. I know that you have to please the drooling masses somehow, but this is one of the main causes of #2. In a VM it turns the interface /unusable/. I had flashbacks of Norton in the 9x days.

    In short, this program has loads of fat that should be cut off and thrown in the fire. It should reflect what it purportedly does - speed up your machine. This is not done by adding useless frippery.

    --
    BMO

  13. Re:A short review of Soluto. Follow up. by bmo · · Score: 3, Insightful

    What a passive-aggressive piece of shit.

    An animated frowny-face when I go to Install? And second guessing me?

    Fucking really?

    I'm sorry, but this is unacceptable in a utility software.

    There is a quality I see in good software. I call it 'neatness'. It's a tough quality to describe. Neat software does something useful, does it with aplomb, and has a simple, spare, self-descriptive interface that does not surprise the user in bad ways. But it's more than that. It's software that, when used, puts a smile on your face because of its elegance.

    Soluto is anything but that.

    --
    BMO