انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

CPU Scheduling

Share |
الكلية كلية تكنولوجيا المعلومات     القسم قسم شبكات المعلومات     المرحلة 4
أستاذ المادة مهدي نصيف جاسم الشمري       4/13/2011 7:01:23 AM

CPU Scheduling

(CH6)

 

In a uniprocessor system, only one process can run at a time; any others must wait

until the CPU is free and can be rescheduled. The objective of multiprogramming is to

have some process running at all times, to maximize CPU utilization. The idea is

relatively simple. A process is executed until it must wait, typically for the

completion of some I/O request. In a simple computer system, the CPU then just sits

idle. All this waiting time is wasted; no useful work is accomplished. With

multiprogramming, we try to use this time productively. Several processes are kept in

memory at one time. When one process has to wait, the operating system takes the

CPU away from that process and gives the CPU to another process. This pattern

continues. Every time one process has to wait, another process can take over the use

of the CPU.Scheduling of this kind is a fundamental operating-system function. Almost all

computer resources are scheduled before use. The CPU is, of course, one of the

primary computer resources. Thus, its scheduling is central to operating-system

design

.


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم