Preview

Scheduling

Satisfactory Essays
Open Document
Open Document
1485 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Scheduling
OPERATING SYSTEMS
1

CPU Scheduling
What Is In This Chapter?


This chapter is about how to get a process attached to a processor.



It centers around efficient algorithms that perform well.



The design of a scheduler is concerned with making sure all users get their fair share of the resources.

5: CPU-Scheduling

2

CPU Scheduling
What Is In This Chapter?










Basic Concepts
Scheduling Criteria
Scheduling Algorithms
Multiple-Processor Scheduling
Real-Time Scheduling
Thread Scheduling
Operating Systems Examples
Java Thread Scheduling
Algorithm Evaluation
5: CPU-Scheduling

3

Scheduling
Concepts

CPU SCHEDULING
Multiprogramming

A number of programs can be in memory at the same time. Allows overlap of CPU and I/O.

Jobs

(batch) are programs without user interaction.

User

(time shared) are programs that may have user interaction.

Process

is the common name for both.

CPU - I/O burst cycle

Characterizes process execution, which alternates, between CPU and
I/O activity.
CPU times are generally much shorter than I/O times. that

run

Preemptive Scheduling
An interrupt causes currently running process to give up the CPU and be replaced by another process.
5: CPU-Scheduling

4

CPU SCHEDULING

The Scheduler

Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them
CPU scheduling decisions may take place when a process:
1.

Switches from running to waiting state

2.

Switches from running to ready state

3.

Switches from waiting to ready

4.

Terminates

Scheduling under 1 and 4 is nonpreemptive
All other scheduling is preemptive

5: CPU-Scheduling

5

CPU SCHEDULING

The Dispatcher

Dispatcher module gives control of the CPU to the process selected by the shortterm scheduler; this involves: switching context switching to user mode jumping to the proper location

