Why Linux Boots And Shutdowns Faster than Windows ? - Techs And Geeks | Tech Hacks | Tech News


templatesyard"/>

Why Linux Boots And Shutdowns Faster than Windows ?

Share This
linux-boots-and-shutdown-faster-than-windows-techsandgeeks

Do you ever wonder why Linux based operating systems like Ubuntu,Linux Mint, Elementary OS,Kali Linux etc boots And Shutdowns faster than Windows operating system?

Why Linux Boots Faster than Windows ?

we are going to discuss why Linux boots faster than windows .

A lot factors affect the boot time of both Linux and Windows. Some of the notable reasons are :

Kernel : Kernel is the nucleus of an operating system. It has complete control over everything that occurs in the system.

Linux Kernel is monolithic — means it holds all functionality,even drivers ,memory management, task scheduler and file system. So while booting Kernel loads all these functions at once.

And Windows NT kernel is like a micro-kernel which only holds basic features during boot process, then loads other functions,drivers and file systems. Which makes Windows to boot a bit slower than Linux.

Services and Programs : In Windows many services auto-starts during start up along with many programs like Antivirus which makes booting process slow. While in case of Linux it is limited.

Backward compatibility : Backward compatibility allow software system to successfully use interfaces and data from earlier versions of the system or with other systems.

And Windows have long history and they support old software frameworks, so during boot time Windows have to load these libraries to make the Windows experience smoother.

While Linux distributions doesn’t have backward compatibility feature.



Fragmentation : Fragmentation means the storing of a file in several separate areas of memory scattered throughout a hard disk.

In Windows files are fragmented. So hard disk takes more time for read and write during start up. And also when you installs more programs in Windows, then system takes more time to load. You can notices these by delay in boot time with new and used Windows system.

And in Linux filesystem used is EXT, which doesn’t requires fragmentation. Because Linux allocates files in a more intelligent way. Instead of placing multiple files near each other on the hard disk, Linux file systems scatter different files all over the disk, leaving a large amount of free space between them. So  read and write during start up is faster.

Desktop Environment : Another main reason behind faster Linux boot is its Desktop Environment (DE). Which is quite faster than Windows.

Why Linux Shutdown Faster than Windows ?

Now we are going to discuss why Linux shutdown faster than Windows.

Services in Windows delays shutdown : During Windows shutdown, most services will generate at least one event on terminating. Sometimes each service may have many events.

Eg “NTP Service terminating”, “Printer Driver got signal to terminate”, “Printer Driver is flushing the queue” “Printer Driver Exiting”. These Events are “objects” and are slow to create and destroy, which adds up to shutdown time.

However, during shutdown on Linux, most processes simply print a line on the console or/var/log/messages and exit. Which makes a smoother shutdown.

Cache : Windows may cache many things and these caches have to be flushed to filesystem on shutdown. But caches are handled better in Linux, with periodic “fsync” executions, on better filesystems.


GUI : Graphical User Interface (GUI) in Windows saves a lot of state information most of which is stored as objects. Which affect shutdown time.

While in case of Linux, Command Line Interface (CLI) has almost nothing to save, except for the shell history file. Most state information is in simple text files.

Process & Programs : Like services, some process and programs in Windows a lot more time to exit during shutdown and it will hung up and sometimes we have to forcibly terminate the task.

And Linux takes less time to each process to exit, and most programs may respond quickly and exit faster during shutdown.

However unlike previous Windows versions, Windows 10 some what improved its boot and shutdown time but still doesn’t faster than Linux.

If You Have Any Doubts Kindly Ask Us On Comments Section And By Using Contact Page...



No comments:

Post a Comment

Post Bottom Ad