r/linuxmint • u/Ok_Machine_9600 • 12d ago
Discussion Impressive shut down speed
I don't understand why windows 11 takes about 1 minute to shut down but on same laptop, dual boot, linux mint shuts down in about less than 10 seconds. What extra efforts microsoft is adding just to shut down laptop?
143
Upvotes
144
u/Still-Grass8881 12d ago •
it takes a while for all the spyware to boot up and shut down
38
u/Livie_Loves 12d ago
I believe on windows for processes to stop they have to hand back their stuff to windows to officially close or it can lead to corruption due to how windows works + NTFS state issues which can take time. Also there's often a lot more bloat going on in general, whereas on linux it just kills the tasks because that's not a concern and poof restart
43
u/ap0r 12d ago
I will tell you exactly what happens, just let me check out the source code and... oh.. wait, I cannot check it out what it does or how this works.
So my next best answer is "black box OS is slow because reasons"
11
u/wastedsilence33 12d ago
I'm convinced dropping win11 and having Mint on my wife's laptop would make it way better at the only thing she really uses it for which is Fallout 76 2 days a week with me
But she isn't, so it won't happen lol
11
u/gmgrigsby21 Linux Mint 22.3 Zena | Cinnamon 12d ago
Normally when windows 11 shuts down it writes the state of all open programs, files and the OS to a hibernation file on the drive because it does not fully shut down, it goes into hibernation, which over time leads to instability because of all of the temp files that build up. It does this so that it boots back up faster with everything restored to the way it was when shut down.
11
u/Admirable-Song-7353 11d ago
they gotta send 'em all precious data to their datacenters somehow. Top it off with their ai slop, ads, bloatware, telemetry etc you name it, and you have the answer in terms of efforts. ~micro$lop
15
u/ReidenLightman 12d ago
Microsoft needs to wait a minutes to send hundreds of data points about you back to the mothership. They swear it's not for spying, but it is.
9
u/Pristine_Dot_5526 12d ago
Takes time to send all unsent telemetry data home
9
u/linux_shift 12d ago
Check if you have Fast Startup enabled in Windows. That should be the problem. If you have Fast Startup enabled, the system takes a while to shutdown to facilitate a fast startup, meaning it saves the entire kernel and driver state to your drive so the next boot is faster.
Even with Fast Startup disabled, Windows will still usually take a bit longer than Linux Mint to shut down simply because it has more background services, telemetry, and update checks to wrap up.
4
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 12d ago
Totally a guess but maybe Windows "Fast startup" (unrelated to BIOS/UEFI Fast Boot) takes time writing data to a hybrid hibernation file? Especially if it's writing to a slow rotating hard drive.
May not have a thing to do with it, just guessing. :)
Have fun.
3
u/sgwpx 12d ago
Has a lot to do with MicroSlop
4
u/-OddDog- 12d ago
One of my fav things! Doesn’t attempt to explode upon starting, quicker shutdown, apps load without having to fight windows defender, a search function for files that doesn’t first try to search for the meaning of life before finding ur vacation folder…… wonderful it just works
2
u/grimvian 11d ago
Our 11 year old computers hibernate in one sec and comes back in one sec. We only reboots when an update requires it.
1
u/Firebird713 12d ago
Windows needs so long, to close the explorer. If you have Outlook, sometimes it freeze at the download.
1
u/Osherono 11d ago
This got me thinking as I never bother timing my shutdown time, so I just tried shutting down on all my Windows machines and they don't take a full minute. Not even half that, by a stretch. What did you have running on your Win machine anyway?
1
u/BlackHoles_BlueSuns 11d ago
Windows basically opens everything at the same time and runs it all in the background, which gives it fast operations but hogs RAM. Linux opens things as needed, shutting them right away when not needed. So when you shut down Linux, not much is open.
1
u/h4rdw00d_ 11d ago
Check your network packages being sent out when you shut down
1
u/rcentros LM 21/22 | Cinnamon 11d ago
Probably sending a report to the Mother Ship. (I don't know, I've always wondered why Windows takes so long to shut down also.)
1
u/vmcrash 11d ago
Even worse too often at the end of a day: Windows wants to install updates and that easily can add additional 15min while I just wanted to shut down.
I love how NixOS handles updates: it downloads them in the background, builds the new file system root in the background and after a reboot it's there. No waiting time.
1
u/____ELITE___ 11d ago
Vc acaba de descobri apenas uma das pequenas pulgas da Microsoft, bem vindo a liberdade guerreiro 🪖 ⛓️💥
1
u/malcite 7d ago
10 sec is slow. I got 2 desktops, one with 48gb ram and a gpu and the other with 16gb ram and no gpu (intel dedicated only). The faster one is the one with less ram oddly enough. 5sec flat and that is with fastboot off in bios. I still have to reboot to get into bios from time to time simply because my keyboard is too slow 😅
1
u/groveborn 12d ago
Fast boot means it's saving RAM state to the drive. It's just saving RAM so it can boot fast
0
u/hlebka 12d ago
It takes 8 seconds to shutdown my PC w/ W11. Are you smoking?
-2
u/kinoosaki 12d ago
Takes me a few seconds on Windows 11. User issue.
0
u/OGigachaod 12d ago
It's not MS, some program you're running is hanging at shutdown.
0
u/Unwiredsoul 12d ago edited 9d ago
8 seconds on the PC I'm typing this from (just tested it a minute ago). It has the extra overhead of needing to unmount two USB HDD's that are attached, too.
I do not have Hibernation enabled (that also disables Fast Startup).
Windows keeps a lot more things open that need to be closed cleanly (e.g., Handles), and you've got the overhead of memory resident antivirus software, too.
A quick tip is to check your Event Viewer (Application and System) during the shutdown process. Could be as simple as a service getting stuck on shutdown.
Good luck!
-2
u/blow-down 12d ago
How often are you shutting down your computer? I just close the lid.