4 ms·
Windows 8 boots faster because Windows 8 lies to you when you "Shutdown." Windows 8 actually hibernates instead of shutting down for real; and you can get the s
by josteink 14y ago
Windows 8 boots faster because Windows 8 lies to you when you "Shutdown." Windows 8 actually hibernates instead of shutting down for real; and you can get the same effect by enabling hibernation on Windows 7
Incorrect. This is provenly false. Windows 8 boots faster from a cold boot than Windows 7. It really does. The memory footprint is much smaller. The runtime environment is much more optimized and snappy.
You can tell Microsoft has cut out lots of cruft and optimized critical code-paths, especially with regard to boot.
Hibernation which you refer to is a different feature, and provides you with the same session and programs and state as you had running before, just like a normal sleep would do on a laptop, except it will survive a flat battery. It does so by persisting your entire RAM to disk for reloading on boot. This is completely different from booting which would give you a new, empty session.
So if you end up with an empty session, it's provenly not hibernating, it's booting. And boot is much, much faster.
On all system's I've had, hibarnation, designed to save time, has only caused increased latency for shutdown/sleeping/hibernation, and similar increase in boot times since not only Windows needs to load, but all that persisted state must be restored as well.
On machines with more than 4GBs of RAM this leads to horrible performance and I've permanently disabled the option for the OS to use this due to the performance issues involved.
On Windows 8 I've kept the defaults and things are just flying.
- davedx 14y ago"This is provenly false" Citation needed.
- josteink 14y agoOP claims that a Windows 8 uses a feature which without exception causes 1. extra IO workload, 2. reduced performance and which 3. persists entire sessions to 1. reduce IO workload, 2. increase performance while at the same time 3. session is not persisted. I point out how this argument makes no sense. I don't think I'm the one you should target with "citation needed".
- jasomill 14y agoNow here’s the key difference for Windows 8: as 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). Source: Microsoft, "Delivering fast boot times in Windows 8", Building Windows 8 blog, September 9, 2011 [1] [1] http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fast-boot-times-in-windows-8.aspx http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fas...
- josteink 14y agoThat's certainly interesting, and thanks for proving parts of my argument wrong. I do appreciate being corrected. However OP made the following claim: Windows 8 lies to you when you "Shutdown." Windows 8 actually hibernates instead of shutting down for real; and you can get the same effect by enabling hibernation on Windows 7 Note the part that where he claims that you can get the same speedup on Windows 7 by enabling hibernation. This is provenly false and anyone who has tried it would know.
- jasomill 14y agoYou are correct that "enabling hibernation" should have no effect on Windows 7 startup or shutdown performance, though I have no idea how quickly Windows 7 can enter and wake from hibernation with no user sessions open. While this would be easy enough to test, I also don't care: Windows Server 2008 R2 cold boots to a usable desktop in twelve seconds on my machine, which should be fast enough for anyone.
- UnoriginalGuy 14y agoIf you hibernate in Windows 7, and then boot, it takes approximately the same period of time as "booting" in Windows 8 (with "Fast Startup" enabled). I have tried it. I do know. In fact if you measure it "to desktop" then Windows 7 full hibernation beats Windows 8's fast startup, because Windows 7 caches user programs in additional to Microsoft's side (i.e. registry, services, kernel, etc).
- m0skit0 14y agoSure, Microsoft fans never need to cite anything. Being Microsoft is enough. Oh btw, all that nice features already exist in other OSs since a very long time ago. Oh and also: can we finally stretch the Windows console horizontally?
- ProNihilist 14y agoYou can already increase the width of the console, you just need to use Properties menu.
- rbanffy 14y ago> So if you end up with an empty session, it's provenly not hibernating, it's booting. Not necessarily. You can hibernate the machine after the user is logged off and restart from that point.
- UnoriginalGuy 14y agoRespectfully, you have no idea how Windows 8's fast startup mode works. You also don't seem to know that Fast Startup is the default (so when you hit "shutdown" it actually hibernates most of the system's state). Essentially in Windows 8 (out of the box) if you hit "Shutdown" then it logs the user out and then "hibernates" the kernel, the registry, services, drivers, and all other "system" level processes. The computer is then ordered to power off (just like hibernate). When you turn the machine back on, a notice appears on the screen which reads "Resuming from Hibernation" and it loads the Hibernation file into active memory. Fast Startup is essentially Hibernation without a logged in user. Windows 8's boot times with Fast Startup enabled is very competitive to Windows 7's boot times using Hibernation (instead of "Shutdown"). It is also very comparable too as Windows 8 doesn't truly shutdown in the traditional sense. If you boot Windows 8 without Fast Startup enabled then the boot times are very similar to Windows 7's boot times. As I said, Windows 8 lies to you. It isn't faster, it is just pushing Hibernation in a new deceptive way in order to appear faster.