| ▲ | mzajc a day ago | |||||||||||||||||||||||||||||||||||||||||||||||||
> So if it knows it won’t finish its jobs by ten seconds, it pleads with the user to stop pressing the button. Might be related to https://devblogs.microsoft.com/oldnewthing/20261029-00/?p=11...: > I believe that on Windows Insider builds of Windows, you get a message that says something like “Please let go of the power button so we can collect more information, and then we will turn off the computer.” This gives the kernel more time to finish capturing its kernel dump | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | humblefly 31 minutes ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
Given the report that a user had this message on the screen for two hours, this still feels like shoddy engineering. Even on the off chance that the OS can't wrap it up in 10 seconds and that capturing a dump is really that important (why?), it should obviously give up and at least hide the message (but ideally, power off) if it can't get stuff done for, say, 30 secs. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | goodmythical 21 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
>This gives the kernel more time to finish capturing its kernel dump But why does it need more than 10 seconds? Even a mechanical hard drive is doing >150MB/s, so that's a gig and a half, and SSDs/NVMEs are doing multiples of that meaning you could write potentially write the entire RAM allocation to disk. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | user_7832 21 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
> This gives the kernel more time to finish capturing its kernel dump How large is the dump and how slow is the storage for it to take so much time? A modern SSD can write several megabytes in a fraction of a second; in a few seconds it can easily write 10s of MB even for garbage tier SSDs. The skeptic in me says it's just MS doing a lazy job instead of trying to optimise their systems. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | xattt an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
It would be a lot more effective (or less effective … depending on users’ latent psychopathy) if the computer started screaming at the 5 second mark. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | thaumasiotes a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||
>> If you hold a PC’s power button for 12 seconds, it will turn off at the hardware level without notifying the operating system. This is a safety feature so that you can turn of the computer even if the operating system’s “Shut down” command isn’t working. You know what would work even better than that? A power switch, where if you set it to "off", there's no power. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||