Evaluation of Two Modern Operating Systems
Evaluation of Two Modern Operating Systems
Evaluation of Two Modern Operating Systems
Submitted by:
Submitted to:
Date:
2
Contents
Evaluation of Two Modern Operating Systems..........................................................................................1
Introduction:...............................................................................................................................................2
Microsoft Windows OS:........................................................................................................................2
Synopsis:.............................................................................................................................................2
Computer system examples include:...............................................................................................2
System prerequisites:........................................................................................................................2
Use Cases:...........................................................................................................................................2
The Linux operating system:................................................................................................................3
Synopsis:.............................................................................................................................................3
Computer system examples include:...............................................................................................3
System prerequisites:........................................................................................................................3
Use Cases:...........................................................................................................................................3
OS Architecture:..........................................................................................................................................3
Windows OS Architecture:....................................................................................................................4
The kernel:..........................................................................................................................................4
Principal Elements:............................................................................................................................4
Structure of the Linux Operating System:.......................................................................................5
Important Elements:.........................................................................................................................5
Modules of a loadable kernel:..........................................................................................................5
Major Functions of both systems and how they are related to the type of system:................................6
3
We are aiming to compare two widely utilized operating systems which includes;
Window
Linux
Introduction:
Synopsis:
Microsoft created the Windows operating system family. Windows 10 is the version that is most
often used. Servers, tablets, laptops, and personal computers are all intended to run Windows
operating systems. They facilitate multitasking and offer a graphical user interface (GUI).
Microsoft provides patches and upgrades often to improve security and include new
functionality. |
System prerequisites:
A processor running at 1 GHz or higher, 1 GB of RAM for 32-bit systems or 2 GB for 64-bit
systems, 16 GB or 20 GB of hard disc space for 32-bit systems, and a graphics card supporting
Use Cases:
Due to its vast program interoperability and user-friendly interface, Windows is popular both for
personal and corporate usage. It is frequently utilized in business settings, video games, and
other professional applications. (Adekotujo, A., Odumabo, A., Adedokun, A., & Aiyeniko, O. ,2020).
Synopsis:
Based on the Linux kernel, the Linux family of open-source operating systems resembles Unix.
There are several Linux distributions (distros), each with a unique set of features and attributes.
Fedora, CentOS, and Ubuntu are a few examples. Linux is renowned for being flexible, secure,
and stable.
6
System prerequisites:
The system requirements for Linux might differ greatly depending on the distribution. For
instance, a 2 GHz dual-core processor, 4 GB of RAM, and 25 GB of hard drive space are
Use Cases:
Due to its security features and stability, Linux is utilized extensively in server contexts. It is
widely used in Internet of Things (IoT) devices and embedded systems. Due to its customizable
choices and command-line interface, Linux is a popular choice for developers and system
administrators.
OS Architecture:
7
Windows OS Architecture:
With components from both monolithic and microkernel kernel designs, Windows has a hybrid
architecture.
The kernel:
The hybrid kernel used by Windows combines elements of the monolithic and microkernel
kernel architectures. The kernel (monolithic aspect) contains the essential elements, such as
memory management and process scheduling. On the other hand, some system functions and
device drivers operate in user mode, which helps to create a framework akin to a microkernel.
Principal Elements:
User Configuration:
User mode is used by Windows subsystems, such the Win32 subsystem, which runs
Kernel Configuration:
The Windows kernel, which controls system resources and offers essential services, is a
Device drivers operate in kernel mode and are in charge of facilitating communication
Executive Support:
The central component of the Windows operating system is the Executive, which is a
The Executive is made up of parts such the Memory Manager, Process Manager, and I/O
Manager.
The kernel:
9
As the Linux kernel is monolithic, the majority of services provided by the operating system
It takes care of the file system, device drivers, memory management, system calls, and processes.
Important Elements:
Interaction Space:
Libraries and user apps are included in the user space in Linux.
User applications depend on system libraries, such the GNU C Library (glibc), for crucial
functions.
The monolithic kernel that manages system-level operations makes up the Linux kernel
area.
Kernel space is where file systems, device drivers, and essential kernel functions run.
kernel's capabilities without necessitating a reboot. (Aroca, R. V., Caurin, G., & Carlos-SP-Brasil,
S. ,2009).
Windows stores details about each process in a process control block (PCB). In
Windows, there are five different process states: Running, Ready, Waiting, Transition,
and Terminated.
10
Information like the process ID, priority, context, and memory information are all
Tying up:
Windows has multithreading capabilities, which enables a process to have many threads
operating simultaneously.
In Windows, threads have separate registers and stacks but share the same resources (files
and memory).
Processes are chosen from the work queue and moved to the ready queue by the long-
A thread is chosen from the ready queue by the short-term scheduler, also known as the
Organizing Methods:
priority level, and the thread with the greatest priority is chosen for execution by the
scheduler.
Additionally, Windows utilizes a feature known as priority boost to give a thread that has
Windows' synchronization objects assist in controlling resource sharing and averting data
races.
Managing Deadlocks:
Windows handles deadlocks in a few different ways. To find and fix deadlocks, it makes
Processes and resources are monitored by the Resource Manager, and algorithms for
Using the priority inversion method, Windows may proactively terminate lower-priority
Each process's virtual address space is kept apart by Windows' virtual memory
User mode and kernel mode comprise the organization of memory. The operating system
and device drivers are found in kernel mode, whereas the application code and data are
Demand-paging is a feature of Windows that loads data into memory only when it's
required.
I/O operations are represented by I/O request packets (IRPs), which are processed by
As Windows supports asynchronous I/O, processes can keep running while they wait for
I/O to finish.
Linux stores details about each process in a task_struct, which is sometimes called a
process descriptor. Running, Interruptible, Uninterruptible, Zombie, and Stopped are the
Information like the program counter, file descriptors, process ID, and parent process ID
Tying up:
The clone() system function in Linux allows for multithreading by spawning a new
Under Linux, threads have identical file descriptors, memory addresses, and process IDs.
The default Linux scheduler, called Completely Fair Scheduler (CFS), aims to provide
Fairness is the primary goal of Linux's priority-based CFS scheduler. Higher priority
processes receive a bigger portion of the CPU time through a time-sharing mechanism.
Methods of Synchronization:
Linux has several synchronization techniques, including spin locks, mutexes, and
semaphores.
Managing Deadlocks:
One way to prevent deadlocks is to carefully design the kernel to reduce the possibility of
Similar virtual memory is used by Linux, which gives every process its own virtual
address space.
There are two types of memory: kernel space and user space. Device drivers and the core
Demand paging is also used by Linux to load data into memory as needed.
Linux has a set of interactions between kernel and user space to handle I/O.
The character and block I/O layers of the kernel control several kinds of devices.
Asynchronous I/O is supported by Linux via methods such as the io_submit system
its well-known user-friendly graphical interface. Ease of use is given top priority in the
and games that are compatible with it. Its appeal is influenced by this complementarity in
Hybrid Design of Kernel: Windows' hybrid kernel architecture blends elements of the
microkernel and monolithic kernel technologies. Performance and stability may now be
balanced, possibly leading to increased security. (Nazeer, S., Bahadur, F., Iqbal, A., Ashraf,
G., & Hussain, S. ,2015
Constraints:
Software of a proprietary nature: The source code for Windows is not available to the
general public. In opposition to the open-source tenet, this restricts users' access to the
versions could require more hardware, which could have an impact on how well they run
Security Issues: Windows is frequently the target of malware and security threats
because of its extensive use. Although Microsoft publishes security patches on a regular
Possible Expansions:
Open Source Collaboration: Adding new operating system components to the Windows
Transparency, security, and community engagement may all benefit from this.
can alter the source code, encouraging creativity and supporting a collaborative
development paradigm.
Linux is renowned for its dependability and efficiency, especially when used in server
contexts. Scalability and effective use of resources are made possible by the modular
design.
environments, software packages, and distributions, users may customize the system to
Restrictions:
Desktop Market Share: Although Linux is the most popular operating system in server
user-friendliness for the typical desktop user and software compatibility problems.
with varying package managers and customizations. Although variety offers options, it
may also make some elements of software development and support more difficult.
Support for Specific Hardware Drivers: Although Linux has made great progress in
this area, compatibility issues may still arise with some proprietary peripherals or
hardware components.
Possible Expansions:
Better Desktop Experience: Improving the desktop environment, such as simplifying
software installation procedures and creating better user interfaces, may aid Linux's
uniform interfaces and configurations across Linux distributions, efforts might be made
to facilitate ecosystem navigation for developers and consumers. (Sulaiman, N. S., & Raffi,
A. S. H. A. ,2021).
Conclusion:
In conclusion, there are advantages and disadvantages to both Windows and Linux, and future
developments will rely on the aims and objectives of the two development groups. Windows
might stand to gain from increased open cooperation, optimization, and security, while Linux
should concentrate on enhancing its desktop environment and resolving driver support and
fragmentation concerns.
17
References:
Adekotujo, A., Odumabo, A., Adedokun, A., & Aiyeniko, O. (2020). A Comparative Study of
Operating Systems: Case of Windows, UNIX, Linux, Mac, Android and iOS. International Journal
Awan, M. T., & Khan, K. (2022). Linux vs. Windows: A Comparison of Two Widely Used
Aroca, R. V., Caurin, G., & Carlos-SP-Brasil, S. (2009). A real time operating systems (RTOS)
Bassil, Y. (2012). Windows and Linux operating systems from a security perspective. arXiv
preprint arXiv:1204.0197.
Cabrera, J. (2009). Windows vs. Linux: A comparative study. Proposal, Technical Writing, Blinn
Economides, N., & Katsamakas, E. (2006). Linux vs. Windows: A comparison of application and
platform innovation incentives for open source and proprietary software platforms. In The
Khan, U. (2020). Comparative study of Linux and Windows. International Journal of Academic
Nazeer, S., Bahadur, F., Iqbal, A., Ashraf, G., & Hussain, S. (2015). A Comparison of Window 8
and Linux Operating System (Android) Security for Mobile Computing. International Journal of
Horowitz, M. (2005). LINUX vs. WINDOWS: A comparison of Linux and Windows. Retrieved
December, 2, 2005.
between Windows 10 and Linux Mint. International Journal of Synergy in Engineering and