Professional Documents
Culture Documents
Os Design: Technology Platform
Os Design: Technology Platform
LECTURE 8
TECHNOLOGY PLATFORM
DR ABDUL HADI
FTSM UKM 1
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
FTSM UKM 2
Is it hard to design
Operating System?
Do you know that..
http://www.oracle.com/technetwork/java/javas
e/downloads/jdk8-downloads-2133151.html
FTSM UKM 3
Introduction
• In that page, you need to select the software
based on your OS?
• Why we need a different file for different OS?
• What are differences you can find here?
FTSM UKM 4
FTSM UKM 5
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
FTSM UKM 6
Computer System
FTSM UKM 7
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
FTSM UKM 8
OS Evolution
Could you guess the name of this OS?
FTSM UKM 9
OS Evolution
Windows 10 running on portable devices?
1
FTSM UKM
0
Discussion
What are the considerations on the
OS design?
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
1
FTSM UKM
2
OS Design Objectives
E
Convenience
- Easy to use
Efficiency
- Resource management
Ability to solve
- Effective development
1
FTSM UKM
3
OS Functions
User Computer Interface
• Program development
– editors and debuggers
• Program execution
– instruction -> memory ->I/O -> scheduling
• Access to I/O
- read/write signals
• Control access to files
- protection mechanism
• System access
• Error detection and response
OS Functions
Resource Manager
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
1
FTSM UKM
4
OS Structure
1
FTSM UKM
5
What is KERNEL?
1
FTSM UKM
6
Kernel
1
FTSM UKM
7
Kernel
The kernel might get crash!
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux and Windows OS Design
• Virtual Machine
• Development leading to Modern OS
• OS Design Consideration
1
FTSM UKM
9
Monolithic and Micro Kernel
A B 2
FTSM UKM
0
Monolithic Kernel
Kernel is like one big module where everything
is running as one program.
2
FTSM UKM
1
Monolithic Kernel
Advantages Disadvantages
Example
MS-DOS
Unix
Linux
2
FTSM UKM
2
Why it is called monolithic
structure?
https://youtu.be/SBC_GSFlR34?t=49s 2
FTSM UKM
3
Monolithic and Micro Kernel
A B 2
FTSM UKM
4
Micro kernel
Only very important parts like IPC(inter process
Communication), basic scheduler, basic memory
Handling, basic I/O etc are put into the kernel.
2
FTSM UKM
5
Microkernel
Advantages Disadvantages
Example
MINIX
XNU
Windows NT
2
FTSM UKM
6
EXERCISE
Monolithic vs Microkernel
PERFORMANCE??
• https://en.wikipedia.org/wiki/Kernel_(operating_system)#Functions_of_t
he_kernel
Hybrid Kernel
- Combine aspects and benefits of microkernel and
monolithic kernel architectures
- Kernel structure similar to that of a microkernel, but to
implement that structure in the manner of a monolithic kernel
- Windows NT up to Windows 10
2
FTSM UKM
7
BREAK
5 MINUTES
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux, Windows OS and Virtual Machine Design
• Development leading to Modern OS
• OS Design Consideration
2
FTSM UKM
8
Linux vs Windows Architecture
2
FTSM UKM
9
Linux
3
FTSM UKM
0
Exercise- How Linux is built?
https://www.youtube.com/watch?v=yVpbFMhOAwE
3
FTSM UKM
1
Unix Architecture
• Several processing
• Interacting collection
of components
3
FTSM UKM
3
Modern Unix Design
• Modular architecture
3
FTSM UKM
3
Windows
3
FTSM UKM
5
Windows History
3
FTSM UKM
6
Windows History
• Windows XP was updated in 2005 to provide support AMD64
compatible CPUs, bringing support for 64-bit desktop systems.
• Windows Vista was released in late 2006, but was poorly recei
ved due to initial problems with application and device compati
bility and sluggishness on the explosion of low-end “netbook”
devices.
• Windows 7 was released in late 2009, greatly improving on
Vista.
• Windows 8 was released in October 2012
• New user interface paradigm (Metro), new type of applications
and web store.
3
FTSM UKM
7
Exercise- Windows History
https://www.youtube.com/watch?v=hAJm6RYTIro
1. Which computer
brand did MS-DOS
used in 1981?
2. Internet Explorer
was introduced in
Windows ___.
3. What is the name of
the Windows version int
roduced during Y2K?
3
FTSM UKM
8
Windows Architecture
OS Organization
• Highly-modular
• Each system function manage
by one component of the OS
• Any module can be remove,
upgrade or replace without
rewrite system
• Kernel Mode components
Executive Mode
• I/O, cache, object, plug-and
play etc
• Kernel
• Hardware abstraction layer
• Device Driver
• Windowing and graphics
3
FTSM UKM
9
Windows Architecture
Process VM
- Virtual platform for execution of single process
System VM
- Virtualization software to host guess OS 4
FTSM UKM
0
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux, Windows OS and Virtual Machine Design
• Development leading to Modern OS
4
FTSM UKM
1
Development leading to
Modern OS
Microkernel
Multithreading
Symmetric Multiprocessing (SMP)
Distributed OS
Object oriented design
4
FTSM UKM
2
OS Design Consideration
Symmetric Multiprocessor
4
FTSM UKM
4
EIGHT(8) OS Design Issues
Long Backward
Generality Portable
lifetime Compatible
4
5
Outline
• Introduction
• Computer System
• OS Evolution
• OS Design Objective
• OS Structure - Kernel
• Monolithic and Microkernel
• Linux, Windows OS and Virtual Machine Design
• Development leading to Modern OS
4
FTSM UKM
6