Ch_08 - William Stallings Computer Organization and...

Info icon This preview shows pages 1–23. Sign up to view the full content.

View Full Document Right Arrow Icon
William Stallings Computer Organization and Architecture 6 th Edition Chapter 8 Operating System Support (revised 10/28/02)
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Objectives and Functions Convenience Making the computer easier to use Efficiency Allowing better use of computer resources
Image of page 2
Layers and Views of a Computer System
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Operating System Services Program creation Program execution Access to I/O devices Controlled access to files System access Error detection and response Accounting
Image of page 4
O/S as a Resource Manager
Image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Types of Operating System Interactive Batch Single program (Uni-programming) Multi-programming (Multi-tasking)
Image of page 6
Early Systems Late 1940s to mid 1950s No Operating System Programs interact directly with hardware Two main problems: Scheduling Setup time
Image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Simple Batch Systems Resident Monitor program Users submit jobs to operator Operator batches jobs Monitor controls sequence of events to process  batch When one job is finished, control returns to  Monitor which reads next job Monitor handles scheduling
Image of page 8
Memory Layout for Resident Monitor
Image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Job Control Language Instructions to Monitor Usually denoted by $ e.g. $JOB $FTN ... Some Fortran instructions $LOAD $RUN ... Some data $END
Image of page 10
Other Desirable Hardware Features Memory protection To protect the Monitor Timer To prevent a job monopolizing the system Privileged instructions Only executed by Monitor e.g. I/O Interrupts Allows for relinquishing and regaining control
Image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Multi-programmed Batch Systems I/O devices very slow When one program is waiting for I/O, another  can use the CPU
Image of page 12
Single Program
Image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Multi-Programming with Two Programs
Image of page 14
Multi-Programming with Three Programs
Image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Sample Program Execution Attributes
Image of page 16
Utilization
Image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Effects of Multiprogramming on Resource Utilization
Image of page 18
Time Sharing Systems Allow users to interact directly with the computer i.e. Interactive Multi-programming allows a number of users to  interact with the computer
Image of page 19

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Scheduling Key to multi-programming Long term Medium term Short term I/O
Image of page 20
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern