SlideShare a Scribd company logo
1 of 30
3
OPERATING SYSTEM STRUCTURES)
3.1 System Components)
3.1.1 (Process Management)
batch job)
time-shared user program)
,
,
concurrent)
o
o suspension)
resumption)
o process
synchronization)
o deadlock handling)
3.1.2 (Main-Memory Management)
array of words or bytes address)
“ ”
(the instruction – fetch cycle) DMA)
Absolute address)
o
o
o
3.1.3 (File Management)
,
free – form)
text files) , ,
o
o
o
o
o
3.1.4 (I/O System Management)
UNIX
o buffering , caching
spooling
o A general device – driver interface)
o drivers for specific hardware devices)
device drivers)
3.1.5 (Secondary – Storage Management)
disk)
compilers)
assemblers) sort routines)
editors) formatters)
o
o
o
3.1.6 (Networking)
distributed system)
,
, work station)
, ,
3.1.7 (Protection System)
, ,
,
authorized) unauthorized)
3.1.8 (Command – Interpreter System)
Command Interpreter)
interface
kernel)
MS-DOS UNIX
log on) ( time-sharing)
Control statements)
batch)
time-sharing)
shell in UNIX)
user – friendly)
Macintosh Windows) Menu
system)
,
Enter key) MS-DOS ,
Shell in UNIX
3.2 Operating – System Service)
o (Program Execution)
o (I/O Operation)
o (File – system Manipulation)
o (Communications)
share memory)
message passing)
o (Error detection)
,
, ,
,
CPU time
(Resource allocation)
CPU ,
(Accounting)
reconfigure
(Protection) information
network adapters)
3.3 System Calls (
System Call interface)
assembly
subroutine call
(
C , Bliss , BCPL , PL/360 , PERL assembly
input file
output file) icon –based mouse – based)
protected)
3
1.
2.
3. stack push) stack
pop)
2
5
process control) file manipulation) device
manipulation) Information maintenance)
communication)
Types of system calls)
o , End , Abort)
o , load , execute)
o Create and Terminate Process)
o Get and Set Process
Attributes)
o Wait for Time)
o , Wait Event , Signal Event)
o Allocate and Free Memory)
File Manipulation)
o Create and Delete File)
o , Open , Close)
o , , Read , Write , Reposition)
o Get and Set File Attributes)
Device Manipulation)
o Request and Release Device)
o , , Read , Write , Reposition)
o Get and Set Device Attributes)
o logically Attach or
Detach Devices)
Information Maintenance)
o
o System Data)
o , ,
Communication)
o Create Delete Communication
Connection)
o Send Receive Messages)
o Transfer Status Information)
o Attach or Detach Remove Device)
1. (Process and Job Control)
MS-DOS single – tasking)
a)
b)
Berkeley UNIX multitasking)
log on) shell shell
MS-DOS ( MS-DOS
UNIX) UNIX
shell
Shell
shell
background mode)
shell
error code) 0 shell
2. (File Manipulation)
create)
delete)
file attribute) open)
read) write) reposition) close)
3. (Device Management)
, ,
release)
, ,
4. (Information Maintenance)
, version) ,
,
get process attribute)
set process attributes))
5. (Communication)
2
message passing)
connection)
host name)
process name)
get hostid)
get processid)
open
connection) close connection)
accept
connection) daemons)
“ ” (wait for connection)
client
server
read message)
write message) close connection)
share memory)
map-memory
2 2
3.4 System Programs)
o (File manipulation)
, , , , ,
,
o (Status Information)
, ,
, ,
o (File Modification) “ ”
( editor)
o (Programming-language Support) Compilers
assembly Interpreter
o (Program loading and
Execution) , , , ,
,
linkage editor)
absolute or relocatable loader or overlay loader)
Debugger)
o (Communication)
electronic mail) File transfer)
Command interpreter)
3.5 System Structure)
3.5.1 (Simple Structure)
MS-DOS
modules) MS-DOS
MS-DOS interface)
basic I/O routine)
MS-DOS
2
2 kernel)
system-call interface)
,
,
1
programmer interface)
system call) user
interface) system program)
3.5.2 (Layer Approach)
Top-down Approach)
Information Hiding)
modular)
Layered Approach)
0)
N)
object (abstract object)
encapsulation)
M
M
Modularity)
1
1 0
1 2
THE –
TechnischeHogeschoolEindhouen) 6
5 : user programs)
4 : buffering for I/O device)
3 :
(operator-console device driver)
2 : memory management)
1 : CPU Scheduling)
0 : Hardware)
1 CPU Scheduling) 2
Virtual
Memory) 3 Operator-
console device driver) 4
3 2
Venus)
0 4
6 : user programs)
5 : device drivers and schedulers)
4 : virtual memory)
3 : I/O channel)
2 : CPU scheduling)
1 : instruction interpreter)
0 : Hardware)
OS/2 2
3.6 Virtual Machines)
kernel)
2
a)
Virtual Machine) IBM
VM
system call) file system)
b)
Spooling
Virtual Line Printer)
Virtual Card Readers)
Virtual-operator’s console) partition Harddisk
virtual-machine software)
user-
support software)
3.6.1 (Implementation)
2
virtual-machine software)
virtual machine)
2
virtual user mode)
virtual monitor mode) 2
virtual user mode) virtual monitor mode)
3.6.2 (Benefits)
-
-
-
- system compatibility problems)
MS-DOS CPU Intel SUN DEC
support
MS-DOS
3.6.3 (Java)
Sun Microsystem compile compiler
bytecodebytecode run Java Virtual
Machine (JVM) JAVA JVM run
JVM run IBM , Macintosh , Unix , IBM minicomputer mainframe
Internet Explore Netscape Communicator
JVM stack
, ,
, flow control)
Virtual Machine)
bytecodes
run
3.7 System Design and Implementation)
3.7.1 (Design Goals)
, ,
, , ,
2 user goals)
system goals)
o
o
o
o
o
, ,
o
o
o
o
o
MS-DOS
Windows
3.7.2 (Mechanisms and Polices)
policy) mechanism)
I/O -
Intensive) CPU – Intensive)
3.7.3 (Implementation)
assembly
, ,
port)
MS-DOS assembly Intel 8088 MS-DOS
Intel
C Intel , Motorola , sparc
bottlenecks)
log file)
3.8 (System Generation)
o ? ?
? ?
(
o ?
o ?
,
, ,
o ?
? , ,
,
source code)
, , ,
condition compilation)
library)
table driven)
execution time)
compile time) link
time)

