SlideShare a Scribd company logo
1 of 29
Guide to Operating Systems,
4th
ed.
Chapter 3: Operating Systems Hardware
Components
Guide to Operating Systems, 4th ed. 2
Objectives
2
• Explain operating system hardware components,
which will include design type, speed, cache,
address bus, data bus, control bus, and CPU
scheduling
• Describe the basic features and system
architecture of popular PC processors
• Understand how hardware components interact
with operating systems
Guide to Operating Systems, 4th ed. 3
Understanding CPUs
• The system architecture of the computer is built
around the CPU
– System architecture includes the number and type of CPUs in
the hardware, and the communications routes (buses) between
CPUs and other hardware components
• CPU – chip that performs the actual computational
and logic work
• Core – section of the processor that actually does
the reading and execution of instructions
– Processors originally only had one core
– Multicore processor has two or more cores
• Multiprocessor computers have multiple physical
CPU chips
Guide to Operating Systems, 4th ed. 4
Understanding CPUs
• CPUs can be classified by hardware elements:
– Design type
– Speed
– Cache
– Address bus
– Data bus
– Control bus
– CPU scheduling
• Each of these elements are described in more
detail on the following slides
Guide to Operating Systems, 4th ed. 5
Design Type
• Two general CPU designs are used today:
– Complex Instruction Set Computing (CISC)
– Reduced Instruction Set Computing (RISC)
• Main difference between the two design types is
the number of different instructions the chip can
process
• CPUs can process as many as 20 million (low-end)
to several billion (high-end) operations per second
• Instruction set – list of commands the CPU can
understand and carry out
Guide to Operating Systems, 4th ed. 6
Design Type
• How a CISC CPU operates
– When the CPU gets a command it assigns specific instructions to
different parts of the chip
– When a command is finished and the next command is received, the
CPU uses the same parts of the chip it used before
• Advantages of CISC:
– Only needs general-purpose hardware to carry out commands versus
hardware designed for a specific purpose
– Chip is driven mainly by software, which is cheaper to produce
• Disadvantages of CISC:
– Complexity of on-chip software needed to make the hardware do the
right thing
– The need to continually reprogram the on-chip hardware
– CISC chips can be a little slower than RISC chips
Guide to Operating Systems, 4th ed. 7
Design Type
• CISC CPU
– Because general hardware is used, functions will not be
executed in the most efficient way
– Hardware modules can be added that are optimized to perform
certain functions
– Example – A math coprocessor can be added in order to help
perform all computational functions
• CPU performance is increased
• Increases price
Guide to Operating Systems, 4th ed. 8
Design Type
• How a RISC CPU operates
– Typically use a technique called pipelining, which allows the
processor to operate on instructions while retrieving more
instructions from the OS or application
• Advantage of RISC
– Requires very little setup for specific tasks because it has
hardware on the chip to perform specific functions
• Disadvantage of RISC
– Need more hardware to carry out instructions which makes the
chip more expensive
Guide to Operating Systems, 4th ed. 9
Design Type
CISC versus RISC processing
Guide to Operating Systems, 4th ed. 10
Design Type
• The RISC processor design has evolved into a concept
called Explicitly Parallel Instruction Computing
(EPIC)
– Created as joint project by Intel and Hewlett-Packard (HP)
– Enables the processor to handle massive numbers of
operations simultaneously by implementing large storage areas
and executing parallel instruction sets
– Chip can predict and speculate which operations are likely
– Can support up to 256 64-bit registers
– Reduces or eliminates bottlenecks at the processor
Guide to Operating Systems, 4th ed. 11
Design Type
• RISC-based EPIC processors (continued)
– Can build three instructions into one “word”
– A word is like a single communication with the processor
– CISC and traditional RISC use one instruction per word
– EPIC instructions can be combined into instruction groups,
consisting of multiple “words”
• It attempts to execute all of the instructions in one group at the
same time
– Thus, making the RISC-based EPIC processor much faster
than CISC and traditional RISC chips
Guide to Operating Systems, 4th ed. 12
Speed
• The speed of a CPU defines how fast it can
perform operations
• Most obvious indicator is the internal clock speed
– Clock provides a rigid schedule to make sure all the chips know
what to expect at what time
– Tells how many clock pulses, or ticks, are available per second
– The faster the clock, the faster the CPU
• As more components are needed to make a CPU,
the chip uses more energy, which is converted to
heat.
– CPUs require fans to keep cool
Speed
• CPU must be able to communicate with other chips
in the computer
– Uses an external clock speed to communicate with the rest of
the computer
– External clock speed runs slower than the internal clock speed
• Typically one-half, on-third, one-fourth, or one-eighth the speed of
the internal CPU clock
Guide to Operating Systems, 4th ed. 13
Guide to Operating Systems, 4th ed. 14
Cache
• Since the internal clock of a CPU is faster than the
external clock the CPU would have to wait on
information to arrive from other parts of the
computer
• Most modern CPUs have cache memory built into
the chip
– This memory is extremely fast and typically runs at the same
speed as the processor
– Cache memory is referred to as level 1 (L1) cache
– Some CPUs have two or more levels of cache memory, called
level 2 (L2) cache
• Normally runs at the same speed as the external CPU clock
Guide to Operating Systems, 4th ed. 15
Cache
• In many cases, up to 90% of data the CPU needs to
transfer to and from memory is present in the L1, L2/L3
cache
• Cache controller – predicts what data will be needed
and makes the data available in cache before it is
needed
• Intelligent, fast cache controllers and large amounts of
L1, L2, and L3 help increase the speed of a CPU
Guide to Operating Systems, 4th ed. 16
Address Bus
• Address Bus – internal communications pathway
that specifies the source and target addresses for
memory reads and writes
– Typically runs at the external clock speed of the CPU
– Width of the address is the number of bits that can be used to
address memory
• Wider bus means the computer can address more memory and
store more data
– Most PCs use a 32-bit address bus
• Allows them to address 4 billion (4 GB) memory addresses
– Some newer processors use a 64-bit address bus
• Allows them to address 16 terabytes (TB) of memory
Guide to Operating Systems, 4th ed. 17
Data Bus
• The data bus allows computer components, such
as CPU, display adapter, and main memory, to
share information
• The number of bits in the data bus indicates how
many bits of data can be transferred from memory
to the CPU in one clock tick
– A CPU with an external clock speed of 1 GHz and a 64-bit data
bus could transfer as much 8 GB per second
• A CPU with a 64-bit data bus typically can perform
operations on 64 bits of data at a time
Control Bus
• Information is transported on the control bus to
keep the CPU informed about the status of
resources and devices connected to the computer
• Memory read and write status is transported on this
bus, as well as interrupt requests
– Interrupt request (IRQ) – a request to the processor to
“interrupt” whatever it is doing to take care of a process, which
in turn might be interrupted by another process
Guide to Operating Systems, 4th ed. 18
Guide to Operating Systems, 4th ed. 19
CPU Scheduling
• CPU Scheduling – determines which process to
start given the multiple processes waiting to run
• Beginning with Windows NT, the use of CPU
scheduling algorithms began to evolve to allow
multithreading
– Multithreading is the ability to run two or more processes
(known as threads) at the same time
Popular PC Processors
• Intel – most popular CPU manufacturer today
– 8088 – CPU found in the original IBM PC
– Early Intel processors were identified by model numbers: 8088,
8086, 80286, 386, 486 (sometimes preceded by an i as in i486)
– Pentium family of chips followed 486 and are sometimes
identified by a P and a number (example – P4)
– Intel Itanium and Itanium 2 are newer 64-bit processors for
high-end PCs and server
Guide to Operating Systems, 4th ed. 20
Guide to Operating Systems, 4th ed. 21
Popular PC Processors
Single-core Intel CPUs
Guide to Operating Systems, 4th ed. 22
Popular PC Processors
Guide to Operating Systems, 4th ed. 23
Popular PC Processors
• Intel Itanium and Itanium 2 processors are different
from previous ones in two respects:
– Built on the RISC-based EPIC architecture
– 64-bit chips
– In order to use the capabilities of 64-bit processing, the
operating system and applications must be rewritten to use 64-
bit
– Windows XP, Windows Server 2003 Enterprise, Windows
Server 2003 Datacenter, and Windows Server 2008 can run on
Itanium 64-bit processors
• Initially, processors were developed with one core
– Today, many multicore Intel CPUs are available
Guide to Operating Systems, 4th ed. 24
Popular PC Processors
Multicore Intel CPUs
Guide to Operating Systems, 4th ed. 25
Popular PC Processors
• Advanced Micro Devices, Inc. (AMD) –
manufactures CPU chips that compete with Intel
Single-core AMD processors
Guide to Operating Systems, 4th ed. 26
Popular PC Processors
Multicore AMD processors
Guide to Operating Systems, 4th ed. 27
Popular PC Processors
• Motorola 68xxx – typically found in Macintosh
computers and older UNIX computers (now
discontinued)
• PowerPC – a new line of chips that used different
instructions sets than the Motorola 68xxx line
– Developed jointly by Apple Computer, IBM, and Motorola (AIM)
– In 2005, Apple moved to using Intel chips
• SPARC – Scalable Processor Architecture
– A RISC processor designed by Sun Microsystems
– SPARC T3 is the current version of the SPARC processor
• A 64-bit chip with 64-bit address and data buses
Guide to Operating Systems, 4th ed. 28
Popular PC Processors
• Alpha – CPU originally designed by Digital
Equipment Corporation (DEC), which was
purchased by Compaq, which was purchased by
HP
– Found in older high-end HP Compaq servers
– Has a 64-bit data and address bus
– Was the first chip to reach a speed of 1 GHz
– Found in computers conducting heavy networking, engineering,
and graphics duties
– There were many proprietary devices (file servers, firewalls,
and routers) that ran custom operating systems based on the
Alpha architecture
Chapter Summary
• Hardware and operating systems are interrelated because in many
ways they grew up together. Processor hardware improvements
have marched steadily from the early 8088 chip to the modern 64-
bit multicore processors. Operating systems paralleled these
changes to take advantage of the capabilities at each stage of
development.
• The early computer operating systems were well suited to the early
processors. As processors became faster and more advanced, so
did operating systems.
• Today, 64-bit processors provide a foundation for operating
systems like Windows 7, Mac OS X Snow Leopard, and
Linux/Fedora to take advantage of high-speed networking and
multimedia capabilities. Multicore processors bring greater
capabilities and functionality to server operating systems.
Guide to Operating Systems, 4th ed. 29

