SlideShare a Scribd company logo
1 of 10
LINUX VS UNIX KERNEL
 In broad terms, an OS kernel performs
three primary jobs.
1.It provides the interfaces needed for
users and applications to interact with the
computer.
2.It launches and manages applications.
3.It manages the underlying system
hardware devices.
WHAT IS THE PURPOSE OF THE
KERNEL?
As Linux alone is just a kernel, it is worth discussing the major
differences between the Linux Kernel and Unix kernel.
There are three types of the kernel :
1. monolithic
2. micro and hybrid (combination of monolithic and micro) The main
difference between these types is the number of address spaces
they support.
Address space is the amount of memory allocated for all possible addresses for a
computations.
A microkernel delegates user processes and services and
kernel services in different address spaces.
A monolithic kernel implements services in the same address
space.
A hybrid kernel, such as the Microsoft Windows and Apple
kernels, attempts to combine the behaviors and benefits of
microkernel and monolithic kernel architectures.
 Microkernels
 Microkernels have all of their services in the kernel address space. For
their communication protocol, microkernels use message (system calls)
passing, which sends data packets, signals and functions to the correct
processes. Microkernels also provide greater flexibility than monolithic
kernels; to add a new service, admins modify the user address space for
a microkernel.
 Because of their isolated nature, microkernels are more secure than
monolithic kernels. They remain unaffected if one service within the
address space fails.
 Monolithic kernels
 Monolithic kernels are larger than microkernels, because they house
both kernel and user services in the same address space. Monolithic
kernels use a faster system call communication protocol than
microkernels to execute processes between the hardware and software.
They are less flexible than microkernels and require more work; admins
must reconstruct the entire kernel to support a new service.
 Monolithic kernels pose a greater security risk to systems than
microkernels because, if a service fails, then the entire system shuts
down. Monolithic kernels also don't require as much source code as a
microkernel, which means they are less susceptible to bugs and need
less debugging.
LINUXVS UNIX KERNEL (CONT.)
Features Linux Kernel Unix Kernel
Kernel approach Linux follows the monolithic kernel
approach.
Unix kernel can be monolithic,
microkernel or hybrid.
For Example, macOS has a hybrid
kernel, Solaris has the monolithic
kernel, and AIX has a monolithic
kernel with dynamically loadable
modules.
Adding/removing features of the
kernel
Provides a great feature through
which the kernel components like
device drives can be dynamically
added and removed as modules.
This feature is called as loadable
kernel modules (LDM). This
eliminates the need to compile the
whole kernel again. This feature in
turn gives great flexibility to Linux.
Traditional Unix systems kernel
need static linking of new systems
being added.
LINUXVS UNIX KERNEL (CONT.)
Features Linux Kernel Unix Kernel
Preemptive vs non-
preemptive
approach
Normally a Linux kernel is non-preemptive.
However, in recent times, Linux real-time OS
has started using preemptive kernels.
Some Unix systems are fully
preemptive.
For example, Solaris 2.x. etc.
Kernel threading Linux uses kernel thread just for running
some kernel code periodically.
Many Unix-like operating systems use
kernel thread for the purpose of
process context switching.
Ways to handle the
multi-threaded
environment
Through multi-threading, more than one
independent execution flows which are called
lightweight processes (LWP) are created.
In Linux, LWP is created by calling clone ()
function. These processes in Linux can share
physical memory, opened files, address
space, etc.
In Unix, the LWP is based on kernel
threads.
Preemptive scheduling allows a process to be interrupted in the midst of its execution, taking the CPU
away and allocating it to another process. Non-preemptive scheduling ensures that a process
relinquishes control of the CPU only when it finishes with its current CPU burst.

More Related Content

Similar to SEC.3 Linux vs Unix Kernel.pptxnnnnnnnnnnnnnnnnnnnn

Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...CSCJournals
 
Monolithic kernel vs. Microkernel
Monolithic kernel vs. MicrokernelMonolithic kernel vs. Microkernel
Monolithic kernel vs. MicrokernelRQK Khan
 
introduction.pdf
introduction.pdfintroduction.pdf
introduction.pdfxiso
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file systemRai University
 
Microkernel architecture
Microkernel architecture Microkernel architecture
Microkernel architecture RQK Khan
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based osVaibhav Khanna
 
Linux@assignment ppt
Linux@assignment pptLinux@assignment ppt
Linux@assignment pptRama .
 
Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)Vivian Vhaves
 

Similar to SEC.3 Linux vs Unix Kernel.pptxnnnnnnnnnnnnnnnnnnnn (20)

Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
Analysis of Practicality and Performance Evaluation for Monolithic Kernel and...
 
Monolithic kernel vs. Microkernel
Monolithic kernel vs. MicrokernelMonolithic kernel vs. Microkernel
Monolithic kernel vs. Microkernel
 
In a monolithic kernel
In a monolithic kernelIn a monolithic kernel
In a monolithic kernel
 
