SlideShare a Scribd company logo
1 of 26
Subject

: T0316 Operating System

Computer System Overview
Week 1 - 1
Objectives
At the end of this lecture, students are able to:
• LO1: Describe the basic elements of a computer system
and their interrelationship
• LO1: Describe the computer Instruction Cycle
• LO1: Describe the concepts of Interrupts, Memory
Management and I/O types
• LO1: Describe different type of cache memory

Bina Nusantara University

3
Sub Topics
•
•
•
•
•

Basic Elements
Instruction Cycle
Interrupt
Memory
I/O Types

Bina Nusantara University

4
Operating System
•Manage resources
•Provides a set of services to system users (User Interface)
•Manages secondary memory and I/O devices

Bina Nusantara University
Basic Elements
• Processor
• Main Memory
– referred to as real memory or primary memory
– volatile
• I/O modules
– secondary memory devices
– communications equipment
– terminals
• System bus
– communication among processors, memory, and I/O
modules
Bina Nusantara University

6
Computer Architecture (1)

7

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Computer Architecture(2)
The program counter (PC) keeps track of where to find the
next instruction so that a copy of the instruction can be
placed in the current instruction register (IR)
The current instruction register holds the instruction that is to
be executed.
The memory address register (MAR) is used to hold the
memory address that contains either the next piece of data
or an instruction that is to be used.

8

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Computer Architecture(3)
The central processor contains the arithmetic-logic unit
(ALU) and the control unit. The ALU is where data is
processed.
The control unit fetches instructions from memory,
decodes them and synchronizes the operations before
sending signals to other parts of the computer.
The accumulator is in the arithmetic unit, the PC and the
IR are in the control unit and the MAR and MBR are in the
processor
9

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Instruction Cycle

10

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Fetch and Execute (1)
• The processor fetches the instruction from memory
• Program counter (PC) holds address of the instruction to
be fetched next
• Program counter is incremented after each fetch

Bina Nusantara University

11
Fetch and Execute (2)
• Fetched instruction is placed in the instruction
register
• Types of instructions
– Processor-memory

• transfer data between processor and memory

– Processor-I/O

• data transferred to or from a peripheral device

– Data processing

• arithmetic or logic operation on data

– Control

• alter sequence of execution

Bina Nusantara University

12
Execution Cycle
Pipelining

Superscalar

Bina Nusantara University

13
Interrupt
• An interruption of the normal sequence of
execution
• Improves processing efficiency
• Allows the processor to execute other
instructions while an I/O operation is in progress
• A suspension of a process caused by an event
external to that process and performed in such a
way that the process can be resumed

Bina Nusantara University

14
Types of Interrupt
• Program
–
–
–
–

arithmetic overflow
division by zero
execute illegal instruction
reference outside user’s memory space

• Timer
• I/O
• Hardware failure

Bina Nusantara University

15
Interrupt Handler
• A program that determines nature of the interrupt and
performs whatever actions are needed
• Control is transferred to this program
• Generally part of the operating system

Bina Nusantara University

16
Instruction Cycle with interrupt

17

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Interrupt Cycle
• Processor checks for interrupts
• If no interrupts fetch the next instruction for the current
program
• If an interrupt is pending, suspend execution of the
current program, and execute the interrupt handler

Bina Nusantara University

18
Memory
• Memory Hierarchy
Highest Speed

Lowest Speed

19

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Disk Cache
• A portion of main memory used as a buffer to temporarily
to hold data for the disk
• Disk writes are clustered
• Some data written out may be referenced again. The
data are retrieved rapidly from the software cache
instead of slowly from disk

Bina Nusantara University

20
Cache Memory (1)
• Invisible to operating system
• Increase the speed of memory
• Processor speed is faster than memory speed

Bina Nusantara University

21
Cache Memory (2)

22

Bina Nusantara University

Operating System-Internal and Design Concept - Stallings
Types of Cache Memory (1)
• There are generally 3 types of cache memory in
modern computer systems.
– L1 Cache is typically built into the architecture of
the CPU. For Example the Pentium has a 16K
cache. The PowerPC G5 has a 64K L1 cache.
Typically L1 cache is broken down into two
separate cache. One is used to hold instructions
and the other to hold data.
In the Sun4m architecture they are both 16kb.
Bina Nusantara University