You May Also Find These Documents Helpful

  • Powerful Essays

    Nt1330 Unit 1 Study Guide

    • 2629 Words
    • 11 Pages

    CPU scheduler is to selects from among the processes in memory ready to execute and allocates the CPU to one of them. CPU scheduling decisions may take place when a process:…

    • 2629 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    EE Schedule

    • 436 Words
    • 2 Pages

    Acme Home Improvements, Inc. was founded in 1982 in Raleigh, North Carolina, USA. By 2007 the company had 125 stores along the US East Coast from Florida to Maine. Its annual sales are currently $5,400,000,000 with $280,000,000 net income. The average store is about 100,000 square feet with an additional 10,000 square feet of outside garden center. The stores typically carry 40,000 different products from 5,000 vendors worldwide. Major US competitors include Ace, Home Depot, Lowe's and TruValue.…

    • 436 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Assighnment Schedule

    • 1117 Words
    • 6 Pages

    Assignment Schedule BIO100 Section 14429 Password for all lab practicals and exams biology100 Assignments are due at the beginning of each due date period but include an automatic extension until midnight Wednesday or 500 p.m. Saturday of the due date (lesson) periods listed below. I reserve the right to revise or rearrange this schedule.WeekTopic, Lesson and Text Assignments/ Due Date Periods Due date period 1 Mon-Wed Introduction Biology Today Lesson 1 Chapter 1 Send check-in email (Welcome Letter assignment) Syllabus Acknowledgement Quiz 1 Lab 1 (Safety, Scientific Method, Measurement) Due Midnight Wednesday due date period 1 Thu-SatEssential Chemistry for Biology and The Molecules of Life Lesson 2 Chapters 2 and 3 Quiz 2 Lab 2 (Biochemical Analysis and pH) Due 500 p.m. Saturday due date period 1 Due date period 2 Sun-Wed A Tour of the Cell Lesson 3 Chapter 4Quiz 3 Lab 3- (Microscopes and Microscopy) Consisting of Lab 3 Part 1 (Quiz) Lab 3 Part 2 Due Midnight Wednesday due date period 2 Thu-Sat The Working Cell Lesson 4 Chapter 5 Lab 4 (Cell Structure, Osmosis, and Diffusion) Lab Practical 1 (covering labs 1 through 4) Timed Password Protected Due 500 p.m. Saturday due date period 2 Due date period 3 Sun-WedPhotosynthesis Using Light to Make Food Lesson 5 Chapter 7 Quiz 4 Lab 5 (Photosynthesis) Due Midnight Wednesday due date period 3 Thu-Sat Cellular Respiration Obtaining Energy from Food Lesson 6 Chapter 6 WITHDRAWAL DEADLINE Close of business day Saturday of week 3 (according to your course start date) is the last day to withdraw from this course. After this date, no student is permitted to drop the course and will be carried through to the end of the course and assigned a letter grade (A B C D F).Exam 1 This exam is timed...be sure to watch the counter on the screen No Notes No Book No Resources Instructors do not give feedback or answer specific questions about the exam content. Due 500 p.m. Saturday due date period 3 Due date period…

    • 1117 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Project Schedule

    • 957 Words
    • 4 Pages

    Bureaucracy consists of an organization characterized by: specific job functions and a strict vertical hierarchical structure. Bureaucratic structure introduced a shift in the archetype of society just before the 19th century. Max Weber, known for his thoughts on capitalism and bureaucracy, contributed greatly to this archetype. The classic bureaucratic model, according to Weber, is described as having such characteristics as: political neutrality, vertical structure, specific job responsibilities, and well-written impersonal documentation, which is used to ensure functional reliability. (Weber M. , 1978) This essay will concentrate on the vertical structure and the rigid tasks and knowledge of the bureaucratic model, to show that an organization can become too big and rigid to be effective in daily tasks.…

    • 957 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Signatures below represent an agreement between the project sponsor(s), stakeholders, and project manager that all parties have read, understood and agreed on the schedule management plan for the LAW prototype bicycle. Changes to any this subsidiary plan will be managed by the project manager, executed and controlled by team members, and governed by the…

    • 456 Words
    • 2 Pages
    Good Essays
  • Better Essays

    Block Scheduling

    • 835 Words
    • 4 Pages

    A small debate has always been discussed when talking about block scheduling and traditional class periods. Some people like the longer classes while others prefer the traditional six shorter class periods. Everyone has their own opinions about block scheduling. Block scheduling can be really helpful to high school students in many ways. Although, block scheduling is a longer time spent in one class, it should be mandatory in all high schools rather than traditional class periods.…

    • 835 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    revised schedule

    • 310 Words
    • 2 Pages

    Alfred believes that by including a $5 dog toy with each shipment he can increase the number of purchasing customers in period 1 and each subsequent period by 25%. If this is true, what would be the new CLV?…

    • 310 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Your point regarding staffing and scheduling being two different aspects is salient. Scheduling is comprised of generating a roster of staff to meet the anticipated needs of a unit based on the historical census and acuity information of that unit (Ellerbe, 2013). Scheduling of staff is based on their full time equivalent (FTE). However, staffing and scheduling must take into consideration the hours of operation, most health care organizations operate on a 24/7 basis and filling a 7-day need will require more than a single FTE. In addition, consideration for sick calls, FMLA, and vacation time must be taken into account. Furthermore, the acuity of patients may fluctuate and influence staffing requirements (Baker & Baker, 2014). The staffing…

    • 142 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    operating system

    • 1174 Words
    • 5 Pages

    Multithreading; this refers to the ability of an os to support multiple, concurrent paths of…

    • 1174 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Alternating Schedules

    • 298 Words
    • 2 Pages

    Students past the eighth grade should be allowed to choose their times to go to school; the college does it, why shouldn’t we do the same? Alternating schedules could gain the students’ interest in school. We wouldn’t have the same bring schedule every day.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Time Management

    • 267 Words
    • 2 Pages

    What major personal, professional, or academic obstacles do you have to overcome to be successful in school? What are some ways you might work around these challenges?…

    • 267 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Block Scheduling

    • 8717 Words
    • 35 Pages

    As administrators and educators have researched ways to use time more productively, major changes have been occurring in high school schedules. Within the context of education reform, one of the attributes of the traditional educational system that has been a focus for systemic change has been the use of time (Trenta & Newman, 2002). In Nichols’ (2005) research, it’s noted that one of the most important concerns expressed in A Nation at Risk report was related to how effectively classroom instruction time was being utilized in America’s schools. Evans, Tokarczyk, Rice & McCray (2002) indicated that this report offered many recommendations for school reform initiatives, including restructuring for more effective use of school time and increased concentration on core academic subjects. According to Lawrence and McPherson (2000), administrators and teachers in America have been criticized regarding the poor use of school time since the 1980’s (p. 178).…

    • 8717 Words
    • 35 Pages
    Powerful Essays
  • Satisfactory Essays

    Operating Systems

    • 1023 Words
    • 5 Pages

    12)The phrase "control is passed to a job" means that the processor is now fetching and executing instructions from the monitor program. (False)…

    • 1023 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    The following paper will discuss the memory requirements in a computer system. Proper amount of memory must be available to minimize the amount of processor idle time while input output devices are preparing to respond.…

    • 392 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Our Schedules

    • 481 Words
    • 2 Pages

    In the essay, “Our Schedules, Ourselves”, author Jay Walljasper states how stressful everyone’s schedules are in today’s generation. People strive to finish their obligations in their families and work with a little time for recreation. The author informs his readers what the effects of our schedules are, furthermore, explaining what we could do to manage our time. The essay was effective because anecdotes are used, the effects was supported with examples and the author persuade the readers how politics is also a part of our crowded schedules.…

    • 481 Words
    • 2 Pages
    Satisfactory Essays

Related Topics