More Related Content

What's hot

Linux Kernel Startup Code In Embedded Linux
Linux    Kernel    Startup  Code In  Embedded  LinuxLinux    Kernel    Startup  Code In  Embedded  Linux
Linux Kernel Startup Code In Embedded LinuxEmanuele Bonanni
 
Lecture2 process structure and programming
Lecture2   process structure and programmingLecture2   process structure and programming
Lecture2 process structure and programmingMohammed Farrag
 
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkLecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkMohammed Farrag
 
11 linux filesystem copy
11 linux filesystem copy11 linux filesystem copy
11 linux filesystem copyShay Cohen
 
The structure of process
The structure of processThe structure of process
The structure of processAbhaysinh Surve
 
Lecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports DevelopmentLecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports DevelopmentMohammed Farrag
 
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKBLinux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKBshimosawa
 
Processes in unix
Processes in unixProcesses in unix
Processes in unixmiau_max
 
Kernel init
Kernel initKernel init
Kernel initgowell
 
I/O System and Case Study
I/O System and Case StudyI/O System and Case Study
I/O System and Case StudyGRamya Bharathi
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot managerAcácio Oliveira
 

What's hot (20)

Linux Kernel Startup Code In Embedded Linux
Linux    Kernel    Startup  Code In  Embedded  LinuxLinux    Kernel    Startup  Code In  Embedded  Linux
Linux Kernel Startup Code In Embedded Linux
 
Lecture2 process structure and programming
Lecture2   process structure and programmingLecture2   process structure and programming
Lecture2 process structure and programming
 
Linux filesystemhierarchy
Linux filesystemhierarchyLinux filesystemhierarchy
Linux filesystemhierarchy
 
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security FrameworkLecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
Lecture 4 FreeBSD Security + FreeBSD Jails + MAC Security Framework
 
11 linux filesystem copy
11 linux filesystem copy11 linux filesystem copy
11 linux filesystem copy
 
Unix system calls
Unix system callsUnix system calls
Unix system calls
 
The structure of process
The structure of processThe structure of process
The structure of process
 
101 1.2 boot the system
101 1.2 boot the system101 1.2 boot the system
101 1.2 boot the system
 
Lecture1 Introduction
Lecture1  IntroductionLecture1  Introduction
Lecture1 Introduction
 
Lecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports DevelopmentLecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports Development
 
Linux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKBLinux Kernel Booting Process (2) - For NLKB
Linux Kernel Booting Process (2) - For NLKB
 