23
Types of Cache Memory (1)
– L2 Cache is fast access memory (SRAM) which typically sits
between the CPU and main memory. It can range between
256 - 4 Megabytes. This is typically part of the architecture.
– L3 Cache is typically known as high access memory
between the motherboard and CPU.

Bina Nusantara University

24
Types of Cache Memory (3)
• The idea of cache memory is to store frequently used
instructions or data in accessible memory locations.
• This is predicted by internal algorithms and prediction in
the CPU or operating system cache manager.
• The idea is to reduce the amount of time in contention i.e.
going through the bus to main memory to reference an
address.

Bina Nusantara University

25
The End

Bina Nusantara University

26

More Related Content

What's hot

Learn about computer hardware and software
Learn about computer hardware and softwareLearn about computer hardware and software
Learn about computer hardware and softwarefarrukh ishaq choudhary
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)AJAL A J
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi seolangit4
 
Os concepts 3 I/O and storage Basics
Os concepts 3 I/O and storage BasicsOs concepts 3 I/O and storage Basics
Os concepts 3 I/O and storage BasicsVaibhav Khanna
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systemsRai University
 
Von Neumann Architecture
Von Neumann Architecture   Von Neumann Architecture
Von Neumann Architecture Lor Ham
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System ArchitectureBrenda Debra
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersappasami
 
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002SOLOMONCHINAEMEUCHEA
 
Computer Organization Lecture Notes
Computer Organization Lecture NotesComputer Organization Lecture Notes
Computer Organization Lecture NotesFellowBuddy.com
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturevenkateswarlu G
 
Central Processing Unit (CPU) – Part 2
Central Processing Unit (CPU) – Part 2Central Processing Unit (CPU) – Part 2
Central Processing Unit (CPU) – Part 2Ajeng Savitri
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsRai University
 
Chapter 1 com org (student copy)
Chapter 1   com org (student copy)Chapter 1   com org (student copy)
Chapter 1 com org (student copy)Al Sabiaga
 
computer system structure
computer system structurecomputer system structure
computer system structureHAMZA AHMED
 

What's hot (19)

Learn about computer hardware and software
Learn about computer hardware and softwareLearn about computer hardware and software
Learn about computer hardware and software
 
Unit 1
Unit 1Unit 1
Unit 1
 
Module1
Module1Module1
Module1
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)
 
Basic+machine+organization
Basic+machine+organizationBasic+machine+organization
Basic+machine+organization
 
Chapter01-rev.pptx
Chapter01-rev.pptxChapter01-rev.pptx
Chapter01-rev.pptx
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi
 
Os concepts 3 I/O and storage Basics
Os concepts 3 I/O and storage BasicsOs concepts 3 I/O and storage Basics
Os concepts 3 I/O and storage Basics
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systems
 
Von Neumann Architecture
Von Neumann Architecture   Von Neumann Architecture
Von Neumann Architecture
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Computer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answersComputer organization-and-architecture-questions-and-answers
Computer organization-and-architecture-questions-and-answers
 
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002
HHCJ AMUMARA:COMPUTER STUDIES LECTURE NOTE FOR SS1:002
 
Computer Organization Lecture Notes
Computer Organization Lecture NotesComputer Organization Lecture Notes
Computer Organization Lecture Notes
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Central Processing Unit (CPU) – Part 2
Central Processing Unit (CPU) – Part 2Central Processing Unit (CPU) – Part 2
Central Processing Unit (CPU) – Part 2
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
 
Chapter 1 com org (student copy)
Chapter 1   com org (student copy)Chapter 1   com org (student copy)
Chapter 1 com org (student copy)
 
computer system structure
computer system structurecomputer system structure
computer system structure
 

Viewers also liked

Project 2
Project 2Project 2
Project 2wzhen77
 
HISTORY: Indonesian Architecture 1.0
HISTORY: Indonesian Architecture 1.0HISTORY: Indonesian Architecture 1.0
HISTORY: Indonesian Architecture 1.0ArchiEducPH
 
Wawasan nusantara kelompok 3
Wawasan nusantara kelompok 3Wawasan nusantara kelompok 3
Wawasan nusantara kelompok 3topan hasibuan
 

Viewers also liked (6)

Instalasi igos nusantara
Instalasi igos nusantaraInstalasi igos nusantara
Instalasi igos nusantara
 
Project 2
Project 2Project 2
Project 2
 
HISTORY: Indonesian Architecture 1.0
HISTORY: Indonesian Architecture 1.0HISTORY: Indonesian Architecture 1.0
HISTORY: Indonesian Architecture 1.0
 
