CORNELL CS 414 - Study References (35 pages)

Previewing pages 1, 2, 16, 17, 18, 34, 35 of 35 page document View the full content.
View Full Document

Study References



Previewing pages 1, 2, 16, 17, 18, 34, 35 of actual document.

View the full content.
View Full Document
View Full Document

Study References

23 views


Pages:
35
School:
Cornell University
Course:
Cs 414 - Systems Prog & Operating Sys
Systems Prog & Operating Sys Documents

Unformatted text preview:

CPU Scheduling Announcements CS 414 Homework next Wednesday Feb 7th CS 415 initial design documents due TODAY Friday Feb 2nd Project due following Monday February 12th Everyone should have access to CMS http cms3 csuglab cornell edu Check and contact me hweather cs cornell edu or Bill Hogan whh cs cornell edu today if you do not have access to CMS Also everyone should have CSUGLab account Contact Bill or I if you do not Review Threads Each thread has its own PC registers and stack pointer But shares code data accounting info address space Pthreads POSIX Portable Operating System Interface for uniX A POSIX standard IEEE 1003 1c API for thread creation and synchronization API specifies behavior of the thread library implementation is up to development of the library Common in UNIX operating systems Solaris Linux Mac OS X Windows XP Threads Implements the one to one mapping Each thread contains A thread id Register set Separate user and kernel stacks Private data storage area The register set stacks and private storage area are known as the context of the threads Review Threads Linux Threads Linux refers to them as tasks rather than threads Thread creation is done through clone system call clone allows a child task to share the address space of the parent task process Java Threads Java threads are managed by the JVM Java threads may be created by Extending Thread class Implementing the Runnable interface Goals for Today CPU Schedulers Scheduling Algorithms Algorithm Evaluation Metrics Algorithm details Thread Scheduling Multiple Processor Scheduling Real Time Scheduling Schedulers Process migrates among several queues Device queue job queue ready queue Scheduler selects a process to run from these queues Long term scheduler load a job in memory Runs infrequently Short term scheduler Select ready process to run on CPU Should be fast Middle term scheduler aka swapper Reduce multiprogramming or memory consumption Process Scheduling process and thread used interchangeably



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view Study References and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Study References and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?