5 ms·
Ask HN: How often do you restart your computer?
I'm old enough to remember the times when computers were restarted regularly, both out of necessity (many software installs required this) and for performance reasons.
For the last decade or so, the experts have said that we don't need to restart our computers. But I still find that my computer runs faster after a restart. I can see my CPU usage is much lower, and RAM is more available — even after I've reopened all of the applications I was using before shutdown.
I'm curious about how others approach this question. For the record, I have an M2 MBA.
- throwaway828 3y agoLaptop (Debian): At the end of the day. Also when travelling. It's fully encrypted with a boot password stronger than my user (sleep/resume) or root passwords.
- reify 3y ago2 x laptops 2 x Rpi laptop 1 daily driver minimal manjaro once a day, if I go out for extended periods and after updates laptop 2 for my Rpi stuff laptop MXlinux rarely Rpi weather station = occassionally Rpi TV streamer = occassionaly
- dave84 3y agoOnly when I need Keynote to recognise a newly installed font.
- deleted 3y ago[deleted]
- KomoD 3y agoLaptop? When I'm done using it. Desktop? Not very often. > up 8 weeks, 2 days, 18 hours, 9 minutes I do put it into sleep sometimes.
- TowerTall 3y agowindows user. Very infrequent like every other month. With a few exception, I only reboot when Windows Update requires it
- wiwoworld 3y agoMine runs for weeks, sometimes even months before restarting. Linux user here :)
- runjake 3y agoMonths. Usually when there's a new macOS update. If it matters, I avoid installing third-party kernel extensions and any software that comes as a PKG.
- deleted 3y ago[deleted]
- LinuxBender 3y agoHow often do you restart your computer? Every day. I power off anything I am not using after clearing out temp files. I get less dust bunnies and less power usage. I only power on a computer if I want to use it and leave the computers I am not using off.
- h2odragon 3y ago37 days uptime right now; since the last power blink. Reboots just to reboot; practically never. Config changes, maybe.
- cpach 3y agoM2 MBP here. Not sure, I think I restart like once a month or so.
- gnicholas 3y agoDo you find there to be a performance benefit? It seems like everything runs faster after a restart, down to the latency on my BT keyboard. But the most noticeable difference is my CPU usage, which is at basically 0% after I restart, compared to 20% before, both when idle and with my normal applications open.
- cpach 3y agoI see! For me, no noticable performance benefit.
- MattGaiser 3y agoMonths. I have noticed the performance gap and when I peak at task manager/activity monitor, it is usually because I have left something running in the background. It might be Docker, might be Nginx, might be an updater. I hate restarting, as then I have to reopen all my tools and restart everything all over again.
- selectnull 3y ago$ uptime 21:08 up 30 days, 23:09 M2 Air. Restart only after OS finally nags me down into an upgrade.
- pranitbauva1997 3y agoAt least every day. Sometimes in between if I have ran any updates.
- focusedone 3y agoWindows: once a week or as needed. Linux, whenever I feel like it. 117 days on a home server right now. 42 days on a laptop.
- CogitoCogito 3y agoI usually hibernate instead of fully rebooting (and since it’s Debian the machine really is off until I turn it back on). That I do multiple times a day. But unless I actually need to hibernate to keep some things open, I will always turn it off normally.
- torblerone 3y ago> How often do you restart your computer? Every day. Whenever I clock out in the afternoon, I turn it off. When I want to do private stuff, I turn it on again, and turn it off when I'm done. The only thing with uptime worth mentioning in the house is my Pi Zero running PiHole.
- mindcrime 3y agoFor my Linux laptop: once every couple of weeks or so. It wouldn't even be that often, but every once in a while I'll suspend it by closing the lid, and when I reopen it, it won't come out of suspend without a power cycle. Doesn't happen very often, and boots are super fast, and all my apps auto-restart, so I don't really worry about it.
- vgeek 3y agoNvidia gpu? If so, you can disable Nvidia specific suspend/hibernate functions and it may work fine.
- pmontra 3y agoWhen the battery won't keep my Linux laptop in standby for long enough.
- ElCapitanMarkla 3y agoMaybe once a week... maybe once a month... depends if something bugs out. My Macbook and Linux PC both hibernate after an hour or so idle time. And I only restart as its usually a quicker fix to turn it off and on than find out the process with the issue, etc.
- stevage 3y agoMacBook Pro: every couple of weeks Windows: every couple of days.
- comprev 3y agoOut of habit I power down computers I don't use any more. Every workday my M2 MBAir work laptop is booted from cold and shut down after work. Personal MBAir 2017 is the same. Even my TV and XboxSX get properly powered down when not in use. Exception to the rule is my iPhone (7 Plus) and iPad Air (2019)
- in9 3y agoEvery week or so. I have a feeling stuff starts to run smoother. And I also tell macos to not recover the windows. I like a fresh start.
- gnicholas 3y agoWhat do you think the reason is? I had hypothesized that it was because I keep tons of tabs open, and over time more of them are made active (they are in a quasi-hibernated state when I first reopen Brave). But if that is true, then quitting and restarting Brave would have the same effect — which it doesn't seem to.
- in9 3y agoHonestly, memory leaks are common in software, so I really don't buy it when people say they don't need to do it. Unless it is a server where the memory footprint is arguably simpler due to not having graphics + UI + different interfaces and peripherals, I can't convince myself that a reboot won't freshen things up.
- HeyLaughingBoy 3y agoI reboot my TV far more often than I reboot my laptop.
- Lestertucker 3y agoAre filesystem corruptions more likely to happen in long uptime without ECC?
- laksdjf 3y agodesktop pc. shutdown every night
- dehugger 3y agoI have a job that restarts my Windows PC every night at 4AM. I've found that it is much more performant and stable since I started doing that
- Quinzel 3y agoI restart my computer once every day or so mainly because I broke the power cable so when it runs out of battery I have to recharge it. For the record I just have a regular MBA if this is relevant to turning computers off and on again.
- satvikpendem 3y agoIn this order: Whenever Windows wants to update; if I have some driver issue, especially for gaming; if I want to not have it heat my room staying on all night, especially in the summer.
- fuzzfactor 3y ago>How often do you restart your computer? Every single time. Whenever I think there's a possibility that the need to reboot has not been overcome since the DOS days and W9x. I find many more unexpected needs to restart in Windows NT6. Unless your PC is miserably encumbered, it only takes a few seconds to reboot or cold start, so why hesitate. Reboot early and often. >I'm old enough to remember the times when computers were restarted regularly During those same times I remember other operators who never wanted to turn off their computers for any reason, almost acting like they were mainframes and afraid they might not boot back up. Looking at the answers, here's my anecdata: I usually only turn one on when I'm really working on it, and completely power down when finished. Never hibernate or sleep, why bother? OTOH the ones I had at work hooked up to scientific instruments never get turned off for years, except for power failures in excess of battery backup time. Once I got IT out of the lab it was possible to craft Windows XP for far more reliability than they had dreamed about, or achieved since on their office machines with NT6.
- johannesrexx 3y agoMy Linux machines sleep when not in use and get a reboot when there's a kernel update, so about every one to two weeks. My Mac Mini also sleeps when not in use and only gets a reboot when there's a macOS update, which are typically months apart. My Raspberry Pi runs Pi-hole and it gets booted every few months. Everything is on a UPS so there's never a reboot due to power failure.
- cookiengineer 3y agoCan relate to Linux machines. That moment when you think USB is broken and realize "oops didn't reboot after kernel update"...
- Exuma 3y ago2 times a month on osx. I do t even need to I just do it when updating. OSX super stable
- AstroJetson 3y agoWindows 28 days Raspberry Pi 400 32 days Pi Hole 11 months I don't reboot unless something is complaining about it. Not a fan of the new software "new version every 11 hours, please install" (yes looking at you Chrome)
- brudgers 3y agoAfter patch Tuesday.
- voussoir 3y agoDesktop PC, my most recent reboot was a few days ago but the previous was 108 days before. The worst part about rebooting is catching up on all the Chrome updates that I don't want -- most recently the one that removes the bottom downloads bar in favor of the upper right popout.
- kirkarg 3y agoDesktop computer: every 2 or 3 days. Sometimes weeks but it's odd. Work notebook: wednesday and friday. It might vary based on the things that I'm doing but I'm trying to close (and save) everything at the end of the day so I can turn it off.