Rahmat islam bagi nusantara
Rahmat islam bagi nusantaraRahmat islam bagi nusantara
Rahmat islam bagi nusantara
 
Wawasan nusantara kelompok 3
Wawasan nusantara kelompok 3Wawasan nusantara kelompok 3
Wawasan nusantara kelompok 3
 
Ppt pkn wawasan nusantara
Ppt pkn wawasan nusantaraPpt pkn wawasan nusantara
Ppt pkn wawasan nusantara
 

Similar to T03160020220124039 computeroverview 1-1

Computer Organization: Introduction to Microprocessor and Microcontroller
Computer Organization: Introduction to Microprocessor and MicrocontrollerComputer Organization: Introduction to Microprocessor and Microcontroller
Computer Organization: Introduction to Microprocessor and MicrocontrollerAmrutaMehata
 
Basics of computer acrchitercture.pptx
Basics of computer acrchitercture.pptxBasics of computer acrchitercture.pptx
Basics of computer acrchitercture.pptxJignesh Kariya
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxSumalatha A
 
Chapter1 Computer System Overview.ppt
Chapter1 Computer System Overview.pptChapter1 Computer System Overview.ppt
Chapter1 Computer System Overview.pptShikhaManrai1
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.pptinfomerlin
 
Chapter1 Computer System Overview Part-1.ppt
Chapter1 Computer System Overview Part-1.pptChapter1 Computer System Overview Part-1.ppt
Chapter1 Computer System Overview Part-1.pptShikhaManrai1
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxakhilagajjala
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfnikhil287188
 
The cpu cycle
The cpu cycleThe cpu cycle
The cpu cyclejndatirwa
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfFahanaAbdulVahab
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsNithesh Shetty
 
OSLecture1.ppt
OSLecture1.pptOSLecture1.ppt
OSLecture1.pptAkkiiDerp
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdfwisard1
 

Similar to T03160020220124039 computeroverview 1-1 (20)

ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Chapter01 (1).ppt
Chapter01 (1).pptChapter01 (1).ppt
Chapter01 (1).ppt
 
Computer Organization: Introduction to Microprocessor and Microcontroller
Computer Organization: Introduction to Microprocessor and MicrocontrollerComputer Organization: Introduction to Microprocessor and Microcontroller
Computer Organization: Introduction to Microprocessor and Microcontroller
 
Basics of computer acrchitercture.pptx
Basics of computer acrchitercture.pptxBasics of computer acrchitercture.pptx
Basics of computer acrchitercture.pptx
 
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptxParallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
Parallel Processing & Pipelining in Computer Architecture_Prof.Sumalatha.pptx
 
Chapter1 Computer System Overview.ppt
Chapter1 Computer System Overview.pptChapter1 Computer System Overview.ppt
Chapter1 Computer System Overview.ppt
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.ppt
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
Cs intro-ca
Cs intro-caCs intro-ca
Cs intro-ca
 
Chapter1 Computer System Overview Part-1.ppt
Chapter1 Computer System Overview Part-1.pptChapter1 Computer System Overview Part-1.ppt
Chapter1 Computer System Overview Part-1.ppt
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
CSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptxCSE3120- Module1 part 1 v1.pptx
CSE3120- Module1 part 1 v1.pptx
 
Engg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdfEngg-0505-IT-Operating-Systems-2nd-year.pdf
Engg-0505-IT-Operating-Systems-2nd-year.pdf
 
The cpu cycle
The cpu cycleThe cpu cycle
The cpu cycle
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdf
 
Operating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, ComponentsOperating System Introduction - Definition, Working, Components
Operating System Introduction - Definition, Working, Components
 
OSLecture1.ppt
OSLecture1.pptOSLecture1.ppt
OSLecture1.ppt
 
MK Sistem Operasi.pdf
MK Sistem Operasi.pdfMK Sistem Operasi.pdf
MK Sistem Operasi.pdf
 
Os concepts
Os conceptsOs concepts
Os concepts
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"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
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"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...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