Processes in unix
Processes in unixProcesses in unix
Processes in unix
 
Kernel init
Kernel initKernel init
Kernel init
 
pptdisk
pptdiskpptdisk
pptdisk
 
101 1.1 hardware settings
101 1.1 hardware settings101 1.1 hardware settings
101 1.1 hardware settings
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
 
I/O System and Case Study
I/O System and Case StudyI/O System and Case Study
I/O System and Case Study
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot manager
 
KCC_Final.pdf
KCC_Final.pdfKCC_Final.pdf
KCC_Final.pdf
 
unixtoolbox
unixtoolboxunixtoolbox
unixtoolbox
 

Viewers also liked

Ram Truck Dealer Serving Marion New York
Ram Truck Dealer Serving Marion New YorkRam Truck Dealer Serving Marion New York
Ram Truck Dealer Serving Marion New Yorklessordram
 
презентация до педради 01.04.2013
презентация до педради 01.04.2013презентация до педради 01.04.2013
презентация до педради 01.04.2013Лариса Чаленко
 
แนวข้อสอบ Os
แนวข้อสอบ Osแนวข้อสอบ Os
แนวข้อสอบ OsChamp Phinning
 
บทที่ 4 กระบวนการ
บทที่ 4 กระบวนการบทที่ 4 กระบวนการ
บทที่ 4 กระบวนการChamp Phinning
 
05.01.2015. теория график функции у=х 2
05.01.2015. теория   график функции у=х 205.01.2015. теория   график функции у=х 2
05.01.2015. теория график функции у=х 2Лариса Чаленко
 
фізика 7 клас. физичні явища, фізичне тіло, речовина
фізика 7 клас. физичні явища, фізичне тіло, речовинафізика 7 клас. физичні явища, фізичне тіло, речовина
фізика 7 клас. физичні явища, фізичне тіло, речовинаЛариса Чаленко
 
Module 5 school and community partnership post assessment
Module 5 school and community partnership   post assessmentModule 5 school and community partnership   post assessment
Module 5 school and community partnership post assessmentTess Asuncion
 
Matter in our surroundings
Matter in our surroundingsMatter in our surroundings
Matter in our surroundingsSimran Khirbat
 
Design with policies, lecture by Petar Vranic, 4 July 2013
Design with policies, lecture by Petar Vranic, 4 July 2013Design with policies, lecture by Petar Vranic, 4 July 2013
Design with policies, lecture by Petar Vranic, 4 July 2013Sochi - peshkom
 
Module 7 1 economic policies
Module 7 1 economic policiesModule 7 1 economic policies
Module 7 1 economic policiesIndependent
 
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Osแนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ OsChamp Phinning
 

Viewers also liked (20)

Ram Truck Dealer Serving Marion New York
Ram Truck Dealer Serving Marion New YorkRam Truck Dealer Serving Marion New York
Ram Truck Dealer Serving Marion New York
 
PRESENTATION
PRESENTATIONPRESENTATION
PRESENTATION
 
презентация до педради 01.04.2013
презентация до педради 01.04.2013презентация до педради 01.04.2013
презентация до педради 01.04.2013
 
แนวข้อสอบ Os
แนวข้อสอบ Osแนวข้อสอบ Os
แนวข้อสอบ Os
 
Internet
InternetInternet
Internet
 
บทที่ 4 กระบวนการ
บทที่ 4 กระบวนการบทที่ 4 กระบวนการ
บทที่ 4 กระบวนการ
 
Chemical reactions
Chemical reactionsChemical reactions
Chemical reactions
 
05.01.2015. теория график функции у=х 2
05.01.2015. теория   график функции у=х 205.01.2015. теория   график функции у=х 2
05.01.2015. теория график функции у=х 2
 
фізика 7 клас. физичні явища, фізичне тіло, речовина
фізика 7 клас. физичні явища, фізичне тіло, речовинафізика 7 клас. физичні явища, фізичне тіло, речовина
фізика 7 клас. физичні явища, фізичне тіло, речовина
 
Module 6.2 filipino
Module 6.2 filipinoModule 6.2 filipino
Module 6.2 filipino
 
Module 5 school and community partnership post assessment
Module 5 school and community partnership   post assessmentModule 5 school and community partnership   post assessment
Module 5 school and community partnership post assessment
 
St Francis of Assisi's 11th Step Prayer of Alcoholics Anonymous
St Francis of Assisi's 11th Step Prayer of Alcoholics AnonymousSt Francis of Assisi's 11th Step Prayer of Alcoholics Anonymous
St Francis of Assisi's 11th Step Prayer of Alcoholics Anonymous
 