More Related Content

What's hot

Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...ijesajournal
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating SystemAmir Villas
 
09. storage-part-1
09. storage-part-109. storage-part-1
09. storage-part-1Muhammad Ahad
 
Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory managementVandana Salve
 
Dheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosDheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosREXY J
 
Unix operating system
Unix operating systemUnix operating system
Unix operating systemABhay Panchal
 
Windows OS Architecture in Summery
Windows OS Architecture in SummeryWindows OS Architecture in Summery
Windows OS Architecture in SummeryAsanka Dilruk
 
DOS Operating System
DOS Operating SystemDOS Operating System
DOS Operating SystemAnjan Mahanta
 
Operating System Case Study and I/O System
Operating System Case Study and I/O SystemOperating System Case Study and I/O System
Operating System Case Study and I/O Systemprakash ganesan
 
Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Afaq Siddiqui
 
Device drivers by prabu m
Device drivers by prabu mDevice drivers by prabu m
Device drivers by prabu mPrabu Mariyappan
 

What's hot (20)

9781111306366 ppt ch9
9781111306366 ppt ch99781111306366 ppt ch9
9781111306366 ppt ch9
 
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
 
9781111306366 ppt ch8
9781111306366 ppt ch89781111306366 ppt ch8
9781111306366 ppt ch8
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating System
 