Studies
StudiesStudies
Studies
 
Os Ds Arch
Os Ds ArchOs Ds Arch
Os Ds Arch
 
introduction.pdf
introduction.pdfintroduction.pdf
introduction.pdf
 
kernels
 kernels kernels
kernels
 
Bhagyashri k os-tutorial1
Bhagyashri k os-tutorial1Bhagyashri k os-tutorial1
Bhagyashri k os-tutorial1
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file system
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
Microkernel architecture
Microkernel architecture Microkernel architecture
Microkernel architecture
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based os
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
ubantu ppt.pptx
ubantu ppt.pptxubantu ppt.pptx
ubantu ppt.pptx
 
L2(1).PPT
L2(1).PPTL2(1).PPT
L2(1).PPT
 
Linux@assignment ppt
Linux@assignment pptLinux@assignment ppt
Linux@assignment ppt
 
Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)Ospresentation 120112074429-phpapp02 (1)
Ospresentation 120112074429-phpapp02 (1)
 
Walking around linux kernel
Walking around linux kernelWalking around linux kernel
Walking around linux kernel
 
Ubuntu OS Presentation
Ubuntu OS PresentationUbuntu OS Presentation
Ubuntu OS Presentation
 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 

Recently uploaded (20)

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 

SEC.3 Linux vs Unix Kernel.pptxnnnnnnnnnnnnnnnnnnnn

  • 1. LINUX VS UNIX KERNEL
  • 2.  In broad terms, an OS kernel performs three primary jobs. 1.It provides the interfaces needed for users and applications to interact with the computer. 2.It launches and manages applications. 3.It manages the underlying system hardware devices. WHAT IS THE PURPOSE OF THE KERNEL?
  • 3. As Linux alone is just a kernel, it is worth discussing the major differences between the Linux Kernel and Unix kernel. There are three types of the kernel : 1. monolithic 2. micro and hybrid (combination of monolithic and micro) The main difference between these types is the number of address spaces they support. Address space is the amount of memory allocated for all possible addresses for a computations.
  • 4. A microkernel delegates user processes and services and kernel services in different address spaces. A monolithic kernel implements services in the same address space. A hybrid kernel, such as the Microsoft Windows and Apple kernels, attempts to combine the behaviors and benefits of microkernel and monolithic kernel architectures.
  • 5.  Microkernels  Microkernels have all of their services in the kernel address space. For their communication protocol, microkernels use message (system calls) passing, which sends data packets, signals and functions to the correct processes. Microkernels also provide greater flexibility than monolithic kernels; to add a new service, admins modify the user address space for a microkernel.  Because of their isolated nature, microkernels are more secure than monolithic kernels. They remain unaffected if one service within the address space fails.
  • 6.  Monolithic kernels  Monolithic kernels are larger than microkernels, because they house both kernel and user services in the same address space. Monolithic kernels use a faster system call communication protocol than microkernels to execute processes between the hardware and software. They are less flexible than microkernels and require more work; admins must reconstruct the entire kernel to support a new service.
  • 7.  Monolithic kernels pose a greater security risk to systems than microkernels because, if a service fails, then the entire system shuts down. Monolithic kernels also don't require as much source code as a microkernel, which means they are less susceptible to bugs and need less debugging.
  • 8.
  • 9. LINUXVS UNIX KERNEL (CONT.) Features Linux Kernel Unix Kernel Kernel approach Linux follows the monolithic kernel approach. Unix kernel can be monolithic, microkernel or hybrid. For Example, macOS has a hybrid kernel, Solaris has the monolithic kernel, and AIX has a monolithic kernel with dynamically loadable modules. Adding/removing features of the kernel Provides a great feature through which the kernel components like device drives can be dynamically added and removed as modules. This feature is called as loadable kernel modules (LDM). This eliminates the need to compile the whole kernel again. This feature in turn gives great flexibility to Linux. Traditional Unix systems kernel need static linking of new systems being added.
  • 10. LINUXVS UNIX KERNEL (CONT.) Features Linux Kernel Unix Kernel Preemptive vs non- preemptive approach Normally a Linux kernel is non-preemptive. However, in recent times, Linux real-time OS has started using preemptive kernels. Some Unix systems are fully preemptive. For example, Solaris 2.x. etc. Kernel threading Linux uses kernel thread just for running some kernel code periodically. Many Unix-like operating systems use kernel thread for the purpose of process context switching. Ways to handle the multi-threaded environment Through multi-threading, more than one independent execution flows which are called lightweight processes (LWP) are created. In Linux, LWP is created by calling clone () function. These processes in Linux can share physical memory, opened files, address space, etc. In Unix, the LWP is based on kernel threads. Preemptive scheduling allows a process to be interrupted in the midst of its execution, taking the CPU away and allocating it to another process. Non-preemptive scheduling ensures that a process relinquishes control of the CPU only when it finishes with its current CPU burst.