Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

Operating Systems Concept o Provide user communication

 User issues commands to


Operating Systems
operating system
 Manage computer system o Unique to each operating system
hardware and software  May vary between versions
o Essential manager provide support
This text explores:
 What they are
 How they are
 What they do
 Why they do it
This chapter describes:
 How operating systems
works
 The evolution of operating
system
What is an Operating System?
 Computer System (Figure 1.1) this model of a non-networked
o Software (programs) operating system shows four subsystem managers
o Hardware (Physical machine and supporting the User command Interface.
electronic components)
 Each manager:
 Operating System
o Works closely with other managers
o Part of computer system (software)
o Performs a unique role
o Manages all hardware and software
 Manager tasks
 Controls every file, device,
o Monitor it’s resource continuously
section of main memory and
o Enforce policies determining:
nanosecond of processing
time  Who get what, when, and
 Controls who can use the how much
system o Allocate the resource (when
 Controls how system is used appropriate)
o Deallocate the resource (when
Operating System Software appropriate)
 Includes four essential subsystem managers
o Memory Manager
o Processor Manager
o Device Manager  Network Manager
o File Manager o Operating systems with networking
 Network Manager capability
o In all modern operating systems o Fifth essential manager
o Assumes responsibility for o Convenient way for users to share
networking tasks resources
o Discussed further in chapter 9 & 10 o Retains user access control
 User Command Interface  Resource include:
o Hardware (CPUs, memory areas,  Handled by Job scheduler
printers, tape drives, modems, and o Manage each process within those
disk drives) jobs
o Software (compilers, application  Handled by Process
programs, and data files) Scheduler
Device Management
 In charge of monitoring all resources
o Devices, channels, and control units
 Responsibilities include:
o Choosing most efficient resource
allocating method
 Printer, ports, disk drives, etc.
(figure 1.2) networked systems have a network  Based on scheduling policy
manager that assumes responsibility for networking o Allocating the device
tasks while working harmoniously with every other o Starting device operation
manager. o Deallocating the device
File Management
Main Memory Management  In charge of tracking every file in the system
 In charge of main memory o Data files, program files, compilers,
o Random Access Memory (RAM) application programs
 Responsibilities Include:  Responsibilities include:
o Preserving space in main memory o Enforcing user/program resource
occupied by operating system access policies
o Checking validity and legality of  Uses predetermined access
memory space request policies
o Setting up memory tracking table o Controlling user/program
 Tracks usage of memory by modification restrictions
sections  Read-only, read-write, create,
 Needed in multiuser delte
environment o Allocating resource
o Deallocating memory to reclaim it  Opening the file
 Deallocating file (by closing
it)
Cooperation Issues
 Essential Manager
o Perform individual task and
Processor Management
o Harmoniously interact with other
 In charge of allocating Central Processing managers
Unit (CPU)  Requires incredible precision
 Tracks process status o No single manager performs tasks in
o An instance of program execution isolation
 Two levels of responsibility: o Network manager
o Handle jobs as they enter the system
 Convenient way to share
resources
 Controls user access

(figure 1.3) Each subsystem manager at the base of


the pyramid takes responsibility for its own tasks
while working harmoniously with every other
manager.
(figure 1.4) A logical view of typical computer
system hardware configuration. The tower holds the
Central Processing Unit, the arithmetic and logic
A Brief History of Machine Hardware
unit, register, cache, and main memory, as well as
 Hardware: Physical machine and electronic controllers and interfaces shown within the dotted
components lines
o Main Memory (RAM)
 Data/Instruction storage and
execution  Computer classification
o Input/Output devices (I/O devices) o By capacity and price (until mid-
 All peripheral devices in 1970s)
system  Mainframe
 Printers, disk drives, o Large machine
CD/DVD drives, flash  Physical size and internal
memory, and keyboards. memory capacity
o Central processing unit (CPU) o Classic Example: 1964 IBM 360
 Control interpretation and model 30
execution of instructions  CPU required 18 square-foot
 Controls operation of air-conditioned room
computer system  CPU size: 5 feet high x 6 feet
wide
 Internal memory: 64k
 Price: $200,000 (1964
dollars)
 Minicomputer
o Developed for smaller institutions
o Compared to mainframe
o Smaller in size and memory capacity
 Cheaper
o Example: Digital Equipment Corp.
minicomputer
 Price: less than $18,000 extremely high-resolution
graphic displays
 Today
o Known as midrange computers
o Capacity between microcomputers  Servers
and mainframes o Provide specialized services
 Supercomputer  To other computers or
