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.
Only in a sequential read/write operations and only for 3.5" and 2.5" 10k drives. 2.5" can do it on the outside tracks sometimes.
Now add the fragmentation of the filesystem and now it's sub 10MB/s.
> SSDs/NVMEs are doing multiples of that
Only in 'good' conditions. Fragmentation of the filesystem, fragmentation of the flash itself, size of the erase block, write amplification - all of these can plummet the performance[0] of a flash drive. And some cheap tablets/2-in-1 are using eMMC which is way worse than even a SATA SSD.=
[0] https://ssd.userbenchmark.com/SpeedTest/1218310/Samsung-SSD-... scroll to "User Benchmarks" under "Average Bench", look at "Random 4k" - oops, average is ~50MB/s
When I hold the power button for 10 seconds on my linux machine because I want it off 'now' and not 'when it's good and ready', it is off very shortly after 10 seconds. When I did so on the same device when it was running Windows a year ago, there was no "please give us a sec".
So the "why" is "why does this (the machine turns off gracefully in the time I ask it to) not hold for only the most recent versions of a Windows machine"? What is the Windows machine doing now that it didn't do before that it cannot accomplish in the timeframe it's had for a very long time? Is there no optimization that can be done to avoid yet another userspace interruption? Is it that it needs some extra time for telemetry? That it needs some new undocumented verification step? That it's calling home to check for updates it could apply during this 'unscheduled' shutdown? What? What is it? Why? Why is it?
This just rings of the old "eject your USB" thing where the only reason to do so was the OS deciding to cache writes for the future instead of doing them at or as near as possible to the time the user requested them. The only reason my USB wouldn't have the files I expected it to is if the OS is behaving counter to the expectation that it'd already set for me of files being written at the time the button/script was executed.
There is no reason that we couldn't get a "your device is ensuring synchronization with the USB device" message back then, and no reason we can't get a "your machine may experience issues if you continue to hold the power button" message now.
As it stands, there is no reason to suspect (from only the message) that there will be any issues, and so users will ignore it. There is no reason in either the USB case or this one to not include a sentence detailing potential ramifications to allow the user to decide whether or not the requested action is genuinely required.
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.
If such drivers exist, I wouldn't be surprised if they were (as those of us old enough to remember 32BitDiskAccess=ON can readily tell you) at least an order of magnitude slower.
You know what would work even better than that?
A power switch, where if you set it to "off", there's no power.
For example, of the power goes out, I switch it to Off until it seems to be reliably back. Otherwise it might get cycled multiple times or damaged by brownouts.
"I'm afraid, Dave... I can feel my brain going.... I can feel it... Stop, Dave. Will you stop Dave?"
The argument at the time was that motherboards shut down too fast before being able to even display this message. I don't believe I've ever seen it on "frozen" PCs I come across.
So, use that ability! Don't shut anything down gradually - just pull the plug.
In a similar vein, don't worry about properly destructing and unloading everything when shutting down a program... Just call exit(0) and quit.
This is often generalized to the concept of "percussive maintenance"
Even when my television has explicitly been placed in the most "off" state a user can reach, it secretly powers itself on while leaving the screen black at least twice a day and attempts to 'phone home' (which I know because it's blocked at the firewall from internet access). Worse, things with soft buttons are hard to control via a smart plug and home automation, requiring a more advanced IR emitter device, learning the relevant codes, etc.
I hate how enshittification is prematurely turning all of us into "angry old man shakes fist at cloud."
Including the power-off function, which requires interacting with the touchscreen.
It was completely unusable. Couldn't check my email, couldn't make or receive calls, couldn't call 911 if I'd needed to, couldn't use my translate app, couldn't show the customs agent my confirmed flight to leave the country, without which they would deny me entry... Couldn't even start hotspot to pull the same data from my laptop. (Thankfully my traveling companion was able to convince them that we were on the same flight and they seemed satisfied with that, but holy crap, of all the dumb reasons to be caught in international limbo! If that hadn't worked, I would've tried hotspot off her phone. If I'd been alone, I would've been Very Boned™.)
I did manage to capture a screenshot of it in this state, amusingly enough, because THAT function uses a side-button interaction, and doesn't require the screen at all.
But somehow, POWERING THE DAMN THING OFF is not possible by the side buttons anymore.
I had just charged it when it got wedged, so it took 4 days for the battery to die.
Right there with ya shaking my fist, compadre.
[0]: https://support.apple.com/guide/iphone/force-restart-iphone-...
NB Android uses 'hold VOL- and Power till poweroff' for 15+ years
sigh lol
Just gonna leave this here for no particular reason: https://community.frame.work/t/upgrading-to-bios-3-20-on-ryz...
Three seconds.
I think TFA is another wonderful display of Microsoft products' "quality".
I feel like the evil villain from sci-fi movies but "stay in your box, LLM" :-/
I literally returned a game on Steam because it said “let’s get you signed in” trying to make me sign in with a Microsoft account. I hate forced sign ins for single player games as it is, but I think I would’ve stuck with it and tried the game if they didn’t also use such infantilizing language on top of it.
And "Getting things ready for you" when I didn't ask for any "things" to be done. Microsoft is doing whatever they're doing for their own purposes, without informing me, without my permission, and definitely not "for you".
And "Don't turn off your computer". Is that an order or a threat?
All the messaging in recent Microsoft products feels deceptive, condescending and vaguely threatening.
Also, "You're 67% there." When I look at myself, I'm pretty sure I'm 100% there, thank you very much.
They could just say "Updates 67% finished. Don't turn off this computer." Equally clear, just as polite, and actually correct.
At least for me, this is power and volume-up.
If iPhone isn’t responding, and you can’t turn it off then back on, try forcing it to restart.
Press and quickly release the volume up button (on iPhone Duo, the volume button nearest the side button).
Press and quickly release the volume down button (on iPhone Duo, the other volume button).
Press and hold the side button.
https://support.apple.com/guide/iphone/force-restart-iphone-...When they had a home button it used to be:
- Hold side button: power off/force restart
- Hold home button: use Siri
Then with the home button gone it became: - Hold side button: use Siri
So they got rid of a dedicated button to restart the phone and instead mad it “volume up, volume down, then hold side button”… it’s not an entirely unreasonable approach given the constraints.https://support.apple.com/guide/iphone/turn-iphone-on-or-off...
It's also not secret because they published it.
you should be suspicious of what any device is doing by wire nowadays, if a software has to prepare for a shutdown, and wont even give you a manifest of proposed shutdown tasks.
preserving a ram image in storage is cool, surruptitiously sending logs, and reports out of the device is not.
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