“Have you tried restarting?”: the magical solution of computer scientists is not a myth and there is a technical explanation



We have all offered this advice at one time or another. Or we have received it. In fact, it is such a hackneyed phrase that little by little it has been losing its raison d’tre to the point of being relegated to a simple myth for many users. But is not. It is not at all. Sometimes restarting a computer, a smartphone or a tablets enough for solve some problems.

Of course, there is no magic here. It may seem that way to people who don’t know how an operating system works (a common user doesn’t have to know), but in reality there are technical basics that explain why turning off and on again any electronic equipment whose architecture is similar to the of a computer can effectively solve some problems.

An early restart can save us headaches

Before moving forward it is important that we moderate our enthusiasm. And it is that a reboot is not foolproof. Computer equipment can experience many problems that simply turning it off and on will not solve. Faults that are caused by a malfunction of some hardware component will not magically disappear by restarting our device, naturally.

Apple's brutal M1 Ultra processor compared to the other chips in the family

However, there is a wide range of errors that originate in software, and, unlike those that affect hardware, they can be corrected thanks to the impact that a restart has on the behavior of the computer. In fact, these are the errors that, many times without being really aware of it, we users face more frequently. Fortunately. And a good part of them have their origin in the operating system, a software component that acts as an intermediary between us and the hardware of our device.



The operating system itself does not perform a useful function; it simply creates the environment in which other programs can do useful work

This is one of the formal definitions of operating system proposed by James L. Peterson and Abraham Silberschatz, the authors of ‘Operating Systems. Fundamental concepts’, one of the classic books used in many computer science faculties and schools to instruct their students in basic design principles of this fundamental component of our computers:

An operating system is similar to a government. The basic resources of a computer system are hardware, software, and data. The operating system provides the means for the proper use of these resources during the operation of the computer system. Like a government, the operating system itself does not perform a useful function; it just creates the environment in which other programs can do useful work.

This definition by Peterson and Silberschatz puts several keys on the table that we are interested in not overlooking, but before continuing we need to make one more point: when we turn on a PC, a smartphone or any other device with an architecture similar to that of a computer, the fundamental components of the operating system that are necessary for the computer to function properly are loaded into main memory from the secondary storage subsystem.

Main memory is volatile, so when you turn off the computer, its contents are lost. And when you turn it on, as we have just seen, the essential components of the operating system and the applications that we are running are stored in it. The original operating systems were born in the 1950s with the first computers, and all the time that has passed since then has allowed them to become more and more sophisticated, but also more complex.

How to deep clean your laptop (yes, also inside) and make it look like you just brand new

As Peterson and Silberschatz explain, one of its most important functions is to manage hardware resources so that they can be used by the applications and shared between all those that are running concurrently. The problem is that scenarios frequently occur that prevent the algorithms used by the operating system to manage main memory, CPU usage, input/output or the file system, among other components, from performing correctly.

Sometimes a perfect storm is triggered consisting of a series of small failures that cascade and prevent everything from working properly.

Usually the operating system is capable of identifying these errors and correcting them without us noticing, but sometimes a perfect storm is triggered consisting of a series of small errors that cascade and prevent everything from working correctly. This is the scenario that users usually perceive as an excessive slowdown of our computer, or even in the form of error messages or unexpected crashes.

The good news is that making a clean slate in these circumstances is a piece of cake. The only thing we have to do is simply restart our device. In this way, as we have seen, the main memory will lose its content and during boot the fundamental components of the operating system will be reloaded into the main memory. as if nothing had happened.

A little advice to conclude and put into practice the ideas we have just investigated: it is advisable to restart our devices from time to time, and often the ones that thank us the most are our mobile phones because some users keep them on. for very long periods of time. And in these circumstances it is likely that little by little the content of the main memory will degrade. Fortunately, the solution is very simple.

Image: Elisa Venture

Super deals available today

Fire Stick TV with Alexa voice control

Fire TV Stick with Alexa Voice Remote (includes TV controls), HD Streaming Device

Fire TV Stick with Alexa Voice Remote (includes TV controls), HD Streaming Device

4th generation Echo Dot

Echo Dot (4th generation) |  Smart speaker with Alexa |  Anthracite

Echo Dot (4th generation) | Smart speaker with Alexa | Anthracite

Echo Show 5

Echo Show 5 (2nd generation, 2021 model) |  Smart display with Alexa and 2 MP camera |  Anthracite

Echo Show 5 (2nd generation, 2021 model) | Smart display with Alexa and 2 MP camera | Anthracite



Related News

The Galaxy Z Fold4 and Flip4 leak in press photos

Just yesterday, an image published by Evan Blass I suggested that Samsung could hold your Galaxy Unpacked event to introduce the Galaxy ZFold 4 and to Galaxy

Intel Arc A770, Rivaling RTX 3060 Ti

Intel, which is selling Arc A380 graphics cards, is preparing to launch high-end graphics cards such as Arc A750 and Arc A770. Similar to NVIDIA's Founders

So you can make your Xiaomi mobile concentrate all the WiFi signal in a single app

The speed of the internet is measured in megabits per second (Mbps), it means that a megabit has 1024 kilobits (Kbps), therefore 1 Mbps is a thousand times

Android: why you should not charge your cell phone to 100%

Are you one of the people who leaves carrying the cell phone all night? Well, we tell you that this can be harmful not for you, but for your smartphone.

WhatsApp: how to save data when you make a call or video call

Do you run out of megabytes on your cell phone too quickly? WhatsApp is possibly responsible for doing so. The messaging application has an infinite number of

The guide to remove the internal dust that is in the speakers of your Xiaomi phone

Most users normally clean the outside of their phone Android with a damp cloth or dry cloth, however, dirt also enters through the speaker holes and could