Resource allocation is the process of appointing and handling assets in a way that supports an organization’s tactical objectives. In computer, resource allocation is required for any application to be operated on the system. When the individual opens up any program this will be counted as a process, and for that reason calls for the computer system to allocate specific resources for it to be able to run.
It is useful to review resource allocation under 2 headings: the mechanisms and the policies.
By mechanisms we imply the nuts and bolts facet of how allocation is made. This consists of such things as data structures for defining the state of resources, methods for making sure the special use of unshareable resources, and means for queueing resource requests which could not be approved right away.
The policies control the methods which the mechanisms are used. They are concerned with the knowledge of giving requests even when the ideal resources are available. This entails the questions of deadlock and system equilibrium: a reckless allocation may bring about a situation where some processes could not continue or where the system is overloaded relative to one particular class of resource.
On a computer with multiple processors various processes can be allocated to various processors to ensure that the computer system can really multitask. Some programs, such as Adobe Photoshop and YafRay, which could need extreme processing power, have been coded so that they have the ability to operate on more than one processor at the same time, hence running quicker and effectively.