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

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

Processor Management
     
     

The heart of managing the processor comes down to two related issues:

 

·         Ensuring that each process and application receives enough of the processor's time to function properly

·         Using as many processor cycles as possible for real work

 

The basic unit of software that the operating system deals with in scheduling the work done by the processor is either a process or a thread, depending on the operating system.

It's tempting to think of a process as an application, but that gives an incomplete picture of how processes relate to the operating system and hardware. The application you see (word processor, spreadsheet or game) is, indeed, a process, but that application may cause several other processes to begin, for tasks like communications with other devices or other computers. There are also numerous processes that run without giving you direct evidence that they ever exist. For example, Windows XP and UNIX can have dozens of background processes running to handle the network, memory management, disk management, virus checks and so on.

 

A process, then, is software that performs some action and can be controlled -- by a user, by other applications or by the operating system.

 

It is processes, rather than applications, that the operating system controls and schedules for execution by the CPU. In a single-tasking system, the schedule is straightforward. The operating system allows the application to begin running, suspending the execution only long enough to deal with interrupts and user input.

 

Interrupts are special signals sent by hardware or software to the CPU. It's as if some part of the computer suddenly raised its hand to ask for the CPU's attention in a lively meeting. Sometimes the operating system will schedule the priority of processes so that interrupts are masked -- that is, the operating system will ignore the interrupts from some sources so that a particular job can be finished as quickly as possible. There are some interrupts (such as those from error conditions or problems with memory) that are so important that they can't be ignored. These non-maskable interrupts (NMIs) must be dealt with immediately, regardless of the other tasks at hand.

 

While interrupts add some complication to the execution of processes in a single-tasking system, the job of the operating system becomes much more complicated in a multi-tasking system. Now, the operating system must arrange the execution of applications so that you believe that there are several things happening at once. This is complicated because the CPU can only do one thing at a time. Today's multi-core processors and multi-processor machines can handle more work, but each processor core is still capable of managing one task at a time.

 

In order to give the appearance of lots of things happening at the same time, the operating system has to switch between different processes thousands of times a second. Here's how it happens:

 

·         A process occupies a certain amount of RAM. It also makes use of registers, stacks and queues within the CPU and operating-system memory space.

·         When two processes are multi-tasking, the operating system allots a certain number of CPU execution cycles to one program.

·         After that number of cycles, the operating system makes copies of all the registers, stacks and queues used by the processes, and notes the point at which the process paused in its execution.

·         It then loads all the registers, stacks and queues used by the second process and allows it a certain number of CPU cycles.

·         When those are complete, it makes copies of all the registers, stacks and queues used by the second program, and loads the first program.

This article was published on Monday 27 April, 2009.
Article Rating:
Votes: 0
Easy Processor Management
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.
 

Customer Information for Processor Management:

Ask your question about Processor Management
E-Mail:    
Enter Code
Random Products for Processor Management
VERMONT VT Special Military Power of Attorney for Automobile Sale Form Download $9.99
VERMONT VT Special Military Power of Attorney for Automobile Sale Form Download VERMONT VT Special Military Power of Attorney for Automobile Sale Form Download
buy now | more info
WEST VIRGINIA WV Certificate of Final Completion Form Download $9.99
WEST VIRGINIA WV Certificate of Final Completion Form Download MDOFPC for the month of May presents to you the WEST VIRGINIA WV Certificate of Final Completion Form Download
buy now | more info
Sony VGC-VA10G 1 Year Email Technical Computer Support Service $29.99
Sony VGC-VA10G 1 Year Email Technical Computer Support Service Sony VGC-VA10G 1 Year Email Technical Computer Support Service
buy now | more info
Dell Dimension 8200 Upgrade to 1TB 1000GB Hard Drive $150.00
Dell Dimension 8200 Upgrade to 1TB 1000GB Hard Drive MDOFPC for the month of May presents to you the Dell Dimension 8200 Upgrade to 1TB 1000GB Hard Drive
buy now | more info
HP Compaq nc8430 Upgrade to 802.11N Wireless Card $75.00
HP Compaq nc8430 Upgrade to 802.11N Wireless Card HP Compaq nc8430 Upgrade to 802.11N Wireless Card
buy now | more info
Sony VGC-LT36E Hourly Computer Repair Service $35.00
Sony VGC-LT36E Hourly Computer Repair Service MDOFPC for the month of May presents to you the Sony VGC-LT36E Hourly Computer Repair Service
buy now | more info
OREGON OR Assignment of Promissory Note and Liens Form Download $9.99
OREGON OR Assignment of Promissory Note and Liens Form Download OREGON OR Assignment of Promissory Note and Liens Form Download
buy now | more info
Gateway DX2710 1 Hour Remote Technical Computer Support Service $35.00
Gateway DX2710 1 Hour Remote Technical Computer Support Service MDOFPC for the month of May presents to you the Gateway DX2710 1 Hour Remote Technical Computer Support Service
buy now | more info
 
AFFILIATE INFORMATION
Affiliate Information
Affiliate Program FAQ
Affiliate Log In
 
 
GENERAL INFORMATION
* FAQ Section
* Gift Voucher FAQ
* Shipping Overview
* Privacy Notice
* Conditions
* Contact Us
* Request for Quote
 
 
SUPPORT
* Create Support Ticket
* Support Forums
* Installation Manuals
 
 
Download Software
* Download Overview
* Download Instructions
* Free Download Tools
 
 
Web Hosting Easy Misc
* Custom Computer 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
 
  Processor Management  
Processor Management - 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 MD of PC Doctor of Computers. All rights reserved 2012
Please Contact: MDofPC@gmail.comor 412-250-7965 for sales or support
Fax: 412-568-0010