Understanding Operating Systems Sixth Edition Chapter 12 System Management.

Slides:



Advertisements
Similar presentations
Understanding Operating Systems Fifth Edition Chapter 12 System Management.
Advertisements

Understanding Operating Systems Fifth Edition
Introduction CSCI 444/544 Operating Systems Fall 2008.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
Ceng Operating Systems Chapter 2.2 : Process Scheduling Process concept  Process scheduling Interprocess communication Deadlocks Threads.
Chapter 19: Network Management Business Data Communications, 4e.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Cs238 CPU Scheduling Dr. Alan R. Davis. CPU Scheduling The objective of multiprogramming is to have some process running at all times, to maximize CPU.
Performance Evaluation
Chapter 1 and 2 Computer System and Operating System Overview
Device Management.
Chapter 1 and 2 Computer System and Operating System Overview
Computer Organization and Architecture
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Understanding Operating Systems Sixth Edition
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Windows Server 2008 Chapter 11 Last Update
Computer System Lifecycle Chapter 1. Introduction Computer System users, administrators, and designers are all interested in performance evaluation. Whether.
Understanding Operating Systems Seventh Edition
Hands-On Microsoft Windows Server 2008
Chapter 3 Memory Management: Virtual Memory
Chapter 12 System Management
Understanding Operating Systems Fifth Edition Chapter 12 System Management.
Chapter 11 - System Management Ivy Tech State College Northwest Region 01 CIS106 Microcomputer Operating Systems Gina Rue CIS Faculty.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
CPU Scheduling Chapter 6 Chapter 6.
Chapter 4 Processor Management
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
1 I/O Management and Disk Scheduling Chapter Categories of I/O Devices Human readable Used to communicate with the user Printers Video display terminals.
PATCH MANAGEMENT: Issues and Practical Solutions Presented by: ISSA Vancouver Chapter March 4, 2004.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Module 7: Fundamentals of Administering Windows Server 2008.
© Pearson Education Limited, Chapter 16 Physical Database Design – Step 7 (Monitor and Tune the Operational System) Transparencies.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems CSCI-6140 – Computer Operating Systems David Goldschmidt, Ph.D.
Lecture 2 Process Concepts, Performance Measures and Evaluation Techniques.
Principles of Information Systems, Sixth Edition Systems Design, Implementation, Maintenance, and Review Chapter 13.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Business Data Communications, Fourth Edition Chapter 11: Network Management.
CH 13 Server and Network Monitoring. Hands-On Microsoft Windows Server Objectives Understand the importance of server monitoring Monitor server.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Principles of Information Systems, Sixth Edition 1 Systems Design, Implementation, Maintenance, and Review Chapter 13.
Chapter 8 System Management Semester 2. Objectives  Evaluating an operating system  Cooperation among components  The role of memory, processor,
Network management Network management refers to the activities, methods, procedures, and tools that pertain to the operation, administration, maintenance,
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Hands-On Microsoft Windows Server 2008
Chapter 2: System Structures
Where are being used the OS?
Introduction to Operating System (OS)
Chapter 1: Introduction
Operating Systems.
Operating systems Process scheduling.
Chapter 2: Operating-System Structures
Uniprocessor scheduling
PLANNING A SECURE BASELINE INSTALLATION
Virtual Memory: Working Sets
Chapter 2: Operating-System Structures
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment. Phone:
Presentation transcript:

Understanding Operating Systems Sixth Edition Chapter 12 System Management

Learning Objectives After completing this chapter, you should be able to describe: The tradeoffs to be considered when attempting to improve overall system performance The roles of system measurement tools such as positive and negative feedback loops Two system monitoring techniques The fundamentals of patch management The importance of sound accounting practices by system administrators Understanding Operating Systems, Sixth Edition2

Evaluating an Operating System Knowledge required –Design goals and history –Users’ communication mechanisms –Resource management techniques –Tradeoffs accepted to achieve goals Operating system strengths and weaknesses –Weighed against: Users Hardware Purpose Understanding Operating Systems, Sixth Edition3

