OS-Process Scheduling

Unix follows priority scheme with a dynamic priority value. A round-robin method is used both to periodically re compute the priorities and ...

Unix follows priority scheme with a dynamic priority value. A round-robin method is used both to periodically re compute the priorities and to re-schedule processes. A system of multilevel feedback queues is used to facilitate selection of lowest priority process.

The actual priority value for user processes is an integer in the range 0 to 60, with higher values being of lower priority ie., 0 is the highest priority. By default, all user processes are assigned the same initial priority value of 20, but this can be adjusted be means of the nice command which can be used by normal users only to reduce the priority.

The current version of Unix system has introduced a new system of scheduling to enable it to be used in a real time environment. Processes are grouped into 3 classes, namely system time sharing and real time classes. The system & time sharing processes are treated in normal fair – share fashion, but the real time processes operate on a strict preemptive priority basis. If a real time process wants to run, the higher priority one succeds. An additional command prwentl(priority control) is used to manage processes within these classes.

A Unix process is viewed as consisting of three segments, called respectively the text, data & stack segments. The text segment corresponds to the code and contains the executable instructions of the process. The data segment holds the data areas used by the process the stack segment is uded for certain typed of dynamic data. Several processes can share one segment, providing either shared use of a procedure or a means of communicating using a common data area.

Best Online Tutorials | Source codes | Programming Languages: OS-Process Scheduling
OS-Process Scheduling
Best Online Tutorials | Source codes | Programming Languages
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content