09. storage-part-1
09. storage-part-109. storage-part-1
09. storage-part-1
 
Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory management
 
Dheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosDheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dos
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
file management
 file management file management
file management
 
SSD HSD storage drives
SSD HSD storage drives SSD HSD storage drives
SSD HSD storage drives
 
Os
OsOs
Os
 
Window architecture
Window architecture Window architecture
Window architecture
 
Windows OS Architecture in Summery
Windows OS Architecture in SummeryWindows OS Architecture in Summery
Windows OS Architecture in Summery
 
DOS Operating System
DOS Operating SystemDOS Operating System
DOS Operating System
 
Operating System Case Study and I/O System
Operating System Case Study and I/O SystemOperating System Case Study and I/O System
Operating System Case Study and I/O System
 
Arduino Programming Basic
Arduino Programming BasicArduino Programming Basic
Arduino Programming Basic
 
Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)Introduction of storage devices(Brief Knowledge)
Introduction of storage devices(Brief Knowledge)
 
Oct2009
Oct2009Oct2009
Oct2009
 
Ch12
Ch12Ch12
Ch12
 
Device drivers by prabu m
Device drivers by prabu mDevice drivers by prabu m
Device drivers by prabu m
 

Similar to 9781111306366 ppt ch3

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
 
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdf
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdffinaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdf
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdfNazarAhmadAlkhidir
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptxSahalAhmed4
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsHisyam Rosly
 
Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3senayteklay
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.pptmvpk14486
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.pptPraches1
 
The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4MKKhaing
 
