logoalt Hacker News

justsomehnguy • yesterday at 12:13 PM • 2 replies • view on HN

First of all you are comparing very different OSes with very different behaviours under the boot. You can't translate how it goes in one OS to another one.[0]

Also, "10 seconds" are clearly related to the laptops because they don't have the proper power button and need both the "ACPI shutdown" and "Force power-off". The latter should be controlled by the BMC but considering this is a tablet...

And to clarify:

> This is how I understand it: Windows now gets a signal whenever the user holds the power button

in the TFA is exactly the ACPI shutdown signal received by the OS from BMC.

Now:

> 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?

Well, considering this is happening at the attempt to force a power-off then I can suggest this:

- there were enough edge cases when the user needed to perform a forced power-off

- quite unsurprisingly there not a lot of things still working when the shutdown sequence already initiated

- there was some addition telemetry added to capture these edge cases but the forced power-off prevented the capture of the data would could help to diagnose the issue => plead was added

And the things aren't fast because:

- the last thing you want to do when you are writing the telemetry at the shutdown is to mess up the filesystem, up to the unusable state => so you do write it with the write caching turned off. This is slow even on SSD, just check it

- (maybe, I don't know) this is a bit more than just a 'memory dump' so the system actually runs some tests - these take time despite all the bazillions of IOPS in tehe normal operations environment

So you have at least:

- the half of the OS aren't running - it's shutdown sequence

- things aren't right in the first place - that's why the user is holding the power button!

- things aren't fast because you don't want them to get even worse

- last, but not least: at least previously there were the Surface tablets with the eMMC. These are slow.

Now add the last ingredient to the mix: Average Joe who doesn't understand shit. He doesn't care about 'write buffers aren't flushed', he only notices the files he wrote to a thumbdrive aren't there - and blames the OS, Gates personally and whoever else - but not himself. Capisce?

[0] even more amusing what you are thinking what Linux is just good and fast OS. I have a lot of different servers running different distros and versions - and most of them aren't shutting down fast nor even try to.


Replies

pbhjpbhj • yesterday at 8:01 PM

>even more amusing what you are thinking what Linux is just good and fast OS.

That's my experience even using Ubuntu; on my hardware it takes about twice as long for Win11 to boot as for Kubuntu 26.04, and about five times as long to shutdown (normal shutdown; updates take forever).

Sometimes Windows decides after a while doing it's shutdown that it doesn't want to and pops a dialog (eg that another user is logged on {they aren't, it's a bug}). If you already left the room then it's just going to stay on until the next day.

Kubuntu has had slow boot before, but it gives you simple tools to see what it's doing, it's not obfuscating telemetry nor keeping programs running that you don't want.

When I say startup, I mean to the login prompt - going from login to desktop takes ages on Win 11 too, and it doesn't load up the previous application states/positions so you still have that to do. Then when you do load an app, eg Outlook, it tries to use the network before it is ready, claims it can't authenticate (it's right, but...) and messes up the session.

Sorry, I'm moaning. Essentially I'm surprised you don't find Windows slow.

alpaca128 • yesterday at 9:33 PM

> Average Joe who doesn't understand shit. He doesn't care about 'write buffers aren't flushed', he only notices the files he wrote to a thumbdrive aren't there - and blames the OS, Gates personally and whoever else - but not himself

Why should he blame himself for poorly designed systems and user interfaces? Why should he not expect Windows to eject a USB drive quickly when it doesn't even bother to communicate the reason it takes longer?

We shouldn't blame users who still somehow manage to have standards instead of silently accepting that computers are simply always broken.

And would it really be so catastrophically bad if the OS just flushed the buffers right after the file copy operation? Would it be that much worse than potential data loss?