Tuesday, October 3, 2023

Disadvantages of Modern Sleep mode (S0)

Here is a detailed information for disadvantages of "Modern" S0 standby sleep and what options we have to replace legacy Sleep mode.

S0 sleep and overheating

Lets check requirements for DELL for using the only supported Sleep on its new computers. 

https://www.dell.com/community/en/conversations/xps/faq-modern-standby/647fa2d5f4ccf8a8de87e727

Information about power consumption during different Standby Sleep modes here.

S0 sleep and battery

During S0 sleep your computer still uses power. And it uses significantly more power than in S3 sleep. Your CPU is active. Your disks are active. Your network hardware could be active all the time.

So what happens when you use your PC, your battery enters in critically low level, your computer enters into sleep and you connect it to adapter after few days? 

* For these few days most probably the PC would consume all the battery till it reaches 0%. 

* Computer automatically turns it completely off.

* After that your state, your data would be lost (or you would need to recover your files). 

* During 0% period, enters and stays into "Deep discharge" stage. Being into "Deep discharge" starts degeneration processes inside the battery - it capacity starts to lower. So if you bought a laptop with battery run time 6 hours, it gets to 3h, after that 2h, 1h, 30 minutes, etc. 


And if you state that your laptop has a warranty of 2 years and you want battery replacement, computer service would ignore your calm because:

* your battery is an exception of 2y warranty

* most probably Deep Discharge is out of Terms of use for the battery.

* most probably battery controller would have recorded these events of Deep Discharge and the service would be able to read the data and use it as an evidence.


So what you could do if your battery degrades?

* buy a new battery. That is a win for PC manufacturer! If you buy another battery, most probably you would buy it from the computer manufacturer because most different models have incompatible batteries which creates so much troubles for other manufacturers.

* buy a new computer. That is a win for all PC manufacturers!


S0 sleep and viruses, malware

Lets have an example: you put your PC (uninfected) into sleep (S0) in Friday and you go back to work in Monday. Would you be surprised if you find your PC intected with ransomware and your disk is encrypted yet?

Why?

* during S0 sleep the computer could (will) have network activity. It could be attacked by 0-click attacks or by other attacks. Once infected ransomware could start encryption instantly. In that situation even if your IT department manages to totally blocks the ransomware from spreading more, all S0-sleep PCs could have their disks encrypoted.


Using hibernate instead of S3 sleep

Lets not forget that Hibernation introduces security issues.


Lets have that example. 

* You are an Project Manager and you have 6 meatings on average every day. 

* Your computer has 32 GB of RAM. 

* After each meeting ends you close the lid of your laptop. 

* Closing the lid normally initiates S3 Sleep, but in our case it initiates Hibernate. 

* Hibernate stores all RAM data into the disk, so 32 GB are written.

* Most modern laptops have SDD only or in the other case hibernation file is written on the SSD to avoid 5 min duration of Hibernate process.

* SSD disks has a limitation for data being written. Lets assume written data limit is 100 TB

* 6 lid closures generate ~190 GB written every day by hinernating only

* 22 work days in a month would generate ~4.2TB written by hibernating only 

* one year would generate ~50TB written by hibernating only

* 2 years work would generate 100 TB written by hibernating only. 

* but during normal operation computes write significant portions of data, so for 2 years data written would be 100++ TB, warranty would not apply (written data threshold), and if the SSD disk start loosing, it could introduce risks to employer by losing data.  


Who should we blame for forcing?

This is NOT Microsoft issue. This is Dell issue - because they dropped support for S3 Standby Sleep mode in firmware of new computers.

Older Dells support S3 on same Windows 10. Newer - don't.

Newer Dells cannot enter in S3 even in Linux. So why you try to blame Microsoft?

So why Dell removed it? S3 implementation is so simple, it has been implemented for decades.


Hibernate is not a real alternative on SSD computers only. During 


Dell states it clear: "The old legacy Standby S3 is no longer supported."

https://www.dell.com/community/en/conversations/xps/faq-modern-standby/647fa2d5f4ccf8a8de87e727


No comments:

Post a Comment