SEARCH HOSTING SO EASY
BASKET
0 Items
($0)
CLICK BELOW FOR LIVE CHAT
TESTED 08 FEB
 
Main Categories
   
Easy SSL Cert
 

Web Hosting Easy is encrypted with 128bit ssl for secure credit card transactions.
 
Process Control Block

All of the information needed to keep track of a process when switching is kept in a data package called a process control block. The process control block typically contains:

 

·         An ID number that identifies the process

·         Pointers to the locations in the program and its data where processing last occurred

·         Register contents

·         States of various flags and switches

·         Pointers to the upper and lower bounds of the memory required for the process

·         A list of files opened by the process

·         The priority of the process

·         The status of all I/O devices needed by the process

 

Each process has a status associated with it. Many processes consume no CPU time until they get some sort of input. For example, a process might be waiting for a keystroke from the user. While it is waiting for the keystroke, it uses no CPU time. While it's waiting, it is "suspended". When the keystroke arrives, the OS changes its status. When the status of the process changes, from pending to active, for example, or from suspended to running, the information in the process control block must be used like the data in any other program to direct execution of the task-switching portion of the operating system.

 

This process swapping happens without direct user interference, and each process gets enough CPU cycles to accomplish its task in a reasonable amount of time. Trouble can begin if the user tries to have too many processes functioning at the same time. The operating system itself requires some CPU cycles to perform the saving and swapping of all the registers, queues and stacks of the application processes. If enough processes are started, and if the operating system hasn't been carefully designed, the system can begin to use the vast majority of its available CPU cycles to swap between processes rather than run processes. When this happens, it's called thrashing, and it usually requires some sort of direct user intervention to stop processes and bring order back to the system.

 

One way that operating-system designers reduce the chance of thrashing is by reducing the need for new processes to perform various tasks. Some operating systems allow for a "process-lite," called a thread, that can deal with all the CPU-intensive work of a normal process, but generally does not deal with the various types of I/O and does not establish structures requiring the extensive process control block of a regular process. A process may start many threads or other processes, but a thread cannot start a process.

 

So far, all the scheduling we've discussed has concerned a single CPU. In a system with two or more CPUs, the operating system must divide the workload among the CPUs, trying to balance the demands of the required processes with the available cycles on the different CPUs. Asymmetric operating systems use one CPU for their own needs and divide application processes among the remaining CPUs. Symmetric operating systems divide themselves among the various CPUs, balancing demand versus CPU availability even when the operating system itself is all that's running.

 

If the operating system is the only with execution needs, the CPU is not the only resource to be scheduled. Memory management is the next crucial step in making sure that all processes run smoothly.

 

This article was published on Monday 27 April, 2009.
Article Rating:
Votes: 0
Easy Process Control Block
Name:    
E-Mail:    
Website:
Rating:  
Rating Saved


Please note that your review for may take up to 24 hours to process and may not be immediately viewable.
 
Random Products for Process Control Block
Acer Aspire 4730ZG Upgrade to DVD Burner $75.00
Acer Aspire 4730ZG Upgrade to DVD Burner Acer Aspire 4730ZG Upgrade to DVD Burner
buy now | more info
IOWA IA Change Work Order Form Download $9.99
IOWA IA Change Work Order Form Download for the month of February presents to you the IOWA IA Change Work Order Form Download
buy now | more info
Asus K72 Upgrade to 1TB 1000GB Hard Drive $150.00
Asus K72 Upgrade to 1TB 1000GB Hard Drive Asus K72 Upgrade to 1TB 1000GB Hard Drive
buy now | more info
HP Pavilion p6650z AMD Athlon II Dual Core 3.0GHz 8GB 1TB LightScribe SuperMulti DVDRW Windows 7 Desktop Clone desktop $451.79
HP Pavilion p6650z AMD Athlon II Dual Core 3.0GHz 8GB 1TB LightScribe SuperMulti DVDRW Windows 7 Desktop Clone Computer for the month of February presents to you the HP Pavilion p6650z AMD Athlon II Dual Core 3.0GHz 8GB 1TB LightScribe SuperMulti DVDRW Windows 7 Desktop Clone desktop
buy now | more info
WEST VIRGINIA WV General Affidavits Form Download $9.99
WEST VIRGINIA WV General Affidavits Form Download WEST VIRGINIA WV General Affidavits Form Download
buy now | more info
Sony PCV-RX640 90 Day Email Technical desktop Advice Service $9.99
Sony PCV-RX640 90 Day Email Technical Computer Support Service for the month of February presents to you the Sony PCV-RX640 90 Day Email Technical desktop Advice Service
buy now | more info
HP Workstation xw4550 Add 1GB Ram Memory $40.00
HP Workstation xw4550 Add 1GB Ram Memory HP Workstation xw4550 Add 1GB Ram Memory
buy now | more info
Emachine C3060 Upgrade to 500GB Hard Drive $100.00
Emachine C3060 Upgrade to 500GB Hard Drive for the month of February presents to you the Emachine C3060 Upgrade to 500GB Hard Drive
buy now | more info
 
AFFILIATE INFORMATION
Affiliate Information
Affiliate Program FAQ
Affiliate Log In
 
 
GENERAL INFORMATION
* FAQ Section
* Gift Voucher FAQ
* Shipping Overview
* Privacy tell
* Conditions
* Contact Us
* Request for Quote
 
 
Advice
* Create Advice Ticket
* Advice Forums
* Installation Manuals
 
 
Download
* Download Overview
* Download Instructions
* Free Download Tools
 
 
Web Hosting Easy Misc
* Custom desktop Packages
* ShopOnTheWeb Site Map
* Web Hosting Easy Overview Blog
* RSS feed for best sellers
* RSS feed for new products
* RSS feed for categories
* ROR feed for Products
 
  Process Control Block  
Process Control Block - Web Hosting Easy
We work hard to offer secure online credit card processing, we also accept phone and email orders.
Web Hosting Easy is a subsidiary of Custom Computers LLC. All rights reserved 2012
Please Contact: @gmail.comor 412-250-7965 for sales or Advice
Fax: 412-568-0010