16 Pages

Chapter9-v3

Course: EECS 2550, Fall 2008
School: Toledo
Rating:
 
 
 
 
 

Word Count: 591

Document Preview

Scheduling Chapter Uniprocessor 9 Aim of Scheduling Response time Throughput Processor efficiency 1 Types of Scheduling 2 Long-Term Scheduling Determines which programs are admitted to the system for processing Controls the degree of multiprogramming More processes, smaller percentage of time each process is executed 3 Medium-Term Scheduling Part of the swapping function Based on the need to manage...

Register Now

Unformatted Document Excerpt

Coursehero >> Ohio >> Toledo >> EECS 2550

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Scheduling Chapter Uniprocessor 9 Aim of Scheduling Response time Throughput Processor efficiency 1 Types of Scheduling 2 Long-Term Scheduling Determines which programs are admitted to the system for processing Controls the degree of multiprogramming More processes, smaller percentage of time each process is executed 3 Medium-Term Scheduling Part of the swapping function Based on the need to manage the degree of multiprogramming Short-Term Scheduling Known as the dispatcher Executes most frequently Invoked when an event occurs Clock interrupts I/O interrupts Operating system calls Signals 4 Short-Tem Scheduling Criteria User-oriented Response Time Elapsed time between the submission of a request until there is output. System-oriented Effective and efficient utilization of the processor Short-Term Scheduling Criteria Performance-related Quantitative Measurable such as response time and throughput Not performance related Qualitative Predictability 5 Priorities Scheduler will always choose a process of higher priority over one of lower priority Have multiple ready queues to represent each level of priority Lower-priority may suffer starvation allow a process to change its priority based on its age or execution history 6 Decision Mode Nonpreemptive Once a process is in the running state, it will continue until it terminates or blocks itself for I/O Preemptive Currently running process may be interrupted and moved to the Ready state by the operating system Allows for better service since any one process cannot monopolize the processor for very long 7 Process Scheduling Example First-Come-First-Served (FCFS) 0 5 10 15 20 1 2 3 4 5 Each process joins the Ready queue When the current process ceases to execute, the oldest process in the Ready queue is selected 8 First-Come-First-Served (FCFS) A short process may have to wait a very long time before it can execute Favors CPU-bound processes I/O processes have to wait until CPU-bound process completes Round-Robin 0 5 10 15 20 1 2 3 4 5 Uses preemption based on a clock An amount time of is determined that allows each process to use the processor for that length of time 9 Round-Robin Clock interrupt is generated at periodic intervals When an interrupt occurs, the currently running process is placed in the read queue Next ready job is selected Known as time slicing Shortest Process Next 0 5 10 15 20 1 2 3 4 5 Nonpreemptive policy Process with shortest expected processing time is selected next Short process jumps ahead of longer processes 10 Shortest Process Next Predictability of longer processes is reduced If estimated time for process not correct, the operating system may abort it Possibility of starvation for longer processes Shortest Remaining Time 0 5 10 15 20 1 2 3 4 5 Preemptive version of shortest process next policy Must estimate processing time 11 Highest Response Ratio Next (HRRN) 0 5 10 15 20 1 2 3 4 5 Choose next process with the lowest ratio time spent waiting + expected service time expected service time Feedback 0 5 10 15 20 1 2 3 4 5 Penalize jobs that have been running longer Don't know remaining time process needs to execute 12 Fair-Share Scheduling User's application runs as a collection of processes (threads) User is concerned about the performance of the application Ne...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Toledo - EECS - 1580
QuicksortChapter 7 Lawrence Miller - The University of Toledo1IntroductionQuicksortgood: sorts in place bad: worst case running time (n2) good: average case running time (nlgn) good: constant factors hidden in (nlgn) are actually quite small
Toledo - EECS - 2550
Overview of UNIX Lawrence Miller - The University of Toledo1UNIX Summary OverviewUNIX started at Bell Labs in the 70's as an attempt to build a sophisticated time-sharing system on a minicomputer. UNIX is almost entirely written in C; it was a
Toledo - EECS - 2550
File ManagementChapter 12File Management File management system is considered part of the operating system Input to applications is by means of a file Output is saved in a file for long-term storage1Terms Used with Files Field Basic eleme
Toledo - EECS - 2550
Interprocess CommunicationChapter 14 Part 1Copyright 2003 by Lawrence Miller (The University of Toledo), and J.F. Paris (The University of Houston)UNIX PipesIn UNIX, pipes are the oldest form of IPC Limitations of Pipes:Half duplex (data fl
Toledo - EECS - 1580
C+ for Java Programmers1C+ for Java ProgrammersWeb PageWeb Page is at: www.eecs.utoledo.edu/~lmiller/Courses/ee cs1580/main_index.htm21C+ for Java ProgrammersHere we go.Course is split up into 4 sections: Basic C+ Advanced C+ Obj
Toledo - EECS - 2550
Virtual MemoryChapter 8Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time A process may be swapped in and out of main memory such that it occupies different regions A process may be
Toledo - EECS - 1580
The Role of Algorithms in ComputingChapter 1 Lawrence Miller - The University of Toledo1AlgorithmsThe discipline of computer science is concerned with the study of problem solving with computersit does not consist of solving problems with co
Toledo - EECS - 2550
Computer System OverviewChapter 1Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users Manages secondary memory and I/O devices1Basic Elements Processor Main Memory referred
Toledo - EECS - 1570
A Simple Hash Table We will use the object itself as the key Each object in Java should be able to use a hashCode( ) method to get a code for the object.Hash Tables RevisitedApril 12, 2005 Resolve collisions by going to the next open cell. (li
Toledo - EECS - 1570
A Simple Bulletin Board Linear Data Structures Spring 2005 Due Date: Thursday March 31, 2005Description In this project you are going to implement a simple bulletin board application for the web. The project will run as an application for now so th
Toledo - EECS - 2000
Syllabus for EECS 2000: EECS Professional Development Spring 2005Catalog Description:1 hour. This course is designed to provide a better understanding of the EECS professional and ethical responsibility and the impact of engineering solutions in a
Toledo - EECS - 4980
Java Beans Java BeansApril 21, 2003 Component model May or may not have a visual representation Must be serializableJavaBean Parts Properties May be read or written Classified often as bound, unbound, or constrained IntrospectionSome Term
Toledo - EECS - 1560
While loops More Conditionals This is out of order with respect to the text but since we had looked at an if-else statement I also wanted to look at a while loop. Loops repeat a group of steps until some sort of condition is reached (may be a count
Toledo - EECS - 1560
What Is This Course EECS 1560: Intro To Object Oriented ProgrammingAugust 22, 2006 This course is an introductory programming course. It assumes NO programming experience although I assume you have used some computer applications and know how to ope
Toledo - EECS - 1560
Combining Conditions You can not have a 3 way test such as:Combining Conditionals & Project 1September 7, 20060 <= a <= 10 You can write this using some additional logical operators Logical Operators& | ! And Or Not 0 <= a & a <= 10 0 <= a
Toledo - EECS - 1560
Composition Laboratory EECS 1560 Fall 2006 DescriptionIn this lab you will work with a group of classes to build an application. The classes are composed - they have a has-a relationship. The classes we will use in this case is one based on books. B
Toledo - EECS - 1560
Lab 7 Intro To Object Oriented Programming Week of October 24th, 2006 Arrays and Objects BackgroundIn this lab you will complete a class that works with an array of objects. The objects in this case are winners of the Tour de France. Each winner ha
Toledo - EECS - 1560
Designing a Program Problem Specification and Decomposition. Determine the object's (things) that a program needs to work with (normally nouns in a problem specification) and the things it needs to do (normally verbs) by looking at the specificatio
Toledo - EECS - 1560
Project 1 EECS 1560: Intro to Object-Oriented Programming Hurricane in an Object Due: Monday September 12, 2005DescriptionIn this project you will build a container class to hold information about a hurricane. The class will need to hold the follow
Toledo - EECS - 1560
Parameters Methods & Simple Control Structures So far our methods (or member functions) have done very little we really don't know how to make them do much (yet.) One thing we would lie to do is to pass information into and out of a method.Passi
Toledo - EECS - 1560
Laboratory 2 EECS 1560: Intro to Object Oriented Programming Fall 2005Building a ClassIn this lab you will build a simple class that allows us to manipulate a simple object. Start by creating a project in your Eclipse workspace name it Lab2. Now,
Toledo - EECS - 1560
Test 1 Test 1, Clarifications, and more Control StructuresOctober 4, 2004 Two versions results are equivalent and questions are only slightly different Had 90 points on it so scores are reported out of 90 (not 100). Statistics High Median Av
Toledo - EECS - 1560
Announcements Reminder Project 5 is due Wednesday December 1st Handout Project 6 Due Friday December 10th by 5 PM. The e-mail must be sent to me by this time. The print outs can be turned in under my door or directly to me. The time on the e-m
Toledo - EECS - 1560
Project 5 Intro To Object Oriented ProgrammingNovember 28, 2005 Due on Wednesday, November 30th, 2005. Need a printed listing and an e-mailed version.Test 2 Nothing major to report other than 10 points will be added to the scores across the boa
Toledo - EECS - 1560
Coverage Test Material Chapters 0-3 Chapter 4 Sections 4.5 Chapter 5 Sections 5.1-5.6Quick Self Test Write a class with 3 instance variables: a state, a city, and a zip code. Your class should have a constructor that will initialize the 3 ins
Toledo - EECS - 1560
Tentative Timetable for EECS 1560Instructor: Jerry HeuringWeek 08/22/05 08/29/05 09/05/05 09/12/05 09/19/05 09/26/05 10/03/05 10/10/05 10/17/05 10/24/05 10/31/05 11/07/05 11/14/05 11/21/05 11/28/05 12/05/05 12/14/05 Topic(s) Introduction & Object O
Toledo - EECS - 1560
Lab Collections Week of October 31, 2005 EECS 1560: Intro to Object Oriented Programming Description:In this lab you will work with a couple of collections you may want to consider this an extension on last weeks lab. We will use a class that hold
Toledo - EECS - 1560
Lab 8 Intro To Object Oriented Programming Week of October 24th, 2005 Arrays and Objects BackgroundIn this lab you will complete a class that works with an array of objects. The objects in this case are winners of the Tour de France. Each winner ha
Toledo - EECS - 1560
Final Intro to Object Oriented ProgrammingNovember 30, 2005 The final examination for Sections 1, 2, and 3 (the non-honors sections) is Thursday, December 15, 2005 from 12:302:30 in this room (NI 1027) It will be comprehensive It will be longer t
Toledo - EECS - 1560
This is a change The test should be Wednesday not Thursday as was announced in class.Test ReminderIntro to Object Oriented ProgrammingDecember 5, 2005 Final Wednesday 12:30-2:30 Final Tuesday 2:45-4:45 (Honors Section) 1 Sheet (8 " b
Toledo - EECS - 1560
Laboratory 2 Debugging Features EECS 1560: Introduction to Object Oriented Programming BackgroundMost development environments have support for a debugger with certain features. Program developers use a debugger to help find and correct errors (als
Toledo - EECS - 1560
Test Wednesday November 10, 2004Graphical User InterfacesNovember 1, 2004 Covers Through Arrays (Does not include collections) Chapters 0-8 Emphasis on new material Chapters 5-8 Strings Should know basics assignment concatenation (+) .eq
Toledo - EECS - 1560
DandelionWeedus Outusannualpartial sun30.01
Toledo - EECS - 1560
Project 6 EECS 1560 A Graphical User Interface for Plants Due: December 11, 2006Description:In this project you will be given a text based program that works to hold information on plants. Your program will need to provide a graphical user interfa
Toledo - EECS - 1560
Project 3 EECS 1560: Intro to Object Oriented Programming Due: Start of Class on Tuesday October 24, 2006 Film AppletDescription:In this project you will create a group of classes that represent a movie and allow the user of your program to enter
Toledo - EECS - 1560
Project 5 - EECS 1560 A Class for Contact Information Due: December 5, 2006Description:In this project you are to implement a class that holds contact information on individuals. The contact information for an individual includes their name, their
Toledo - EECS - 1560
Project 4 EECS 1560 Memory: A Simple Game using Arrays Due: November 16, 2006 Description:In this project you are to use an array to hold a group of cards. The cards are going to be used for the game "memory". The project can be done as a text base
Toledo - EECS - 4530
Reminder Test Wednesday!Input and GLUINovember 13, 2006Open Books and Notes Covers new material including textures, ray tracing, curves, hidden surfaces, discrete methods. Probably little code required. 5-6 questionsCurrent ProjectDelayed to
Toledo - EECS - 4530
Display Lists and TransformationsSeptember 16, 2002nWhat is a Display List?w Something like a subroutine.Rather than repeatedly put in primitives for an object it will allow you to reuse them. Cannot pass parameters to a display list Two steps,
Toledo - EECS - 4530
Basics Monday December 13, 2004Computer GraphicsDecember 5, 20045:00-7:00 PM Open Book and Notes Lots of (hopefully shorter) questions. ComprehensiveGreen Book Chapters 1, 2, 4, 5, 6, 7, 8, 9, 11, 14 Chapter 3.1-3.4, 3.14, 3.16-3.17, 3.23-3
Toledo - EECS - 4530
Characteristics Input and GLUTs CallbacksEECS 4530: Computer Graphics I September 9, 2002nn n nAll the GLUT supported I/O routines use callbacks to return information to the program. This type of input would be known as event mode input. Reques
Toledo - EECS - 4530
This Example More Primitives & AttributesSeptember 1, 2004 We will try to do a fair amount with a very simple basic object a box. The width, depth, height, and position of the box can be specified. We will also look at how to "move around" the b
Toledo - EECS - 4530
Laboratory 1 Computer Graphics I Getting Started with GLUT and OpenGLFall 2006 Purpose of Lab: The purpose of this lab is to get you to a point where you can compile and run OpenGL programs on the University systems The instructions are for the Sun
Toledo - EECS - 4530
Problem 1 Textures in OpenGL are attached to a surface using texture coordinates. Given the following texture give the texture coordinates to apply it to the polygon shoen to achieve the shading shown assuming we are using GL_REPLACE mode. Assuming
Toledo - EECS - 4530
Modeling Complex Objects It is necessary to link or group pieces together into an object at times. An example of this would be a human limb. You rotate your shoulder and the arm rotates as wellComputer GraphicsHierarchies of Objects September 19
Toledo - EECS - 4530
Orthographic ProjectionsComputer Graphics I September 12, 2005 Ignores the Z direction No perspective (distance makes no difference) Common in many types of Engineering drawing.How do we change the plane?Could change around the coordinates and dr
Toledo - EECS - 4530
Animation Techniques Flocking and Particle SystemsComputer GraphicsSeptember 28, 2005 We often need to have a group of objects but do not want to script or write the exact motion of the object. Originally occurred with the idea of flocking bird
Toledo - EECS - 4530
Syllabus EECS 4530: Computer GraphicsCatalog Description: 4 hours. Prerequisite: EECS 1500 or EECS 1530. An introduction to typical computer graphics systems and their operation. Supporting software will be generally discussed with examples given fr
Toledo - EECS - 4530
Note These slides were not actually used in class but do contain the information that we went over. I'm using them to summarize what we did go over.Computer GraphicsAugust 31, 2005Topics Compiling an application under Microsoft Windows using G
Toledo - EECS - 4530
To Run GLUT and OpenGL Using Borland1. Copy the glut32.dll and glut.h files down from the links page on the class website (http:/ /www.eecs.utoledo.edu/~jheuring/eecs4530.html) to the directory your project will be in. Open a Command or MS-DOS Windo
Toledo - EECS - 4530
Computer Graphics: Vector Operations & Object RepresentationSeptember 20, 2004OpenGL Vertex Arrays Rather than calling glVertex for each vertex we can use a more powerful method.Steps1. Enable the vertex processingglEnableClientState(GL_VERTE
Toledo - EECS - 4530
Test Coverage Red Book Chapter 2 State Management and Drawing Geometric Objects Primitives, normals, vertex arraysComputer GraphicsOctober 10, 2005 Chapter 3 Viewing Projection Transforms Viewing and modeling transforms Matrix Stacks C
Toledo - EECS - 4530
Test 1 Results Computer Graphics High Low Median Average 97 50's 82 78Test 1 ResultsCurrent Project A routine and class for NFF files is available on the Web Site It reads the format as specified.100 90 80Series1S c o re70 60 50 0 5
Toledo - EECS - 4530
Test Info Computer GraphicsDecember 9, 2002Monday December 16 5-7PM Here (PL 3100) Open book and notes Comprehensive but will include Discrete Techniques (Ch. 7) Particle Systems (Ch. 11.3)Some more B-Spline InfoWhy are there knots? And why more
Toledo - EECS - 4530
Computer GraphicsMore on InputlWe mentioned 3 modes last time Sample Event RequestSeptember 11, 2002Types of InputlPicks and Locations in OpenGLl lGenerally broken into 6 types locatorl l l l l lbrings back a location or
Toledo - EECS - 4530
Getting Started With OpenGLPrimitivesOpenGL supports a number of primitives that include: Points (GL_POINTS) Lines (GL_LINES), Line Strips or Polylines (GL_LINE_STRIP), and Line Loops (GL_LINELOOP) Triangles (GL_TRIANGLES), Triangle Strips (G
Toledo - EECS - 4530
What is an Attribute Primitives and AttributesSeptember 4, 2002nAn attribute changes the appearance of a primitive.n n n n nColor Line type (dotted, dashed, etc.) Line width filled or unfilled (polygon) italic, bold, or plain (text)Changing
Toledo - EECS - 052005
cone 10.0 0.0 10.0 2.0 10.0cylinder -10.0 0.0 10.0 2.0 10.0sphere -10.0 0.0 -10.0 3.0sphere 10.0 0.0 -10.0 3.0cylinder 100.0 0.0 0.0 3.0 10.0cylinder -100.0 0.0 0.0 3.0 10.0cylinder 0.0 0.0 100.0 3.0 10.0cylinder 0.0 0.0 -100.0 3.0 10.0
Toledo - EECS - 2000
Ethics Report - PrivacyTopics: Spam Free Speech or Invasion of Privacy? Is Online Speech Protected as Free Speech? RFID's and Privacy Is it Much Ado About Nothing? Satellite Photos Is Somebody Watching? GuidelinesAgain, 3-5 pages double
Toledo - EECS - 2000
Company ReportAssigned CompaniesIntel General Electric Hewlett-Packard Sun Microsystems Keithley Instruments First Energy Corporation IBM EE/CE/CS EE/CE EE/CE/CS CE/CS EE/CE EE/CE/CS EE/CE/CSReport GuidelinesShould be about 3-5 pages double spac
Toledo - EECS - 1570
Take a Grammar and Generate StringsProject 5March 31, 2005 Depending on the underlying complexity of the grammar this could generate some very convincing text. (Of course parts may be pure garbage as well)Derivations Using the grammar on the