Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Difference between Virtual Memory and Job Pool

  • Last Updated : 19 Aug, 2021

Virtual Memory :
Virtual memory is a memory management technique in the operating system that gives users the illusion that they are working with memory that is equal to the memory of secondary storage medium ( that is very large memory). Thus, this allows a programmer to write a program that requires more memory than the actual memory.

Job Pool :
A job pool is a type of data structure in a batch processing system where various jobs are queued to get implemented when all the resources are made available to the system. It decides which job will be executing next.
 

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

The main idea here is that whenever a new job is created, it is stored in the job pool and when it becomes ready to be executed, it is required to be stored in the physical memory. But when there is a very large memory required then only a part of the main memory gets executed while the remaining part of the memory gets stored in the virtual memory.



Both the virtual memory and the job pool are used to store processes in hard disk for some time and then later loading them into the main memory.

Differences between Virtual Memory and Job Pool are as follows :

Virtual Memory

Job Pool

Virtual memory is a memory management technique that gives the users an illusion of infinite memory Job pool is a program of the operating system that is located in operating system and stores newly created processes while they are waiting for their respective resources.
The concept behind virtual memory is that it creates an illusion that we are working with a very large memory when actually we are using only a part of the memory.The concept of the job pool states that a newly created process is stored in a pool called a job pool, where these processes wait for the resources to get allocated in order to get executed.
Virtual Memory represents the address generated by the CPU virtually.Job pool represents the pool from which the long-term scheduler chooses which job will be executed first.  
While loading processes from the hard disk to the main memory, virtual memory is not required if there is no need of infinite memory.While loading processes from the hard disk to the main memory, a job pool is always required to store a newly created process. 
A part of the process needs to be in memory for executionA newly created process is stored here, waiting for required resources

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!