теорема вієта
теорема вієтатеорема вієта
теорема вієта
 
Matter in our surroundings
Matter in our surroundingsMatter in our surroundings
Matter in our surroundings
 
Module 6.1 english
Module 6.1 englishModule 6.1 english
Module 6.1 english
 
Weekendbo
WeekendboWeekendbo
Weekendbo
 
Design with policies, lecture by Petar Vranic, 4 July 2013
Design with policies, lecture by Petar Vranic, 4 July 2013Design with policies, lecture by Petar Vranic, 4 July 2013
Design with policies, lecture by Petar Vranic, 4 July 2013
 
Module 7 1 economic policies
Module 7 1 economic policiesModule 7 1 economic policies
Module 7 1 economic policies
 
Plant transport
Plant transportPlant transport
Plant transport
 
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Osแนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
 

Similar to บทที่ 3 โครงสร้างของระบบปฏิบัติการ

Section02-Structures.ppt
Section02-Structures.pptSection02-Structures.ppt
Section02-Structures.pptJamelPandiin2
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating SystemKathirvel Ayyaswamy
 
operating system structure
operating system structureoperating system structure
operating system structureHAMZA AHMED
 
บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)Beauso English
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnentSandeep Kamath
 
Chapter 05
Chapter 05Chapter 05
Chapter 05 Google
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.pptrahul km
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardwareSCHOOL
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwarekasmraj1
 
C language computer introduction to the computer hardware
C language  computer introduction to the computer hardwareC language  computer introduction to the computer hardware
C language computer introduction to the computer hardwareNIKHIL KRISHNA
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1amphaiboon
 
Evolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave ProbertEvolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave Probertyang
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1amphaiboon
 
ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์Warawoot Ghantayotha
 

Similar to บทที่ 3 โครงสร้างของระบบปฏิบัติการ (20)

Section02-Structures.ppt
Section02-Structures.pptSection02-Structures.ppt
Section02-Structures.ppt
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating System
 
operating system structure
operating system structureoperating system structure
operating system structure
 
บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnent
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardware
 
C language computer introduction to the computer hardware
C language  computer introduction to the computer hardwareC language  computer introduction to the computer hardware
C language computer introduction to the computer hardware
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
 
Oct2009
Oct2009Oct2009
Oct2009
 
Evolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave ProbertEvolution of the Windows Kernel Architecture, by Dave Probert
Evolution of the Windows Kernel Architecture, by Dave Probert
 
Hardware & softwares
Hardware & softwaresHardware & softwares
Hardware & softwares
 
Ms dos
Ms dosMs dos
Ms dos
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
 
ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 

