I use Ubuntu btw. Poweroff could use more write cycles on the SSD because it has to read everything at startup, but suspend has to keep supplying power to the RAM
Server: Not once I have used anything else than reboot.
Desktop: Whatever happens when I close the lid.
What is power…off?
Like back in the 90s??
Just chiming in to point out that powering off and then starting back up won’t cause any additional SSD wear, reading from flash memory doesn’t use up write cycles* (because there is no writing going on!). In fact, regularly restarting could be slightly more friendly for your SSD, because the /tmp directory, old log files, etc. get deleted on startup, freeing up the storage blocks used by the deleted files so that the SSD can use them for its internal wear balancing.
*technically, flash memory reads do very slightly degrade the data being read, but this effect is absolutely negligible compared to other forms of passive bit rot in flash memory and is basically irrelevant unless you’re intentionally trying to corrupt data using reads (which won’t happen because the flash controller will fix it before it becomes corrupt to the point of being illegible)
I poweroff. I have enough time to let it turn on and can save some energy. (Electricity is getting even more expensive)
whatever happens when I click shut off or the power button on my pc
y’all been powering down your systems?
had my servers up for like a decade or more…
Dude has that 10 year uptime
I rip the plug out of the wall without warning. Gotta keep your machines on their toes or they’ll get too comfortable and start plotting against you.
Else it gets the cord again
I’ve had to start counseling sessions with my MongoDB. It thinks I’m conducting stress tests, but really I’m just maintaining discipline.
I know a real professional when I see one!
Yeah! Show them who’s boss.
I power off so that my drive encrypts when I’m not using it
Yeah I am a bit paranoic sometimes about it too
Power off to get the full security benefits of disk encryption.
Nearly always suspend. It just works for me and I’ve never had issues (Arch and Pop). I rarely, rarely have power outages so the end result is the same.
Power off because usually when I turn my laptop off, I’m going to be keeping it off for a long enough period of time that suspend would just not be worth the battery drain.
I suspend so I don’t have to wait for stuff to load up on boot
You guys are turning off your computers?
I am trying to be more energy conscious so I’ve been turning mine off more as of late, but ya in the past I typically left my machine up for 7 - 14 days and only power off/reboot after updating.
I remember older gaming forums where people would have their uptime in their post signatures.
Edit to add: upon reflection it was all the more impressive because almost all gaming PCs were Windows.
https://en.wikipedia.org/wiki/Time_formatting_and_storage_bugs
Microsoft Windows 95 and Windows 98 had a problem with rollovers in a virtual device driver, VTDAPI.VXD, which used unsigned 32-bit integers to measure system runtime in milliseconds; this value would overflow after 49.7 days, causing systems to freeze.[93]
The horrifying thing here isn’t just the bug, but that this made it into two major releases of Windows because the system was sufficiently-unstable that it wasn’t tracked down for years.
One area where desktop computers have come a very long way in the past 30 years is in OS stability.
Yep, that’s the right timeframe I was referring to.
My laptop, I’d just suspend to RAM, unless I was going somewhere without it for a couple of days or more.
The desktop is always on. The monitors suspend, but everything else is sucking power. I expect with frequency scaling, it’s not as bad as it used to be, but then, in ye oelden days I didn’t do nightly backups to the cloud and disc, or sync data between servers and run other odd, automated jobs.
That was my reaction, to the question, too.
I’m not sure what power down options my current (Linux) OS has. I just let the battery die sometimes like a normal person.
Edit: The battery management defaults are so good, I have to forget about it on a shelf for several days before it - well I don’t know what it does, because I’m ingoring it. Maybe it powers down, maybe it suspends, maybe it does some kind of emergency shut down…
I’m lazy and use systemctl poweroff! 😆
Depends.
My desktop gets powered off because I don’t use it often and it sucks a lot of energy and is loud.
My Steam Deck gets suspended when I’m not using it because that’s usually in the middle of a game and I don’t want to hear the game sounds all the time or accidentally do something.
My laptop is running 24/7. At night I use it to listen to science videos to help me sleep. And in the day I watch stupid YouTube videos to help me cope with life.
Not to mention the steam deck has a weird bug on it that if you leave it powered off for too long, for some reason it decides to just not turn on anymore unless you hook it to power. Super annoying because it will turn on and say something like 80 or 90% power, but the button won’t actually boot the system unless it has a power hookup. I’ve on a few occasions had to use reverse power charge from my phone to the deck to trick it into booting on the go. Once you hear the beep saying its turning on you can unplug it. Weirdest thing
I think that has something to do with battery storage mode flipping on iirc.