Chapter4 Data Processing
Chapter4 Data ProcessingChapter4 Data Processing
Chapter4 Data ProcessingMuhammad Waqas
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptxBLACKSPAROW
 
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
 
Mces MOD 1.pptx
Mces MOD 1.pptxMces MOD 1.pptx
Mces MOD 1.pptxRadhaC10
 
Computer Basics
Computer BasicsComputer Basics
Computer BasicsAditya Singh
 
Computer !
Computer !Computer !
Computer !Usman Shah
 

Similar to 9781111306366 ppt ch3 (20)

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
 
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdf
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdffinaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdf
finaldraft-intelcorei5processorsarchitecture-130207093535-phpapp01.pdf
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptx
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3Computer Hardware & Software Lab Manual 3
Computer Hardware & Software Lab Manual 3
 
Processors
ProcessorsProcessors
Processors
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4
 
Chapter4 Data Processing
Chapter4 Data ProcessingChapter4 Data Processing
Chapter4 Data Processing
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Cpu
CpuCpu
Cpu
 
cs-procstruc.ppt
cs-procstruc.pptcs-procstruc.ppt
cs-procstruc.ppt
 
3rd the cpu
3rd the cpu3rd the cpu
3rd the cpu
 
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
 
Mces MOD 1.pptx
Mces MOD 1.pptxMces MOD 1.pptx
Mces MOD 1.pptx
 
Computer Basics
Computer BasicsComputer Basics
Computer Basics
 
Computer !
Computer !Computer !
Computer !
 

More from Dr. Ahmed Al Zaidy

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingDr. Ahmed Al Zaidy
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web formsDr. Ahmed Al Zaidy
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsDr. Ahmed Al Zaidy
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesDr. Ahmed Al Zaidy
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsDr. Ahmed Al Zaidy
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptDr. Ahmed Al Zaidy
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaDr. Ahmed Al Zaidy
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web formDr. Ahmed Al Zaidy
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsDr. Ahmed Al Zaidy
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webDr. Ahmed Al Zaidy
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSDr. Ahmed Al Zaidy
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutDr. Ahmed Al Zaidy
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSDr. Ahmed Al Zaidy
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Dr. Ahmed Al Zaidy
 
testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2Dr. Ahmed Al Zaidy
 
Chapter 15 Risk Mitigation
Chapter 15 Risk MitigationChapter 15 Risk Mitigation
Chapter 15 Risk MitigationDr. Ahmed Al Zaidy
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business ContinuityDr. Ahmed Al Zaidy
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityDr. Ahmed Al Zaidy
 

More from Dr. Ahmed Al Zaidy (20)

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based Programming
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web forms
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheets
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and Styles
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statements
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScript
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimedia
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web form
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and Columns
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile web
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSS
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page Layout
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSS
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5
 
Integer overflows
Integer overflowsInteger overflows
Integer overflows
 
testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Chapter 15 Risk Mitigation
Chapter 15 Risk MitigationChapter 15 Risk Mitigation
Chapter 15 Risk Mitigation
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business Continuity
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data Security
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