บทที่ 3 โครงสร้างของระบบปฏิบัติการ

  • 1. 3 OPERATING SYSTEM STRUCTURES) 3.1 System Components) 3.1.1 (Process Management) batch job) time-shared user program) , , concurrent) o o suspension) resumption) o process synchronization) o deadlock handling) 3.1.2 (Main-Memory Management)
  • 2. array of words or bytes address) “ ” (the instruction – fetch cycle) DMA) Absolute address) o o o 3.1.3 (File Management) , free – form) text files) , , o o o o
  • 3. o 3.1.4 (I/O System Management) UNIX o buffering , caching spooling o A general device – driver interface) o drivers for specific hardware devices) device drivers) 3.1.5 (Secondary – Storage Management) disk) compilers) assemblers) sort routines) editors) formatters)
  • 4. o o o 3.1.6 (Networking) distributed system) , , work station) , , 3.1.7 (Protection System) , ,
  • 5. , authorized) unauthorized) 3.1.8 (Command – Interpreter System) Command Interpreter) interface kernel) MS-DOS UNIX log on) ( time-sharing) Control statements) batch) time-sharing) shell in UNIX)
  • 6. user – friendly) Macintosh Windows) Menu system) , Enter key) MS-DOS , Shell in UNIX 3.2 Operating – System Service) o (Program Execution) o (I/O Operation)
  • 7. o (File – system Manipulation) o (Communications) share memory) message passing) o (Error detection) , , , , CPU time (Resource allocation) CPU ,
  • 8. (Accounting) reconfigure (Protection) information network adapters) 3.3 System Calls ( System Call interface) assembly subroutine call ( C , Bliss , BCPL , PL/360 , PERL assembly
  • 9. input file output file) icon –based mouse – based) protected)
  • 10. 3 1. 2. 3. stack push) stack pop) 2 5 process control) file manipulation) device manipulation) Information maintenance) communication) Types of system calls) o , End , Abort) o , load , execute)
  • 11. o Create and Terminate Process) o Get and Set Process Attributes) o Wait for Time) o , Wait Event , Signal Event) o Allocate and Free Memory) File Manipulation) o Create and Delete File) o , Open , Close) o , , Read , Write , Reposition) o Get and Set File Attributes) Device Manipulation) o Request and Release Device) o , , Read , Write , Reposition) o Get and Set Device Attributes) o logically Attach or Detach Devices) Information Maintenance) o o System Data) o , , Communication)
  • 12. o Create Delete Communication Connection) o Send Receive Messages) o Transfer Status Information) o Attach or Detach Remove Device) 1. (Process and Job Control) MS-DOS single – tasking) a) b)
  • 13. Berkeley UNIX multitasking) log on) shell shell MS-DOS ( MS-DOS UNIX) UNIX shell Shell shell background mode) shell
  • 14. error code) 0 shell 2. (File Manipulation) create) delete) file attribute) open) read) write) reposition) close) 3. (Device Management) , , release) , , 4. (Information Maintenance) , version) , ,
  • 15. get process attribute) set process attributes)) 5. (Communication) 2 message passing) connection) host name) process name) get hostid) get processid) open connection) close connection) accept connection) daemons) “ ” (wait for connection) client server read message) write message) close connection) share memory) map-memory
  • 16. 2 2 3.4 System Programs)
  • 17. o (File manipulation) , , , , , , o (Status Information) , , , , o (File Modification) “ ” ( editor) o (Programming-language Support) Compilers assembly Interpreter o (Program loading and Execution) , , , , , linkage editor) absolute or relocatable loader or overlay loader) Debugger) o (Communication) electronic mail) File transfer) Command interpreter)
  • 18. 3.5 System Structure) 3.5.1 (Simple Structure) MS-DOS modules) MS-DOS MS-DOS interface) basic I/O routine) MS-DOS 2 2 kernel)
  • 19. system-call interface) , , 1 programmer interface) system call) user interface) system program) 3.5.2 (Layer Approach) Top-down Approach) Information Hiding)
  • 20. modular) Layered Approach) 0) N) object (abstract object) encapsulation) M M Modularity) 1 1 0 1 2 THE – TechnischeHogeschoolEindhouen) 6
  • 21. 5 : user programs) 4 : buffering for I/O device) 3 : (operator-console device driver) 2 : memory management) 1 : CPU Scheduling) 0 : Hardware) 1 CPU Scheduling) 2 Virtual Memory) 3 Operator- console device driver) 4 3 2 Venus) 0 4
  • 22. 6 : user programs) 5 : device drivers and schedulers) 4 : virtual memory) 3 : I/O channel) 2 : CPU scheduling) 1 : instruction interpreter) 0 : Hardware)
  • 23. OS/2 2 3.6 Virtual Machines) kernel) 2 a)
  • 24. Virtual Machine) IBM VM system call) file system) b) Spooling Virtual Line Printer) Virtual Card Readers)
  • 25. Virtual-operator’s console) partition Harddisk virtual-machine software) user- support software) 3.6.1 (Implementation) 2 virtual-machine software) virtual machine) 2 virtual user mode) virtual monitor mode) 2 virtual user mode) virtual monitor mode) 3.6.2 (Benefits) - - -
  • 26. - system compatibility problems) MS-DOS CPU Intel SUN DEC support MS-DOS 3.6.3 (Java) Sun Microsystem compile compiler bytecodebytecode run Java Virtual Machine (JVM) JAVA JVM run JVM run IBM , Macintosh , Unix , IBM minicomputer mainframe Internet Explore Netscape Communicator JVM stack , , , flow control) Virtual Machine) bytecodes run 3.7 System Design and Implementation) 3.7.1 (Design Goals) , , , , ,
  • 27. 2 user goals) system goals) o o o o o , , o o o o o MS-DOS Windows 3.7.2 (Mechanisms and Polices)
  • 28. policy) mechanism) I/O - Intensive) CPU – Intensive) 3.7.3 (Implementation) assembly , , port) MS-DOS assembly Intel 8088 MS-DOS Intel C Intel , Motorola , sparc
  • 29. bottlenecks) log file) 3.8 (System Generation) o ? ? ? ? ( o ? o ? ,
  • 30. , , o ? ? , , , source code) , , , condition compilation) library) table driven) execution time) compile time) link time)