o Massive machine client/server networks
o Developed for military operations  Perform critical network task
and weather forecasting  Examples:
o Example: Cray supercomputer  Print servers
 6 to 1000 processors  Internet servers
 Performs up to 2.4 trillion  Mail servers
floating-point operations per  Advances in computer technology
second (teraflops) o Dramatic Changes
 Uses:  Physical size, cost, and
o Scientific research memory capacity
o Customer support/product o Networking
development  Integral part of modern
 Microcomputer computer systems
o Developed for single users in the late o Mobile society information delivery
1970s  Creating strong market for
o Example: microcomputer by Tandy handled devices
Corporation and Apply Computer, o New Classification
Inc.  By processor capacity, not
 Very little memory (by memory capacity
today’s standards) o Moore’s Law
 64K maximum capacity  Computing power rises
 Microcomputer’s distinguishing exponentially
characteristic
o Single-user status
 Workstations
o Most powerful microcomputers
o Developed for commercial,
educational, and government
enterprises
o Networked together
o Support engineering and technical
users (table 1.1) a brief list of platforms and sample
 Massive mathematical operating systems (listed here in alphabetical
computations order).
 Computer-aided design
(CAD) Types of Operating Systems
o Applications  Five categories
 Requiring powerful CPUs, o Batch
large main memory, and
 Input relied on punched cards  Perform specific set
or tape of programs
 Efficiency measured in  Not interchangeable
throughput among systems
 Small kernel and
flexible function
o Interactive capabilities
 Faster turnaround than batch  Two distinguishing features
systems o Response time
 Slower than real-time o How data enters into the system
systems  1940s: First generation
 Introduced to provide fast o Computer based on vacuum tube
turnaround when debugging technology
programs o No standard operating system
 Time-sharing software
software
developed for operating
o Typical program included every
system
instruction needed by the computer
o Real-time
to perform the tasks requested
 Reliability is key
o Poor machine utilization
 Fast and time limit sensitive
 CPU processed data and
 Used in time-critical
performed calculations for
environments
fraction of available time
 Space flights, airport
o Early programs
traffic control, high-
 Designed to use the resources
speed aircraft
conservatively
 Industrial processes
 Understandability is not a
 Sophisticated medical priority
equipment
 Distribution of
electricity
 Telephone switching
 Must be 100% responsive,
100% of the time
o Hybrid
 Combination of batch and
interactive
 Accept and run batch
programs in the background
 Interactive load is
light
o Embedded
 Computer placed inside other
products
 Adds features and capabilities (figure 1.7) Dr. Grace Hopper’s research journal
 Operating system from her work on harvard’s Mark I computer in
requirements 1945 included the remains of the first computer
“bug,” a moth that had become trapped in the
computer’s relays causing the system to crash. The o Speed caused problems with slower
term is still in use today. I/O devices
o Main memory physical capacity
limitations
 1950s: second generation  Multiprogramming schemes
o Focused on cost effectiveness used to increase CPU
o Computer we’re expensive  Virtual memory developed to
 IBM 7094: $200,000 solve physical limitation
o Two widely adopted improvements o Database management software
 Computer operators: humans  Became a popular tool
hired to facilitate o A number of query systems
 Concept of job scheduling: introduced
group together programs with o Programs started using English-like
similar requirements words, modular structures, and
o Expensive time lags between CPU standard operations.
and I/O devices
o I/O device speed gradually became
faster
 Tape drives, disk, and drums
o Record blocked before retrieval or
storage
o Access methods developed
 Added to object code by
linkage editor
o Buffer between I/O and CPU
introduced
 Reduced speed discrepancy
o Timer interrupts developed
 Allowed job-sharing
 1960s: third generation (figure 1.9) The Cray I supercomputer introduce in
o Faster CPUs 1976 boasted 8 mb main memory and a world-
o Speed caused problems with slower record of 160 million floating-point operations per
I/O devices second. Its circular design meant that no wire was
o Multiprogramming more than 4 feet (1.2 meters) long
 Allowed loading many
programs at one time
o Program scheduling  1980s
 Initiated with second- o Cost/performance ratio improvement
generation systems of computer components
 Continues today o More flexible hardware (firmware)
o Few advances in data management o Multiprocessing
o Total operating system customization  Allowed parallel program
 Suit user’s needs execution
 1970s o Evolution of personal computers
o Faster CPUs o Evolution of high-speed
communication
o Distributed processing and  High-speed network
networked systems introduced attachments
 1990s  Increased number and variety
