Skip to main content

Chapter 4 - Type of scheduling processes




4.1.2.Describe the various type of scheduling processes:

 

 

http://voer.edu.vn/file/1895

 

Scheduling and Queuing :-

 

  • Processor management is concerned with the internal priorities of programs already in     memory.   
  • When one program finishes processing and space becomes available, a queuing routine and a scheduler are involved to load a program into memory based on the program's external priority.
  • Once a program is in the memory, the dispatcher uses the program’s internal priority to determine its access to the processor.


    Interrupts. An interrupt is an electronic signal. Hardware senses the signal, saves key control   information for the currently executing program, and starts the operating system’s interrupt handler routine.


     

    Types of Scheduling :- 

     

    • Long term scheduling is determine which programs admitted to system for processing and controls degree of multiprogramming.
    • Medium term scheduling is part of swapping function between main memory and disk - based on how many processes the OS wants available at any one time.
    • Short term scheduling is executes most frequently, to decide which process to execute next – Invoked whenever event occurs that interrupts current process or provides an opportunity to preempt current one in favor of another.
       

Comments

Popular posts from this blog

Define Swapping technique which is usually used in memory management

  Define Swapping technique which is usually used in memory management   Swapping is a simple memory/process management technique used by the operating system(os) to increase the utilization of the processor by moving some blocked process from the main memory to the secondary memory(hard disk);thus forming a queue of temporarily suspended process and the execution continues with the newly arrived process.   After performing the swapping process, the operating system has two options in selecting a process for execution Swapping is a mechanism in which a process can be swapped temporarily out of main memory to a backing store , and then brought back into memory for continued execution. Backing store is a usually a hard disk drive or any other secondary storage which fast in access and large enough to accommodate copies of all memory images for all users. It must be capable of providing direct access to these memory images. Major time cons...

Operating Systems Definition and the Classification of OS

             OPERATING SYSTEMS ( OS ) What is an operating system? An operating system (sometimes abbreviated as "OS") is the program that, after being initially loaded into the computer by a boot program, manages all the other programs in a computer. The other programs are called applications or application programs. The application programs make use of the operating system by making requests for services through a defined application program interface (API). In addition, users can interact directly with the operating system through a user interface such as a command language or a graphical user interface (GUI). An operating system performs these services for applications:     In a multitasking operating system where multiple programs can be running at the same time, the operating system determines which applications should run in what order and how much time should be allowed for each application before g...

3.1.1 Identify Between Resident And Transient Routines

Memory Management Memory management is concerned with managing: The computer’s available pool of memory Allocating space to application routines and making sure that they do not interfere with each other. 3.1.1 Identify between resident and transient routines The operating system is a collection of software routines. Resident routines Transient routines Routines that directly support application programs as they run Stored on disk and read into memory only when needed Example: routine that control physical I/O Example: routine that formats disks The operating system occupies low memory beginning with address 0. Key control information comes first followed by the various resident operating system routines. The remaining memory, called the transient area, is where application programs and transient operating system routines are loaded. Resident & transient routines structure...