Cooperation Among Components Performance dependency –One resource depends on other system resources System improvement –Requires extensive needs analysis System’s resources, requirements, managers, users System change results –Trade one problem for another Consider entire system performance –Not just individual components Understanding Operating Systems, Sixth Edition4

Role of Memory Management Consider actual operating environment –Before memory-related changes Tradeoff –Memory use versus CPU overhead –Algorithm complexity increases CPU overhead increases –Overall performance suffers Additional memory –May or may not help Understanding Operating Systems, Sixth Edition5

Role of Processor Management Multiprogramming system –Requires synchronization Memory manager, processor manager, and I/O devices –Tradeoff Better CPU usage versus increased overhead Slower response time Decreased throughput Understanding Operating Systems, Sixth Edition6

Role of Processor Management (cont'd.) Problems –System saturation point CPU fully utilized and accepting additional jobs Higher overhead and less time to run programs –Heavy loads CPU time required to manage I/O queues dramatically increases time required to run jobs –Long queues at channels, control units, and I/O devices CPU idle (waiting for processes to finish I/O) Understanding Operating Systems, Sixth Edition7

Role of Device Management I/O device utilization improvement techniques –Blocking, buffering, rescheduling I/O requests –Tradeoffs Increased CPU overhead Additional memory space used Blocking –Reduces physical I/O requests (good) –Increases overhead (bad) Understanding Operating Systems, Sixth Edition8

Role of Device Management (cont'd.) Buffering –CPU matches slower I/O device speed (and vice versa) –Requires memory space (buffers) –Tradeoff Less multiprogramming versus better I/O device use Rescheduling requests –Optimizes I/O times –Queue reordering technique –Overhead function –CPU and I/O device speeds versus reordering algorithm execution time Understanding Operating Systems, Sixth Edition9

Role of Device Management (cont'd.) Understanding Operating Systems, Sixth Edition10

Role of Device Management (cont'd.) Example: without reordering –CPU 1 and disk drive A Access track 1, track 9, track 1, track 9 Arm already located at track 1 Understanding Operating Systems, Sixth Edition11

Role of Device Management (cont'd.) Example: after reordering –Arm performs both accesses on Track 1 before traveling Track 9 (35 ms) Understanding Operating Systems, Sixth Edition12

Role of Device Management (cont'd.) Reordering requests not always warranted –Example: CPU 1 and much faster disk drive C Without reordering: access time = = 15 ms With reordering: access time = = 35 ms Reordering algorithm –Always on or always off –Requires reconfiguration to change –Initial setting Determined by evaluating system on average Understanding Operating Systems, Sixth Edition13

Role of File Management Secondary storage allocation schemes –Help organize and access system files Important considerations –File organization Example: file records stored noncontiguously Time consuming and requires compaction (CPU time) –Volume directory location Affects retrieval time Different schemes offer different flexibility –Tradeoff: file flexibility versus CPU overhead Closely related to device storing files Understanding Operating Systems, Sixth Edition14

Role of File Management (cont'd.) File management related to device where files stored Understanding Operating Systems, Sixth Edition15

Role of Network Management Routinely synchronizes remote processor load Determines message priority Selects most efficient communication paths –Over multiple data communication lines Monitors use: –Individual computers and shared hardware Ensures software license agreements compliance Simplifies updating data files and programs on networked computers Understanding Operating Systems, Sixth Edition16

Measuring System Performance Total system performance –Efficiency with which computer system meets goals System efficiency –Not easily measured –Affected by three components User programs, operating system programs, hardware System performance –Very subjective –Difficult to quantify –When quantifiable Not an absolute measure Understanding Operating Systems, Sixth Edition17

Measurement Tools System performance measures: –Throughput –Capacity –Response time –Turnaround time –Resource utilization –Availability –Reliability Understanding Operating Systems, Sixth Edition18

Measurement Tools (cont'd.) Throughput Composite measure –Indicates system productivity as a whole –Measured under steady-state conditions –Example: quantities Number of jobs processed per day Number of online transactions handled per hour –Measures work volume handled by system unit –Monitored: hardware or software Understanding Operating Systems, Sixth Edition19

Measurement Tools (cont'd.) Throughput bottlenecks –Capacity –Maximum throughput level Resources saturated Processes not passed along Thrashing results –Main memory over-committed Multiprogramming level reaches peak point Monitored by hardware or software Bottleneck detection –Monitor queues at each resource Understanding Operating Systems, Sixth Edition20

Measurement Tools (cont'd.) Response time –Online interactive user –Interval required to process user request From when user presses key to send message until system indicates receipt of message Turnaround time –Batch job response time Time from job submission until output returned to user Understanding Operating Systems, Sixth Edition21

Measurement Tools (cont'd.) Dependencies –Workload handled by system at time of request –Type of job or request being submitted Include –Average values and variance Understanding Operating Systems, Sixth Edition22

Measurement Tools (cont'd.) Resource utilization –How much unit contributing to overall operation –Percentage of time resource actually in use Example: CPU busy 60 percent of time? –Helps analyst determine Balance among system units System category: I/O-bound or CPU-bound Understanding Operating Systems, Sixth Edition23

Measurement Tools (cont'd.) Availability –Indicates likelihood resource ready when needed Influences –Mean time between failures (MTBF) Average time unit operational before breaks down –Mean time to repair (MTTR) Average time needed to fix failed unit and put back in service Availability (A) = Understanding Operating Systems, Sixth Edition24

Measurement Tools (cont'd.) Reliability –Measures probability unit will not fail during given time period –Function of MTBF Understanding Operating Systems, Sixth Edition25

Measurement Tools (cont'd.) Performance measures –Avoid taking in isolation from system workload Overall system performance –Varies with time –Important to define actual working environment Before making generalizations Understanding Operating Systems, Sixth Edition26

Feedback Loops Monitor system resource utilization for adjustments –Prevents processor time spent on overhead –More time executing jobs Feedback loop types –Negative feedback loop –Positive feedback loop Understanding Operating Systems, Sixth Edition27

Feedback Loops (cont'd.) Negative feedback loop –Process arrival rate decreased when system too congested Stabilized system Queue lengths close to estimated mean values Positive feedback loop –Arrival rate increased when system underutilized Paged virtual memory systems use this Implementation more difficult (than negative loops) Understanding Operating Systems, Sixth Edition28

Feedback Loops (cont'd.) Understanding Operating Systems, Sixth Edition29

Feedback Loops (cont'd.) Understanding Operating Systems, Sixth Edition30

Patch Management Systematic updating –Operating system or other system software Patch –Programming code –Replaces or changes software code Reasons –Provides vigilant security precautions against threats –Assures government regulation compliance Privacy and financial accountability –Keeps systems running at peak efficiency Understanding Operating Systems, Sixth Edition31

Patch Management (cont'd.) Challenges –System complexity Operating system, network, various platforms, remote users –Speed vulnerabilities exploited Worms, viruses, other system assaults Rigorous patching results –Resources reach top performance –Information best protected Responsibility: organization dependent –Chief information officer, chief security officer Understanding Operating Systems, Sixth Edition32

Patch Management (cont'd.) Manual and automatic patch technologies –Among top eight used by organizations Understanding Operating Systems, Sixth Edition33

Patching Fundamentals Steps –Identify required patch –Verify source and integrity –Test patch in safe environment –Deploy patch throughout system –Audit system Gauge patch deployment success Recent data backup in hand –Before patch installation Understanding Operating Systems, Sixth Edition34

Patching Fundamentals (cont'd.) Patch availability –Identify patch criticality category –Critical Apply patch as soon as possible –Not critical Delay until regular patch cycle Patch integrity –Validate source and integrity Use digital signature or patch validation tool Validate patch vendor’s digital signature Understanding Operating Systems, Sixth Edition35

Patching Fundamentals (cont'd.) Patch testing –Sample system or isolated machine Resemble target network complexity –Tests System reboot after patch installed Software performs assigned tasks –Test contingency plans for installation failure Uninstall patch Recover old software Understanding Operating Systems, Sixth Edition36

Patching Fundamentals (cont'd.) Patch deployment –Installation –Single-user computer Simple task Install software and reboot computer –Multiplatform system (many users) Exceptionally complicated task Maintain accurate hardware and software inventory Use network mapping software Stage patch deployment Understanding Operating Systems, Sixth Edition37

Patching Fundamentals (cont'd.) Audit finished system –Confirm results meet expectations –Verify all computers patched correctly Performs expected fundamental tasks –Verify all users eligible for patch No unauthorized software on computers –Verify all users patched No unpatched computer software Understanding Operating Systems, Sixth Edition38

Patching Fundamentals (cont'd.) Audit finished system (cont'd.) –Document System changes Successes and failures: each stage of process Log all system changes: future reference User feedback: verify deployment success Understanding Operating Systems, Sixth Edition39

Software Options Patch installation techniques –Manually: one at a time –Automatically: using software Deployment –Agent-based software Software assists in patch installation On all target systems before patch deployed –Agentless software Attractive for large, complex networks Time-saving efficiencies Understanding Operating Systems, Sixth Edition40

Timing the Patch Cycle Critical patches –Applied immediately Less-critical patches –Scheduled at systems group’s convenience Routine patches –Applied monthly or quarterly –Timed Coincide with vendor service pack release –Advantage Thorough review before deployment: patch, testing cycles Understanding Operating Systems, Sixth Edition41

System Monitoring Hardware monitors –More expensive –Minimum impact on system Outside and attached electronically –Examples: counters, clocks, comparator Software monitors –Relatively inexpensive –Distortion of analysis results Software monitor becomes part of system –Developed for each specific system –Difficult to move from system to system Understanding Operating Systems, Sixth Edition42

System Monitoring (cont'd.) Early systems performance measurements –Monitored CPU speed Today’s measurements –Other hardware units, operating system, compilers, other system software Measurements made in variety of ways –Real programs: production programs Run with different configurations of CPUs, operating systems, other components Results called benchmarks –Using simulation models Understanding Operating Systems, Sixth Edition43

System Monitoring (cont'd.) Benchmarks –Demonstrate specific advantages New CPU, operating system, compiler, or piece of hardware –Useful when comparing systems experiencing extensive changes –Results dependent upon: System’s workload System’s design and implementation Specific requirements of applications loaded on system Understanding Operating Systems, Sixth Edition44

Accounting Pays bills Keeps system financially operable Single-user environment –Easy to calculate system cost Multiuser environment –Computer costs distributed among users –Basis Users’ resource usage Understanding Operating Systems, Sixth Edition45

Accounting (cont'd.) Distributing computer costs –Operating system tasks Set up user accounts Assign passwords Identify resources available to each user Define quotas for available resources: disk space or maximum CPU time allowed per job Understanding Operating Systems, Sixth Edition46

Accounting (cont'd.) Pricing policies vary from system to system Examples: –Total amount of time spent between job submission and completion –CPU time, main memory usage –Secondary storage used during program execution –Secondary storage used during billing period –Use of system software, number of I/O operations –Time spent waiting for I/O completion –Number of input records read, output records printed, page faults Understanding Operating Systems, Sixth Edition47

Accounting (cont'd.) Pricing policies –Achieve specific operational goals Pricing incentives –Encourage access of more plentiful and cheap resources Billing method information –Environment dependent Maintaining billing records online –User’s status checked before job enters READY queue –Increased overhead Understanding Operating Systems, Sixth Edition48

Summary Operating system orchestrates cooperation –All hardware and software One part favored at expense of others –Leads to tradeoffs System managers –Use appropriate measurement tools and techniques Verify system effectiveness –Evaluate degree of improvement Understanding Operating Systems, Sixth Edition49