o Demand for internet capability of storage devices
 Sparked proliferation of o Virtualization
networking capability  Single server supports
 Increased networking different operating systems
 Increased tighter security
Threads
demands to protect hardware
and software  Multiple actions executing simultaneously
o Multimedia applications o Heavyweight process (conventional
 Demanding additional power, process)
flexibility, and device  owns the resources
compatibility for most  passive element
operating systems o lightweight process (thread)
 uses CPU and scheduled for
execution
 active element
o Multithreaded applications programs
 Contain several threads
running at one time
 Same or different priorities
 Examples: web browsers and
time-sharing systems
Object-Oriented Design
 Driving force in system architecture
improvements
o Kernel (operating system nucleus)
o Kernel reorganization
 Memory resident: Process
scheduling and memory
(figure 1.10) illustration from the first page of the allocation
1989 proposal by tim Berners-Lee describing his  Modules: all other functions
revolutionary “linked information system.” Based o Advantages
on this research, he designed the first world wide  Modification and
web servers and browser, making it available to the customization without
general public in 1991. disrupting integrity of the
remainder of the system
 Software development
 2000s
o Primary design features support:
 Multimedia applications
 Internet and web access
 Client/server computing
o Computer systems requirements
 Increased CPU speed
 Linux
MS Windows Versions
 Home (Non-Professional) Versions
o Windows 95
o Windows 98
o Windows Me
 Professional (Business) versions
o Windows NT
o Windows 2000
 The Two Lines Came Together in
o Windows XP (2001)

(figure1.13.) early operating system (a) loaded in


Disk Operating System (DOS)
their entirely into main memory. Modern object-
oriented system (b) load only the critical elements  The first PC Operating System (1981)
into main memory and call other object as needed.  Not a multitasking OS, only one program
Operating System Fundamentals could run at a time
 A command-line interface, no GUI.
The three Elements of an OS  Early versions of Windows sat on top of
 User Interface – The part of the OS that DOS and used it to communicate with the
you interface with. BIOS.
 Kernel – The core of the OS. Interacts with  Windows XP communicates directly with
BIOS (at one end), and the UI (at the other the BIOS, but allows commands to be
end). entered via a command prompt.
 File management System – Organizes and File System
manages files.
 A file is a collection of bytes of information
Operating System Functions treated as a single unit.
 File management  It is given a name to make it easy to find and
 Application Management use later.
 Built-in Utility Programs  The file system keeps track of where a file is
actually resident on a disk.
 Control of Computer Hardware
 A disk (hard disk, floppy, optical disk) is
Operating System Types subdivided into directories or folders.
 The top level folder on a disk is known as
 Multiuser – Two or more users work with
the root
the computer at the same time
 The root is generally subdivided into
 Multitasking – Two or more processes
subfolders.
running at the same time.
 Any folder or subfolder can contain files and
 Multithreading – Two or more parts of the
other folders.
same process running at the same time.
 The fully-qualified filename includes the
PC Operating Systems name of the file and the path to the folder in
which it resides:
 Microsoft Windows
 Macintosh OS Windows Registered File Types
 A particular file extension can be registered
and associated with a particular program.
o .docx files are associated with MS
Word
o .xlsx files are associated with MS
Excel
o .txt files are associated with notepad
o .html files are associated with IE
DOS wild characters
 This how windows know what to do when
you double click a file in My Computer.  The Character ? and * can be used to affect
multiple files with a single command.
File Attributes
o The ? means any single character.
 Each file has four attributes which can be  Copy c:\temp\notes??.doc d:\temp
viewed or set.  Means copy any word file that begins with
o Read only – file may be viewed, the word “notes” with exactly two other
copied, executed (if appropriate), but characters, like “notes01.doc”,
not changed. It can be deleted. “notesAB.doc”, etc.
o Hidden – file will not be displayed in  The “*” wild card replaces any number of
normal list of files. characters.
o System – file is identified to belong  Copy c:\temp\notes.* d:\temp (copy all files
to system, should not be messed with the name “notes” and any extension.)
with.  Copy *. Doc c:\temp
o Archive – file is (or is not 0) a  (copy all files with a “doc” extension in the
candidate for backup. current directory.)
DOS commands At the Command Prompt
 Two types – Internal and External  A drive letter and a “:” (e.g. “f:”) makes that
o Internal commands are resident in your current drive.
the main kernel file: command.com  CD (Change Directory)
(or cmd.exe) o cd (with no parameters) reminds you
o External commands are separate what the current directory is.
little programs. o Cd .. moves you to the parent of the
 It’s important to learn DOS commands current directory (up one level).
