Chapter 12
Chapter 12
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
2
System improvement
Requires extensive needs analysis
Systems resources, requirements, managers, users
Tradeoff
Memory use versus CPU overhead Algorithm complexity increases
CPU overhead increases
Additional memory
May or may not help
Tradeoff
Better CPU usage versus increased overhead Slower response time Decreased throughput
Heavy loads
CPU time required to manage I/O queues dramatically increases time required to run jobs
Blocking
Reduces physical I/O requests (good) Increases overhead (bad)
Rescheduling requests
Optimizes I/O times Queue reordering technique Overhead function CPU and I/O device speeds versus reordering algorithm execution time
9
10
11
12
Reordering algorithm
Always on or always off Requires reconfiguration to change Initial setting
Determined by evaluating system on average
13
Important considerations
File organization
Example: file records stored noncontiguously Time consuming and requires compaction (CPU time)
15
Monitors use:
Individual computers and shared hardware
Ensures software license agreements compliance
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 Edition 17
Measurement Tools
System performance measures:
Throughput Capacity Response time Turnaround time Resource utilization Availability Reliability
18
19
Bottleneck detection
Monitor queues at each resource
Understanding Operating Systems, Sixth Edition 20
Turnaround time
Batch job response time
Time from job submission until output returned to user
21
Include
Average values and variance
22
23
Influences
Mean time between failures (MTBF)
Average time unit operational before breaks down
R( t ) e
(1 MTBF )(t )
25
26
Feedback Loops
Monitor system resource utilization for adjustments
Prevents processor time spent on overhead More time executing jobs
27
28
29
30
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
33
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
34
Not critical
Delay until regular patch cycle
Patch integrity
Validate source and integrity
Use digital signature or patch validation tool Validate patch vendors digital signature
Understanding Operating Systems, Sixth Edition 35
Tests
System reboot after patch installed Software performs assigned tasks
36
38
39
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 Edition 40
Less-critical patches
Scheduled at systems groups 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 Edition 41
System Monitoring
Hardware monitors
More expensive Minimum impact on system
Outside and attached electronically
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 Edition 42
Todays measurements
Other hardware units, operating system, compilers, other system software
Useful when comparing systems experiencing extensive changes Results dependent upon:
Systems workload Systems design and implementation Specific requirements of applications loaded on system
Understanding Operating Systems, Sixth Edition 44
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
45
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
46
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 Edition 47
Accounting (cont'd.)
Pricing policies
Achieve specific operational goals
Pricing incentives
Encourage access of more plentiful and cheap resources
Summary
Operating system orchestrates cooperation
All hardware and software
System managers
Use appropriate measurement tools and techniques
Verify system effectiveness
49