swap memory space and swapping in OS
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 :
*Operating System can admit newly created process (OR) *operating system can activate suspended process from the swap memory.
Conclusion : If you have ever used any Linux based operating system then at the time of installation …Did you see an options/warning for the need of swap memory space?? If you have enough primary memory(RAM) e.g greater than 2GB then you may need not any swapping memory space for desktop users(I am using Ubuntu 10.04 LTS and total RAM is 4GB so I am not feeling any trouble without swap memory space) and some times using swap memory may slow down your computer performance.
Credit : Operating Systems…by William Stallings
Thanks 🙂
simple and good clarification
Â
awsome ..!!! great work done and very clear and concise explanationÂ
easy and understandable answer….thanks
EASY AND UNDERSTANDABLE………..GOOD JOB!!!
discuss broadly………..
thanx
sweet discriptionnnnnnnnnnnn!
wwr
[p
good answer at the swapping in the clear sentence
Â
very clear, do you have C code for the saem?
thanks 4 this.
it is explicit.
wat is thisÂ
give me proper answer
fuck u
Thanks buddy. Its’ the same as I thought.
Now I can rectify my teacher.
Nice sir
Good info got to realize it!!!!!
now i got swapping…thnx
thats it
its good answer….thanks