because you can write scripts to execute a o Cd \ moves you to the root of the
set of commands automatically. current drive.
o Cd <some directory> makes that
your current directory.

DOS commands
 MD – Make Directory
 RD – Remove a directory or an entire
directory tree.
 DIR – Display the contents of a directory.
 DEL (or ERASE) – Deletes one or more
files.
 COPY – Places a copy of file(s) in a Figure 4.1: A firm’s IT infrastructure is composed
different folder. of hardware, software, data management
 XCOPY – Flexible copy commands used technology, networking technology, and technology
for copying large groups of files, commonly services.
used for file backup.
Moore’s Law
 DATE and TIME – display & set the
current date & time in the PC.  Moore’s Law predicts the number of
 TYPE – Displays the contents of a text file. transistors fitting on a computer chip will
double every one and half to two years.
 This prediction about density also captures
advances in processing speed, storage
capabilities, cost, and other components
features.
 Processing power and speed and storage
capabilities have increased exponentially as
IT Infrastructure: Hardware and Software the cost of computing devices has decreased.
Computer Hardware Types of computers
Infrastructure Components  Computers come in different sizes with
 IT infrastructure: provides platform for varying capabilities for processing
supporting all information systems in the information.
business o FLOPS (floating point operation per
o Computer hardware seconds)
o Computer software  Smartphones, netbooks, e-book readers
o Data management Technology o Today’s smartphones are far more
 Organize, Manage, and powerful than the early PCs of the
processes business data 1980s
concerned with inventory,  PCs
customer and vendors  Workstations
o Network and Telecommunications o More powerful mathematical and
technology graphics-processing capabilities than
o Technology services a PC
o Used primarily for advanced design
or engineering work requiring
powerful graphics or computational
capabilities
 Servers
o Type of midrange computer
o Support computer network, sharing
files and resources.
o Provide hardware platform for e-
commerce.
 Mainframes:
o Large-capacity, high-performance
computer that can process large
amounts of data very rapidly
o E.g., by airlines for thousands of Figure 4.2: in client/server computing, computer
reservations per seconds processing is split between client machines and
o Mainframes are still a major revenue server machines linked by a network Users
and profit source for IBM, one of the interface with the client machines.
last large-scale commercial Storage, Input, and Output Technology
manufacturers of mainframe
computers.  Primary secondary storage technologies
 Supercomputer: o Magnetic disk:
o More sophisticated computer used  Hard drives, USB flash
for tasks requiring extremely rapid drives
and complex calculations with  RAID: can package hundreds
thousands of variables, millions of of drives for massive storage
measurements requirements
o Used in engineering, scientific o Optical Disks
simulations, military/weapons  CD-ROM, CD-RW, DVD
research, weather forecasting o Magnetic tape
 Grid Computing o Storage networking:SANS
o power of geographically remote  Connect multiple storage
computers connected into single devices on separate high-
network to act as “virtual speed network dedicated to
supercomputer” storage
 Input devices:
o Gather data and convert them into
 Client/server computer electronic form.
o Form of distributed computing  Keyboard, computer mouse,
o Splits processing between “clients” touch screen, optical
and “servers” character recognition,
o Clients: user point of entry magnetic ink character
 The user generally interacts recognition, pen-based input,
directly only with the client digital scanner, audio input,
portion of the application, sensors.
often to input data or retrieve  Output devices:
data for further analysis o Display data after they have been
o Servers: Store and process shared processed.
data and perform network o Monitor
management activities o Printer
o Audio output
Client/Server Computing
 Information systems collect and process
information in one of two ways.
o Batch processing: transaction stored
for predefined amount of time, then
processed as group
o Online processing: Transaction
processed immediately
Contemporary Hardware Trends
 The emerging mobile digital platform
o Based on new handheld hardware  Accessible via standard web browser with
like cellphones, netbooks, and tablet behind-the-scene software updates
computers. A new “platform.”  Better scalability, eliminate cost and
o Wireless communication through 3G complexity of managing multiple layers of
cell networks and WI-Fi. hardware and software
o New software apps.
Cloud Disadvantages
 Nanotechnology:
o Uses individual atoms and molecules  May not be attractive to larger companies
to create computer chips and other for their application needs
devices that are thousands of times  Responsibility of data storage and control is
smaller than current technologies in the hands of the provider
permit.  Security risks may increase and open
 Cloud Computing vulnerabilities to data maintenance