T03160020220124039 computeroverview 1-1

  • 1.
  • 2. Subject : T0316 Operating System Computer System Overview Week 1 - 1
  • 3. Objectives At the end of this lecture, students are able to: • LO1: Describe the basic elements of a computer system and their interrelationship • LO1: Describe the computer Instruction Cycle • LO1: Describe the concepts of Interrupts, Memory Management and I/O types • LO1: Describe different type of cache memory Bina Nusantara University 3
  • 4. Sub Topics • • • • • Basic Elements Instruction Cycle Interrupt Memory I/O Types Bina Nusantara University 4
  • 5. Operating System •Manage resources •Provides a set of services to system users (User Interface) •Manages secondary memory and I/O devices Bina Nusantara University
  • 6. Basic Elements • Processor • Main Memory – referred to as real memory or primary memory – volatile • I/O modules – secondary memory devices – communications equipment – terminals • System bus – communication among processors, memory, and I/O modules Bina Nusantara University 6
  • 7. Computer Architecture (1) 7 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 8. Computer Architecture(2) The program counter (PC) keeps track of where to find the next instruction so that a copy of the instruction can be placed in the current instruction register (IR) The current instruction register holds the instruction that is to be executed. The memory address register (MAR) is used to hold the memory address that contains either the next piece of data or an instruction that is to be used. 8 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 9. Computer Architecture(3) The central processor contains the arithmetic-logic unit (ALU) and the control unit. The ALU is where data is processed. The control unit fetches instructions from memory, decodes them and synchronizes the operations before sending signals to other parts of the computer. The accumulator is in the arithmetic unit, the PC and the IR are in the control unit and the MAR and MBR are in the processor 9 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 10. Instruction Cycle 10 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 11. Fetch and Execute (1) • The processor fetches the instruction from memory • Program counter (PC) holds address of the instruction to be fetched next • Program counter is incremented after each fetch Bina Nusantara University 11
  • 12. Fetch and Execute (2) • Fetched instruction is placed in the instruction register • Types of instructions – Processor-memory • transfer data between processor and memory – Processor-I/O • data transferred to or from a peripheral device – Data processing • arithmetic or logic operation on data – Control • alter sequence of execution Bina Nusantara University 12
  • 14. Interrupt • An interruption of the normal sequence of execution • Improves processing efficiency • Allows the processor to execute other instructions while an I/O operation is in progress • A suspension of a process caused by an event external to that process and performed in such a way that the process can be resumed Bina Nusantara University 14
  • 15. Types of Interrupt • Program – – – – arithmetic overflow division by zero execute illegal instruction reference outside user’s memory space • Timer • I/O • Hardware failure Bina Nusantara University 15
  • 16. Interrupt Handler • A program that determines nature of the interrupt and performs whatever actions are needed • Control is transferred to this program • Generally part of the operating system Bina Nusantara University 16
  • 17. Instruction Cycle with interrupt 17 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 18. Interrupt Cycle • Processor checks for interrupts • If no interrupts fetch the next instruction for the current program • If an interrupt is pending, suspend execution of the current program, and execute the interrupt handler Bina Nusantara University 18
  • 19. Memory • Memory Hierarchy Highest Speed Lowest Speed 19 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 20. Disk Cache • A portion of main memory used as a buffer to temporarily to hold data for the disk • Disk writes are clustered • Some data written out may be referenced again. The data are retrieved rapidly from the software cache instead of slowly from disk Bina Nusantara University 20
  • 21. Cache Memory (1) • Invisible to operating system • Increase the speed of memory • Processor speed is faster than memory speed Bina Nusantara University 21
  • 22. Cache Memory (2) 22 Bina Nusantara University Operating System-Internal and Design Concept - Stallings
  • 23. Types of Cache Memory (1) • There are generally 3 types of cache memory in modern computer systems. – L1 Cache is typically built into the architecture of the CPU. For Example the Pentium has a 16K cache. The PowerPC G5 has a 64K L1 cache. Typically L1 cache is broken down into two separate cache. One is used to hold instructions and the other to hold data. In the Sun4m architecture they are both 16kb. Bina Nusantara University 23
  • 24. Types of Cache Memory (1) – L2 Cache is fast access memory (SRAM) which typically sits between the CPU and main memory. It can range between 256 - 4 Megabytes. This is typically part of the architecture. – L3 Cache is typically known as high access memory between the motherboard and CPU. Bina Nusantara University 24
  • 25. Types of Cache Memory (3) • The idea of cache memory is to store frequently used instructions or data in accessible memory locations. • This is predicted by internal algorithms and prediction in the CPU or operating system cache manager. • The idea is to reduce the amount of time in contention i.e. going through the bus to main memory to reference an address. Bina Nusantara University 25
  • 26. The End Bina Nusantara University 26

Editor's Notes

  1. {}