Knowledge

Hibernation (computing)

Source 📝

114:
then transfer that back to RAM, which takes longer and depends on the speed of the permanent storage device, often much slower than RAM memory. A system in sleep mode only needs to power up the CPU and display, which is almost instantaneous. On the other hand, a system in sleep mode still consumes power to keep the data in the RAM. Detaching power from a system in sleep mode results in data loss, while cutting the power of a system in hibernation has no risk; the hibernated system can resume when and if the power is restored. Both shut down and hibernated systems may consume
340:
option, it hibernates the computer, but closes all programs and logs out the user session before hibernating. According to Microsoft, a regular hibernation includes more data in memory pages which takes longer to be written to disk. In comparison, when the user session is closed, the hibernation data
121:
Hibernation is a means of avoiding the burden of saving unsaved data before shutting down and restoring all running programs and re-opening documents and browser tabs. Both hibernation and sleep preserve memory fragmentation and atrophy that lead to mobile devices working poorer the longer they run
113:
in which the processing functions of the machine are lowered, using a trickle of power to preserve the contents of RAM and support waking up. Instantaneous resumption is one of the advantages of sleep mode over hibernation. A hibernated system must start up and read data from permanent storage and
465:
Sleep mode and hibernation can be combined: the contents of RAM are copied to the non-volatile storage and the computer enters sleep mode. This approach combines the benefits of sleep mode and hibernation: The machine can resume instantaneously, and its state, including open and unsaved files,
402:
On Macs, a feature known as Safe Sleep saves the contents of volatile memory to the system hard disk each time the Mac enters Sleep mode. The Mac can instantaneously wake from sleep mode if power to the RAM has not been lost. However, if the power supply was interrupted, such as when removing
78:, which have limited battery power available. It can be set to happen automatically on a low battery alarm. Most desktops also support hibernation, mainly as a general energy saving measure and allows for replacement of a removable battery quickly. Google and Apple mobile hardware ( 158:. It could also be controlled using an optional software GUI or a customized keyboard shortcut. It was tested on DOS, Windows 3.1, Banyan Vines, and Novell Netware. Compaq's hibernation is also noted in an IBM patent from 1993. 250:
further improved support for hibernation. Hibernation and resumption are much faster as memory pages are compressed using an improved algorithm; compression is overlapped with disk writes, unused memory pages are freed and
73:
After hibernating, the hardware is powered down like a regular shutdown. The system can have a total loss of power for an indefinite length of time and then resume to the original state. Hibernation is mostly used in
706: 403:
batteries without an AC power connection, the Mac would wake from Safe Sleep instead, restoring memory contents from the hard drive. Because Safe Sleep's hibernation process occurs during regular Sleep, the
298:
do not support hibernation when this amount of memory is installed because of performance issues associated with saving such a large pool of data from RAM to disk. This would later be resolved by
226:
is the first Windows to support hibernation at the operating system level (OS-controlled ACPI S4 sleep state) without special drivers from the hardware manufacturer. A hidden system file named "
1065: 441:
which is built into the 2.6 series. An alternative implementation is TuxOnIce which is available as patches for the kernel version 3.4. TuxOnIce provides advantages such as support for
993: 316:
Windows 7 introduced compression to the hibernation file and set the default size to 75% of the total physical memory. Microsoft also recommends that the size be increased using the
42:. When the computer is turned on the RAM is restored and the computer is exactly as it was before entering hibernation. Hibernation was first implemented in 1992 and patented by 1199: 313:
feature, which saves the contents of memory to hard disk but instead of powering down, enters sleep mode. If the power is lost, the computer can resume as if hibernated.
968: 855: 388:
integration and per-user or per-machine settings with more advanced power plans, scheduled power plans, anti-insomnia features and enterprise power usage reporting.
421:
Shortly after Apple started supporting Safe Sleep, Mac enthusiasts released a hack to enable this feature for much older Mac computers running Mac OS X v10.4. The
935:"You cannot put a computer that has more than 4 GB of memory into hibernation in Windows XP, in Windows Server 2003, in Windows Vista, or in Windows Server 2008" 537: 194:–compliant. This allows some desktop computers to hibernate quickly to SSD in the event of a power failure and power supplied to even a lightweight or aging 30:
on Macintosh computers) in computing is powering down a computer while retaining its state. When hibernation begins, the computer saves the contents of its
341:
is much smaller and therefore takes less time to write to disk and resume. Users have the option of performing a traditional shutdown by holding down the
208:
supports hibernation through hardware manufacturer-supplied drivers and only if compatible hardware and BIOS are present. Since Windows 95 supports only
1090: 646: 1159: 1069: 566: 997: 271:
framework to manage and convert this file into a readable memory dump. The compression feature was later documented by Microsoft as well.
1029: 914: 681: 216:
and later support ACPI. However, hibernation often caused problems since most hardware was not fully ACPI 1.0 compliant or did not have
171: 170:
as noted above, but modern operating systems usually handle hibernation themselves. Hibernation is defined as sleeping mode S4 in the
234:
is used to store the contents of RAM when the computer hibernates. In Windows 2000, this file is as big as the total RAM installed.
1141: 808: 1207: 1181: 595: 244:
family, also supports OS-controlled hibernation like Windows 2000 and requires disk space equal to that of the computer's RAM.
1116: 972: 720: 1234: 862: 466:
survives a power outage. Hybrid sleep consumes as much power as sleep mode, whereas hibernation powers down the computer.
349:
and it is also possible to shut down a computer in the traditional way by disabling Fast Startup in the system settings.
283: 934: 751: 526: 326:
exceeds that amount. It can be set from anywhere between 50% and 100%, although decreasing it is not recommended.
1244: 122:
without a full reboot. This is why many experts recommend a frequent shut down or reboot of electronic devices.
1094: 384:
Third-party PC power management software offers features beyond those present in Windows. Most products offer
1239: 1054:
How to disable and re-enable hibernation on a computer that is running Windows; Microsoft; August 12, 2010.
220:
drivers. There were also issues with the FAT32 file system, making hibernation problematic and unreliable.
195: 1167: 502: 367: 886: 259:
contains further information including processor state. This file was documented by security researcher
79: 621: 442: 279: 209: 788:"Interview with Nicolas Coudière, Chief Product Manager: Microsoft Windows Millennium Edition (Me)" 374:
software. This omission by Microsoft has been criticized as having led to a huge waste in energy.
134:
as noted in its sales material. It is made possible in part due to the sleep and protected mode
446: 303: 832: 752:"Microsoft Help and Support – How To Put the System into hibernation or Standby from Run menu" 154:. It preserved and restored the system in the midst of disk writes and operations with a math 1033: 843: 98: 812: 670: 994:"Windows 8 / Windows Server 2012: Faster Boot Process | Ask the Performance Team Blog" 252: 217: 150:
needed. The LTE would sense low battery and prevented data loss by making use of a hidden
39: 31: 8: 480: 371: 295: 287: 264: 1145: 787: 775: 1185: 268: 1017: 356: 151: 1114: 702: 385: 323: 1120: 727: 475: 260: 131: 422: 415: 355:
mirrors Windows 8 as noted by Microsoft. Windows 10's hibernation algorithm is
231: 1228: 410:
Safe Sleep capability was added in Mac models starting with the October 2005
397: 291: 191: 187: 147: 115: 434: 411: 318: 223: 65:
employ a type of hibernation (Fast Startup) by default when shutting down.
755: 704:, "Hibernation file creation device and method", issued 1993-07-26 1053: 946: 139: 425:
once also supported hibernation, but this feature was dropped by Apple.
404: 360: 352: 247: 241: 237: 213: 205: 199: 110: 83: 62: 58: 942: 329: 299: 54: 35: 833:
Windows Power Management: Instant PC availability and energy savings
275: 856:"BlackHat USA 2008 – Windows hibernation file for fun and profit" 454: 450: 366:
Hibernation is often underused in business environments as it is
47: 438: 135: 75: 43: 890: 1142:"Apple Support: Progress bar appears after waking from sleep" 91: 1117:"HMC: A Practical Guide to Sustainable Building for Schools" 497: 495: 167: 143: 155: 146:
and worked independently of the operating system with no
87: 1030:"EcoGeek – How Windows XP Wasted $ 25 Billion of Energy" 560: 558: 492: 130:
The first working retail hibernation was in 1992 on the
101:
can be scheduled to wake the machine after hibernation.
915:"Reducing the Disk Footprint for Windows 7 Hibernation" 182:
On Windows computers, hibernation is available only if
368:
difficult to enable it on a large network of computers
555: 1066:"Power Management Software for Windows Workstations" 567:"Delivering a great startup and shutdown experience" 596:"Sleep and hibernation: frequently asked questions" 90:) do not support hibernation. Apple hardware using 1182:"Sleep Memory Extension 1.0 Document and Software" 564: 274:Although Windows XP added support for more than 4 16:Powering down a computer while retaining its state 1200:"Turn off a computer: frequently asked questions" 1115:The Headmasters' and Headmistresses' Conference. 377:It is possible to disable hibernation and delete 1226: 909: 907: 776:BIOS and Hibernate Issues for FAT32 File System 453:. All three refer to it as "suspend-to-disk". 212:(APM), hibernation is called Suspend-to-Disk. 166:Early implementations of hibernation used the 904: 359:optimized. This behavior is carried over to 811:. Microsoft.com. 2001-12-04. Archived from 457:, if deployed, manages hibernation itself. 161: 104: 671:"Sales Material from Compaq Computer Corp" 969:"Delivering fast boot times in Windows 8" 1160:"How to Safe Sleep (Hibernate) Your Mac" 647:"Shut down, sleep, or hibernate your PC" 449:. Another alternative implementation is 198:. Hibernation can be invoked from the 1206:. Microsoft Corporation. Archived from 414:(Double-Layer SD). Safe Sleep requires 125: 1227: 1091:"Energy Star Commercial Packages List" 887:"SandMan Computer Forensics Framework" 322:tool in some rare workloads where the 286:), this operating system, as well as 590: 588: 586: 543:from the original on 25 January 2021 407:does not have a "hibernate" option. 177: 1144:. February 20, 2006. Archived from 1018:Enable hibernate using group policy 945:. 23 September 2011. Archived from 284:Windows XP Professional x64 Edition 13: 844:Kernel Enhancements for Windows XP 14: 1256: 583: 370:without resorting to third-party 109:Many systems support a low-power 437:, hibernation is implemented by 1192: 1174: 1152: 1134: 1108: 1083: 1058: 1047: 1022: 1011: 986: 961: 927: 879: 848: 837: 826: 801: 780: 769: 744: 684:from the original on 2017-01-02 460: 336:feature. When users select the 255:transfers are used during I/O. 713: 695: 663: 639: 614: 519: 94:calls hibernation Safe Sleep. 1: 721:"ACPI Specification Rev 3.0b" 486: 503:"What is safe sleep on Mac?" 7: 1235:Operating system technology 469: 309:Windows Vista introduced a 118:unless they are unplugged. 44:Compaq Computer Corporation 10: 1261: 809:"Windows Power Management" 395: 240:, the last release in the 142:. It was implemented in 1204:Windows Vista Online Help 443:symmetric multiprocessing 280:Windows XP 64-bit Edition 267:2008 who also provided a 210:Advanced Power Management 565:windows-driver-content. 428: 391: 162:Operating system support 105:Comparison to sleep mode 602:. Microsoft Corporation 68: 1245:Windows administration 304:Windows Server 2008 R2 651:support.microsoft.com 600:Windows 7 Online Help 230:" in the root of the 202:or the command line. 99:real-time clock alarm 527:"Hibernation Patent" 126:First implementation 40:non-volatile storage 32:random access memory 1240:Energy conservation 1188:on August 19, 2007. 481:PC power management 372:PC power management 345:key while clicking 296:Windows Server 2008 288:Windows Server 2003 278:of memory (through 265:Black Hat Briefings 132:Compaq LTE Lite 386 1210:on 10 October 2011 1148:on March 12, 2008. 571:docs.microsoft.com 534:Patents.google.com 332:also introduces a 269:computer forensics 1164:AndrewEscobar.com 357:solid-state drive 178:Microsoft Windows 1252: 1220: 1219: 1217: 1215: 1196: 1190: 1189: 1184:. Archived from 1178: 1172: 1171: 1166:. Archived from 1156: 1150: 1149: 1138: 1132: 1131: 1129: 1128: 1119:. Archived from 1112: 1106: 1105: 1103: 1102: 1093:. Archived from 1087: 1081: 1080: 1078: 1077: 1068:. Archived from 1062: 1056: 1051: 1045: 1044: 1042: 1041: 1032:. Archived from 1026: 1020: 1015: 1009: 1008: 1006: 1005: 996:. Archived from 990: 984: 983: 981: 980: 971:. Archived from 965: 959: 958: 956: 954: 949:on 23 March 2014 941:(9.0 ed.). 931: 925: 924: 922: 921: 911: 902: 901: 899: 898: 889:. Archived from 883: 877: 876: 874: 873: 867: 861:. Archived from 860: 852: 846: 841: 835: 830: 824: 823: 821: 820: 805: 799: 798: 796: 795: 784: 778: 773: 767: 766: 764: 763: 754:. Archived from 748: 742: 741: 739: 738: 732: 726:. Archived from 725: 717: 711: 710: 709: 705: 699: 693: 692: 690: 689: 675: 667: 661: 660: 658: 657: 643: 637: 636: 634: 632: 618: 612: 611: 609: 607: 592: 581: 580: 578: 577: 562: 553: 552: 550: 548: 542: 531: 523: 517: 516: 514: 513: 499: 386:Active Directory 380: 324:memory footprint 321: 258: 229: 1260: 1259: 1255: 1254: 1253: 1251: 1250: 1249: 1225: 1224: 1223: 1213: 1211: 1198: 1197: 1193: 1180: 1179: 1175: 1158: 1157: 1153: 1140: 1139: 1135: 1126: 1124: 1113: 1109: 1100: 1098: 1089: 1088: 1084: 1075: 1073: 1064: 1063: 1059: 1052: 1048: 1039: 1037: 1028: 1027: 1023: 1016: 1012: 1003: 1001: 992: 991: 987: 978: 976: 967: 966: 962: 952: 950: 933: 932: 928: 919: 917: 913: 912: 905: 896: 894: 885: 884: 880: 871: 869: 865: 858: 854: 853: 849: 842: 838: 831: 827: 818: 816: 807: 806: 802: 793: 791: 790:. Activewin.com 786: 785: 781: 774: 770: 761: 759: 750: 749: 745: 736: 734: 730: 723: 719: 718: 714: 707: 701: 700: 696: 687: 685: 673: 669: 668: 664: 655: 653: 645: 644: 640: 630: 628: 626:freedesktop.org 622:"systemd.timer" 620: 619: 615: 605: 603: 594: 593: 584: 575: 573: 563: 556: 546: 544: 540: 529: 525: 524: 520: 511: 509: 501: 500: 493: 489: 476:Green computing 472: 463: 431: 400: 394: 378: 317: 261:Matthieu Suiche 256: 227: 180: 174:specification. 164: 128: 107: 71: 24:suspend to disk 22:(also known as 17: 12: 11: 5: 1258: 1248: 1247: 1242: 1237: 1222: 1221: 1191: 1173: 1170:on 2008-01-05. 1151: 1133: 1107: 1082: 1057: 1046: 1021: 1010: 985: 960: 926: 903: 878: 847: 836: 825: 800: 779: 768: 743: 712: 694: 662: 638: 613: 582: 554: 518: 490: 488: 485: 484: 483: 478: 471: 468: 462: 459: 430: 427: 423:classic Mac OS 416:Mac OS X v10.4 396:Main article: 393: 390: 232:boot partition 188:device drivers 179: 176: 163: 160: 127: 124: 106: 103: 70: 67: 15: 9: 6: 4: 3: 2: 1257: 1246: 1243: 1241: 1238: 1236: 1233: 1232: 1230: 1209: 1205: 1201: 1195: 1187: 1183: 1177: 1169: 1165: 1161: 1155: 1147: 1143: 1137: 1123:on 2012-03-15 1122: 1118: 1111: 1097:on 2008-11-02 1096: 1092: 1086: 1072:on 2012-04-26 1071: 1067: 1061: 1055: 1050: 1036:on 2006-11-27 1035: 1031: 1025: 1019: 1014: 1000:on 2018-05-24 999: 995: 989: 975:on 2011-11-08 974: 970: 964: 948: 944: 940: 936: 930: 916: 910: 908: 893:on 2018-12-29 892: 888: 882: 868:on 2008-11-19 864: 857: 851: 845: 840: 834: 829: 815:on 2004-07-13 814: 810: 804: 789: 783: 777: 772: 758:on 2009-02-11 757: 753: 747: 733:on 2008-12-30 729: 722: 716: 703: 698: 683: 679: 672: 666: 652: 648: 642: 627: 623: 617: 601: 597: 591: 589: 587: 572: 568: 561: 559: 539: 535: 528: 522: 508: 507:Apple Support 504: 498: 496: 491: 482: 479: 477: 474: 473: 467: 458: 456: 452: 448: 444: 440: 436: 426: 424: 419: 417: 413: 408: 406: 399: 398:Sleep (macOS) 389: 387: 382: 375: 373: 369: 364: 362: 358: 354: 350: 348: 344: 339: 335: 331: 327: 325: 320: 314: 312: 307: 305: 301: 297: 293: 292:Windows Vista 289: 285: 281: 277: 272: 270: 266: 262: 254: 249: 245: 243: 239: 235: 233: 225: 221: 219: 215: 211: 207: 203: 201: 197: 193: 192:plug-and-play 190:are ACPI and 189: 186:hardware and 185: 175: 173: 169: 159: 157: 153: 149: 145: 141: 140:Intel 386 CPU 137: 133: 123: 119: 117: 116:standby power 112: 102: 100: 95: 93: 89: 85: 81: 77: 66: 64: 60: 56: 51: 49: 45: 41: 37: 33: 29: 25: 21: 1212:. Retrieved 1208:the original 1203: 1194: 1186:the original 1176: 1168:the original 1163: 1154: 1146:the original 1136: 1125:. Retrieved 1121:the original 1110: 1099:. Retrieved 1095:the original 1085: 1074:. Retrieved 1070:the original 1060: 1049: 1038:. Retrieved 1034:the original 1024: 1013: 1002:. Retrieved 998:the original 988: 977:. Retrieved 973:the original 963: 951:. Retrieved 947:the original 938: 929: 918:. Retrieved 895:. Retrieved 891:the original 881: 870:. Retrieved 863:the original 850: 839: 828: 817:. Retrieved 813:the original 803: 792:. Retrieved 782: 771: 760:. Retrieved 756:the original 746: 735:. Retrieved 728:the original 715: 697: 686:. Retrieved 677: 665: 654:. Retrieved 650: 641: 629:. Retrieved 625: 616: 604:. Retrieved 599: 574:. Retrieved 570: 545:. Retrieved 533: 521: 510:. Retrieved 506: 464: 461:Hybrid sleep 435:Linux kernel 432: 420: 412:PowerBook G4 409: 401: 383: 379:hiberfil.sys 376: 365: 351: 346: 342: 337: 334:Fast startup 333: 328: 319:powercfg.exe 315: 311:hybrid sleep 310: 308: 273: 257:hiberfil.sys 246: 236: 228:hiberfil.sys 224:Windows 2000 222: 204: 183: 181: 165: 156:co-processor 129: 120: 108: 96: 72: 53:Microsoft's 52: 27: 23: 19: 18: 418:or higher. 84:Chromebooks 34:(RAM) to a 20:Hibernation 1229:Categories 1214:15 October 1127:2011-04-19 1101:2011-04-19 1076:2011-04-19 1040:2009-01-14 1004:2018-05-24 979:2011-11-09 920:2012-10-25 897:2022-03-08 872:2008-08-18 819:2010-08-26 794:2010-08-26 762:2009-02-11 737:2008-11-09 688:2021-01-24 656:2021-01-15 606:15 October 576:2021-01-24 547:24 January 512:2021-01-24 487:References 447:preemption 405:Apple menu 361:Windows 11 353:Windows 10 248:Windows XP 242:Windows 9x 238:Windows Me 214:Windows 98 206:Windows 95 200:Start menu 111:sleep mode 63:Windows 11 59:Windows 10 28:Safe Sleep 943:Microsoft 678:10000 Bit 347:Shut Down 338:Shut Down 330:Windows 8 300:Windows 7 276:gigabytes 152:partition 55:Windows 8 50:, Texas. 38:or other 36:hard disk 953:23 March 682:Archived 680:. 1992. 538:Archived 536:. 1998. 470:See also 939:Support 631:12 June 455:systemd 451:uswsusp 433:In the 263:during 148:drivers 138:in the 136:opcodes 80:Android 76:laptops 48:Houston 708:  439:swsusp 866:(PDF) 859:(PDF) 731:(PDF) 724:(PDF) 674:(PDF) 541:(PDF) 530:(PDF) 429:Linux 392:macOS 343:Shift 92:macOS 26:, or 1216:2011 955:2014 633:2024 608:2011 549:2021 445:and 302:and 294:and 282:and 172:ACPI 168:BIOS 69:Uses 61:and 253:DMA 218:WDM 196:UPS 184:all 144:ROM 88:iOS 46:in 1231:: 1202:. 1162:. 937:. 906:^ 676:. 649:. 624:. 598:. 585:^ 569:. 557:^ 532:. 505:. 494:^ 381:. 363:. 306:. 290:, 97:A 86:, 82:, 57:, 1218:. 1130:. 1104:. 1079:. 1043:. 1007:. 982:. 957:. 923:. 900:. 875:. 822:. 797:. 765:. 740:. 691:. 659:. 635:. 610:. 579:. 551:. 515:.

Index

random access memory
hard disk
non-volatile storage
Compaq Computer Corporation
Houston
Windows 8
Windows 10
Windows 11
laptops
Android
Chromebooks
iOS
macOS
real-time clock alarm
sleep mode
standby power
Compaq LTE Lite 386
opcodes
Intel 386 CPU
ROM
drivers
partition
co-processor
BIOS
ACPI
device drivers
plug-and-play
UPS
Start menu
Windows 95

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.