o A model of computing in which  System reliability issues
firms and individuals obtain  Users dependency on the cloud computing
computing resources over the provider
internet
o Cloud Infrastructure as a service
 Customer use processing,
storage, networking, and
other computing resources
from cloud service providers
to run their information
systems.
o Cloud platform as a service
 Customers use infrastructure
and programming tools
hosted by the service
provider to develop their own
applications.
o Cloud software as a service
 Customer use software hosted
by the vendor.
Figure 4.6: in cloud computing, hardware and software
Cloud Advantages capabilities are provided as services over the internet.
Businesses and employees have access to application
 Eliminates needs for large up-front capital and IT Infrastructure anywhere at any time using an
investment in systems internet-connected device.
 Eliminates lengthy implementations on
Virtualization
corporate computers
 Low cost subscriptions; no expensive  Autonomous computing
licensing and maintenance fees o Development of systems that can
 No hardware for subscribers to purchase, configure themselves, heal the
scale, and maintain themselves; e.g., self-updating antivirus
software
 No operating systems, database servers or
 Process of presenting a set of computing
applications servers to install
resources so they can be accessed in ways that
 No consultants and staff are unrestricted by physical configuration or
geographical location
 Server virtualization: running more than one  HTML
operating system at the same time on single o Page description language for
machine. specifying how elements are placed
Multicore processors on a web page and for creating how
elements are placed on a web page
 Integrated circuit with two or more processors and for creating links to other pages
 Enchanced performance, reduced power and objects
consumption, and more efficient simultaneous
processing of multiple tasks WEB 2.0
Operating System Software  Web services:
 The software that manages and controls the o Software components that exchange
computer’s activities information with one another using
 PC operating systems and graphical user universal web communication
interfaces standards and languages
o GUIs  XML (extensible markup language)
o Windows XP, Windows vistal, and o SOAP (simple object access
Window Servers 2003 protocol)
o UNIX o WSDL (web services description
o LINUX
language)
 Open-source software
o UDDI (universal description,
discovery, and integration)
The major types of software
 Service Oriented architecture (SOA)
o In a service-oriented architecture,
various application provide
“services” (data) on request to other
applications needing data.
How dollar rent-a-car uses web services

Software for the web: Java, AJAX and HTML


 Java
o Operating system-independent,
processor-independent, object-
oriented programming language
 AJAX
o Allows a client and server to
exchange data behind the scenes to Software trends
avoid reloading a web page after
each change  Open Source Software
o Linux, Apache organization are sometimes called
 Cloud Computing turn-key systems or software
o Google apps, office web apps  Custom software development describes
 Mashups how an organization develops and builds
o Are web application that combine software tailored specifically to its needs.
content or data from multiple  Using technology service providers
 Software as a service (SaaS) o Outsourcing
o Salesforce.com  Using external provider to:
 Run network
Managing Hardware and Software Technology  Host, manage web sites.
 Develop software (offshore
 Capacity planning
software outsourcing)
o Process of predicting when hardware
 Manage IT infrastructure
system becomes saturated
o Requires service level agreements
o Ensuring firm has enough computing
(SLAs)
power for current and future needs
 A formal contracts between
o Factor include:
customer and service
 Maximum number of users
providers that define the
 Impact of current, future
specific responsibilities of the
software
service provider and the level
 Performance measures
of service expected by the
 Minimum response customer.
time for processing
business transactions.
 Scalability: ability of system to expand to Advantages of outsourcing
serve large number of users without
breaking down  Allows a business to concentrate on its core
competencies rather than focusing on
technology issues.
 Instead of purchasing all the necessary
hardware and software for hosting a web
site, a business can use a web hosting
service that maintains a large web server
Using cloud services
 Small businesses “rent” infrastructure from
another firm to avoid expenses of
maintaining hardware and software on their
own.
 Amazon markets
Strategies for creating and deploying software Managing mobile platforms
 Commercial off-the-shelf software  Balancing gains in productivity from using
solutions are ready-made and available for mobile devices with expenses of equipping
licensing or sale to the general public employees with these devices
o Off-the-shelf software systems that o TCO for wireless devices ranges
cannot be modified to meet the from $1000 to $3000
specific needs of a particular
Managing software localization for global
business
 Local language interfaces
o English not typically standard at
middle, lower levels
o Interfaces are complex: menu bars,
error messages, online forms, search
results, and so on
o Differences in local culture
o Differences in monetary structure
o Differences in business processes

You might also like