9781111306366 ppt ch3

  • 1. Guide to Operating Systems, 4th ed. Chapter 3: Operating Systems Hardware Components
  • 2. Guide to Operating Systems, 4th ed. 2 Objectives 2 • Explain operating system hardware components, which will include design type, speed, cache, address bus, data bus, control bus, and CPU scheduling • Describe the basic features and system architecture of popular PC processors • Understand how hardware components interact with operating systems
  • 3. Guide to Operating Systems, 4th ed. 3 Understanding CPUs • The system architecture of the computer is built around the CPU – System architecture includes the number and type of CPUs in the hardware, and the communications routes (buses) between CPUs and other hardware components • CPU – chip that performs the actual computational and logic work • Core – section of the processor that actually does the reading and execution of instructions – Processors originally only had one core – Multicore processor has two or more cores • Multiprocessor computers have multiple physical CPU chips
  • 4. Guide to Operating Systems, 4th ed. 4 Understanding CPUs • CPUs can be classified by hardware elements: – Design type – Speed – Cache – Address bus – Data bus – Control bus – CPU scheduling • Each of these elements are described in more detail on the following slides
  • 5. Guide to Operating Systems, 4th ed. 5 Design Type • Two general CPU designs are used today: – Complex Instruction Set Computing (CISC) – Reduced Instruction Set Computing (RISC) • Main difference between the two design types is the number of different instructions the chip can process • CPUs can process as many as 20 million (low-end) to several billion (high-end) operations per second • Instruction set – list of commands the CPU can understand and carry out
  • 6. Guide to Operating Systems, 4th ed. 6 Design Type • How a CISC CPU operates – When the CPU gets a command it assigns specific instructions to different parts of the chip – When a command is finished and the next command is received, the CPU uses the same parts of the chip it used before • Advantages of CISC: – Only needs general-purpose hardware to carry out commands versus hardware designed for a specific purpose – Chip is driven mainly by software, which is cheaper to produce • Disadvantages of CISC: – Complexity of on-chip software needed to make the hardware do the right thing – The need to continually reprogram the on-chip hardware – CISC chips can be a little slower than RISC chips
  • 7. Guide to Operating Systems, 4th ed. 7 Design Type • CISC CPU – Because general hardware is used, functions will not be executed in the most efficient way – Hardware modules can be added that are optimized to perform certain functions – Example – A math coprocessor can be added in order to help perform all computational functions • CPU performance is increased • Increases price
  • 8. Guide to Operating Systems, 4th ed. 8 Design Type • How a RISC CPU operates – Typically use a technique called pipelining, which allows the processor to operate on instructions while retrieving more instructions from the OS or application • Advantage of RISC – Requires very little setup for specific tasks because it has hardware on the chip to perform specific functions • Disadvantage of RISC – Need more hardware to carry out instructions which makes the chip more expensive
  • 9. Guide to Operating Systems, 4th ed. 9 Design Type CISC versus RISC processing
  • 10. Guide to Operating Systems, 4th ed. 10 Design Type • The RISC processor design has evolved into a concept called Explicitly Parallel Instruction Computing (EPIC) – Created as joint project by Intel and Hewlett-Packard (HP) – Enables the processor to handle massive numbers of operations simultaneously by implementing large storage areas and executing parallel instruction sets – Chip can predict and speculate which operations are likely – Can support up to 256 64-bit registers – Reduces or eliminates bottlenecks at the processor
  • 11. Guide to Operating Systems, 4th ed. 11 Design Type • RISC-based EPIC processors (continued) – Can build three instructions into one “word” – A word is like a single communication with the processor – CISC and traditional RISC use one instruction per word – EPIC instructions can be combined into instruction groups, consisting of multiple “words” • It attempts to execute all of the instructions in one group at the same time – Thus, making the RISC-based EPIC processor much faster than CISC and traditional RISC chips
  • 12. Guide to Operating Systems, 4th ed. 12 Speed • The speed of a CPU defines how fast it can perform operations • Most obvious indicator is the internal clock speed – Clock provides a rigid schedule to make sure all the chips know what to expect at what time – Tells how many clock pulses, or ticks, are available per second – The faster the clock, the faster the CPU • As more components are needed to make a CPU, the chip uses more energy, which is converted to heat. – CPUs require fans to keep cool
  • 13. Speed • CPU must be able to communicate with other chips in the computer – Uses an external clock speed to communicate with the rest of the computer – External clock speed runs slower than the internal clock speed • Typically one-half, on-third, one-fourth, or one-eighth the speed of the internal CPU clock Guide to Operating Systems, 4th ed. 13
  • 14. Guide to Operating Systems, 4th ed. 14 Cache • Since the internal clock of a CPU is faster than the external clock the CPU would have to wait on information to arrive from other parts of the computer • Most modern CPUs have cache memory built into the chip – This memory is extremely fast and typically runs at the same speed as the processor – Cache memory is referred to as level 1 (L1) cache – Some CPUs have two or more levels of cache memory, called level 2 (L2) cache • Normally runs at the same speed as the external CPU clock
  • 15. Guide to Operating Systems, 4th ed. 15 Cache • In many cases, up to 90% of data the CPU needs to transfer to and from memory is present in the L1, L2/L3 cache • Cache controller – predicts what data will be needed and makes the data available in cache before it is needed • Intelligent, fast cache controllers and large amounts of L1, L2, and L3 help increase the speed of a CPU
  • 16. Guide to Operating Systems, 4th ed. 16 Address Bus • Address Bus – internal communications pathway that specifies the source and target addresses for memory reads and writes – Typically runs at the external clock speed of the CPU – Width of the address is the number of bits that can be used to address memory • Wider bus means the computer can address more memory and store more data – Most PCs use a 32-bit address bus • Allows them to address 4 billion (4 GB) memory addresses – Some newer processors use a 64-bit address bus • Allows them to address 16 terabytes (TB) of memory
  • 17. Guide to Operating Systems, 4th ed. 17 Data Bus • The data bus allows computer components, such as CPU, display adapter, and main memory, to share information • The number of bits in the data bus indicates how many bits of data can be transferred from memory to the CPU in one clock tick – A CPU with an external clock speed of 1 GHz and a 64-bit data bus could transfer as much 8 GB per second • A CPU with a 64-bit data bus typically can perform operations on 64 bits of data at a time
  • 18. Control Bus • Information is transported on the control bus to keep the CPU informed about the status of resources and devices connected to the computer • Memory read and write status is transported on this bus, as well as interrupt requests – Interrupt request (IRQ) – a request to the processor to “interrupt” whatever it is doing to take care of a process, which in turn might be interrupted by another process Guide to Operating Systems, 4th ed. 18
  • 19. Guide to Operating Systems, 4th ed. 19 CPU Scheduling • CPU Scheduling – determines which process to start given the multiple processes waiting to run • Beginning with Windows NT, the use of CPU scheduling algorithms began to evolve to allow multithreading – Multithreading is the ability to run two or more processes (known as threads) at the same time
  • 20. Popular PC Processors • Intel – most popular CPU manufacturer today – 8088 – CPU found in the original IBM PC – Early Intel processors were identified by model numbers: 8088, 8086, 80286, 386, 486 (sometimes preceded by an i as in i486) – Pentium family of chips followed 486 and are sometimes identified by a P and a number (example – P4) – Intel Itanium and Itanium 2 are newer 64-bit processors for high-end PCs and server Guide to Operating Systems, 4th ed. 20
  • 21. Guide to Operating Systems, 4th ed. 21 Popular PC Processors Single-core Intel CPUs
  • 22. Guide to Operating Systems, 4th ed. 22 Popular PC Processors
  • 23. Guide to Operating Systems, 4th ed. 23 Popular PC Processors • Intel Itanium and Itanium 2 processors are different from previous ones in two respects: – Built on the RISC-based EPIC architecture – 64-bit chips – In order to use the capabilities of 64-bit processing, the operating system and applications must be rewritten to use 64- bit – Windows XP, Windows Server 2003 Enterprise, Windows Server 2003 Datacenter, and Windows Server 2008 can run on Itanium 64-bit processors • Initially, processors were developed with one core – Today, many multicore Intel CPUs are available
  • 24. Guide to Operating Systems, 4th ed. 24 Popular PC Processors Multicore Intel CPUs
  • 25. Guide to Operating Systems, 4th ed. 25 Popular PC Processors • Advanced Micro Devices, Inc. (AMD) – manufactures CPU chips that compete with Intel Single-core AMD processors
  • 26. Guide to Operating Systems, 4th ed. 26 Popular PC Processors Multicore AMD processors
  • 27. Guide to Operating Systems, 4th ed. 27 Popular PC Processors • Motorola 68xxx – typically found in Macintosh computers and older UNIX computers (now discontinued) • PowerPC – a new line of chips that used different instructions sets than the Motorola 68xxx line – Developed jointly by Apple Computer, IBM, and Motorola (AIM) – In 2005, Apple moved to using Intel chips • SPARC – Scalable Processor Architecture – A RISC processor designed by Sun Microsystems – SPARC T3 is the current version of the SPARC processor • A 64-bit chip with 64-bit address and data buses
  • 28. Guide to Operating Systems, 4th ed. 28 Popular PC Processors • Alpha – CPU originally designed by Digital Equipment Corporation (DEC), which was purchased by Compaq, which was purchased by HP – Found in older high-end HP Compaq servers – Has a 64-bit data and address bus – Was the first chip to reach a speed of 1 GHz – Found in computers conducting heavy networking, engineering, and graphics duties – There were many proprietary devices (file servers, firewalls, and routers) that ran custom operating systems based on the Alpha architecture
  • 29. Chapter Summary • Hardware and operating systems are interrelated because in many ways they grew up together. Processor hardware improvements have marched steadily from the early 8088 chip to the modern 64- bit multicore processors. Operating systems paralleled these changes to take advantage of the capabilities at each stage of development. • The early computer operating systems were well suited to the early processors. As processors became faster and more advanced, so did operating systems. • Today, 64-bit processors provide a foundation for operating systems like Windows 7, Mac OS X Snow Leopard, and Linux/Fedora to take advantage of high-speed networking and multimedia capabilities. Multicore processors bring greater capabilities and functionality to server operating systems. Guide to Operating Systems, 4th ed. 29