SlideShare a Scribd company logo
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 Linux
Emanuele Bonanni
 
Lecture2 process structure and programming
Lecture2   process structure and programmingLecture2   process structure and programming
Lecture2 process structure and programming
Mohammed Farrag
 
Linux filesystemhierarchy
Linux filesystemhierarchyLinux filesystemhierarchy
Linux filesystemhierarchy
Dr. C.V. Suresh Babu
 
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
Mohammed Farrag
 
11 linux filesystem copy
11 linux filesystem copy11 linux filesystem copy
11 linux filesystem copy
Shay Cohen
 
Unix system calls
Unix system callsUnix system calls
Unix system calls
stellajoseph
 
The structure of process
The structure of processThe structure of process
The structure of process
Abhaysinh Surve
 
101 1.2 boot the system
101 1.2 boot the system101 1.2 boot the system
101 1.2 boot the system
Acácio Oliveira
 
Lecture1 Introduction
Lecture1  IntroductionLecture1  Introduction
Lecture1 Introduction
Mohammed Farrag
 
Lecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports DevelopmentLecture 6 Kernel Debugging + Ports Development
Lecture 6 Kernel Debugging + Ports Development
Mohammed 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 NLKB
shimosawa
 
Processes in unix
Processes in unixProcesses in unix
Processes in unix
miau_max
 
Kernel init
Kernel initKernel init
Kernel init
gowell
 
pptdisk
pptdiskpptdisk
101 1.1 hardware settings
101 1.1 hardware settings101 1.1 hardware settings
101 1.1 hardware settings
Acácio Oliveira
 
Linux Memory Management
Linux Memory ManagementLinux Memory Management
Linux Memory Management
Suvendu Kumar Dash
 
I/O System and Case Study
I/O System and Case StudyI/O System and Case Study
I/O System and Case Study
GRamya Bharathi
 
101 2.2 install boot manager
101 2.2 install boot manager101 2.2 install boot manager
101 2.2 install boot manager
Acácio Oliveira
 
KCC_Final.pdf
KCC_Final.pdfKCC_Final.pdf
KCC_Final.pdf
Oleg Sehelin
 
unixtoolbox
unixtoolboxunixtoolbox
unixtoolbox
wensheng wei
 

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 York
lessordram
 
PRESENTATION
PRESENTATIONPRESENTATION
презентация до педради 01.04.2013
презентация до педради 01.04.2013презентация до педради 01.04.2013
презентация до педради 01.04.2013Лариса Чаленко
 
แนวข้อสอบ Os
แนวข้อสอบ Osแนวข้อสอบ Os
แนวข้อสอบ Os
Champ Phinning
 
Internet
InternetInternet
Internet
Simran Khirbat
 
บทที่ 4 กระบวนการ
บทที่ 4 กระบวนการบทที่ 4 กระบวนการ
บทที่ 4 กระบวนการ
Champ Phinning
 
Chemical reactions
Chemical reactionsChemical reactions
Chemical reactions
Simran Khirbat
 
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 assessment
Tess Asuncion
 
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
Serenity Vista International Addiction Recovery Retreat
 
теорема вієта
теорема вієтатеорема вієта
теорема вієта
Лариса Чаленко
 
Matter in our surroundings
Matter in our surroundingsMatter in our surroundings
Matter in our surroundings
Simran Khirbat
 
Module 6.1 english
Module 6.1 englishModule 6.1 english
Module 6.1 english
Tess Asuncion
 
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
Sochi - peshkom
 
Module 7 1 economic policies
Module 7 1 economic policiesModule 7 1 economic policies
Module 7 1 economic policies
Independent
 
Plant transport
Plant transportPlant transport
Plant transport
Muhammad Iqbal Khan
 
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Osแนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
แนวข้อสอบระบบปฎิบัติการคอมพิวเตอร์ Os
Champ 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.ppt
JamelPandiin2
 
CS9222 Advanced Operating System
CS9222 Advanced Operating SystemCS9222 Advanced Operating System
CS9222 Advanced Operating System
Kathirvel Ayyaswamy
 
operating system structure
operating system structureoperating system structure
operating system structure
HAMZA AHMED
 
บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)บทที่5 ระบบเครือข่าย(network)
บทที่5 ระบบเครือข่าย(network)
Beauso English
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
alexander2356
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnent
Sandeep Kamath
 
01.osdoc
01.osdoc01.osdoc
01.osdoc
Pramod Redekar
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
Google
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
rahul km
 
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
NIKHIL KRISHNA
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardware
kasmraj1
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
SCHOOL
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
Teja Bheemanapally
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
amphaiboon
 
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
yang
 
Oct2009
Oct2009Oct2009
Oct2009
guest81ab2b4
 
Hardware & softwares
Hardware & softwaresHardware & softwares
Hardware & softwares
Santosh Kulkarni
 
Ms dos
Ms dosMs dos
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
amphaiboon
 
ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์
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
 
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
 
ydtyT01 a computerintrohardware
ydtyT01 a computerintrohardwareydtyT01 a computerintrohardware
ydtyT01 a computerintrohardware
 
T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
 
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
 
Oct2009
Oct2009Oct2009
Oct2009
 
Hardware & softwares
Hardware & softwaresHardware & softwares
Hardware & softwares
 
Ms dos
Ms dosMs dos
Ms dos
 
งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1งานPowerpoint ลูกศร1
งานPowerpoint ลูกศร1
 
ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์ประวัติคอมพิวเตอร์
ประวัติคอมพิวเตอร์
 

Recently uploaded

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 

Recently uploaded (20)

“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 

บทที่ 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)