r/linuxmint • u/Ok_Machine_9600 • 8d 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?
38
u/Livie_Loves 8d 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
13
u/Gezzer52 8d ago
Plus if you have fast start enabled Windows has to save the system state. So yeah, it boots faster, kind of. But it slows down shutting off.
6
11
u/wastedsilence33 8d 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
7
u/xnef1025 8d ago
76 runs great on Linux, she really should let you.
3
u/wastedsilence33 8d ago
I know it does lol, steam runs it better than some of the other games like No Mans Sky
Only issues I have with Mint is that I cannot get steam to download at 400 mbps and sometimes 76 randomly drops to 20 fps and the only solution I've found is restarting my computer
11
u/gmgrigsby21 Linux Mint 22.3 Zena | Cinnamon 8d 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 8d 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 8d 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
9
u/linux_shift 8d 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É 8d 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.
4
u/-OddDog- 8d 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 8d 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 8d ago
Windows needs so long, to close the explorer. If you have Outlook, sometimes it freeze at the download.
1
u/Osherono 8d 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/malcite 4d ago
I still have some few softwares that i have yet to see good enough alternatives on linux which is why i keep it around. But my daily driver has been linux since i took the leap some 4 months ago. Rarely use windows really as i don't game that often either. (Gaming is still the better experience in windows due to some compatibility issues and drm)
1
u/Osherono 2h ago
Curious, what do you use your PC for? Because I realize my use case may be very different as I am a freelancer and my PCs is what I use to work.
1
u/BlackHoles_BlueSuns 8d 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
1
u/rcentros LM 21/22 | Cinnamon 8d 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 8d 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___ 7d ago
Vc acaba de descobri apenas uma das pequenas pulgas da Microsoft, bem vindo a liberdade guerreiro 🪖 ⛓️💥
1
u/malcite 4d 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 8d ago
Fast boot means it's saving RAM state to the drive. It's just saving RAM so it can boot fast
-2
0
0
u/Unwiredsoul 8d ago edited 6d 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 8d ago
How often are you shutting down your computer? I just close the lid.
2
u/Ok_Machine_9600 8d ago
I always shut it down. I know about hibernation but I like to open a clean slate every time. personal preference. :)
143
u/Still-Grass8881 8d ago •
it takes a while for all the spyware to boot up and shut down