r/linuxmint • • 19d 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?

145 Upvotes

41 comments sorted by

144

u/Still-Grass8881 19d ago • Bravo

it takes a while for all the spyware to boot up and shut down

67

u/dmknght 19d ago

spyware must send all data before shutdown lol

11

u/Redd-it-42 19d ago

LoL, couldn't agree more and I still have to use windows. One good day I'll transfer my Plex server from windows to Linux.

4

u/AlaskanHandyman Linux Mint 22.3 | Cinnamon 19d ago

Dump Plex, and go Jellyfin...

3

u/Redd-it-42 19d ago

Already have it setup over 6yrs now, got premium when it was worth it. Probably if the player gets worse, I've got no issues with it.

38

u/Livie_Loves 19d 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 19d 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

u/Rhythmjunky 19d ago

The way Linux is containerized has a lot to do with it, I'm sure.

1

u/vmcrash 19d ago

Other Linux systems in our Office also might take 2-3min to shut down.

43

u/ap0r 19d 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 19d 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 19d ago

76 runs great on Linux, she really should let you.

3

u/wastedsilence33 19d 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 19d 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 19d 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 19d 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 19d ago

Takes time to send all unsent telemetry data home

9

u/linux_shift 19d 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É 19d 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 19d ago

Has a lot to do with MicroSlop

4

u/-OddDog- 19d 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 19d 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 19d ago

Windows needs so long, to close the explorer. If you have Outlook, sometimes it freeze at the download.

1

u/Osherono 19d 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 15d 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 11d 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 19d 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_ 19d ago

Check your network packages being sent out when you shut down

1

u/rcentros LM 21/22 | Cinnamon 19d 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 19d 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___ 18d ago

Vc acaba de descobri apenas uma das pequenas pulgas da Microsoft, bem vindo a liberdade guerreiro 🪖 ⛓️‍💥

1

u/malcite 15d 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 19d 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 19d ago

It takes 8 seconds to shutdown my PC w/ W11. Are you smoking?

-2

u/kinoosaki 19d ago

Takes me a few seconds on Windows 11. User issue.

-3

u/OGigachaod 19d ago

100% User issue.

0

u/OGigachaod 19d ago

It's not MS, some program you're running is hanging at shutdown.

0

u/Unwiredsoul 19d ago edited 17d 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/[deleted] 19d ago

[removed] — view removed comment

2

u/Ok_Machine_9600 19d ago

I always shut it down. I know about hibernation but I like to open a clean slate every time. personal preference. :)