what is swapping in operating system

what is swapping in operating system?

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.

what is swapping in operating system

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

  • Wer

    Thanks :)

  • Kompally-mahesh

    simple and good clarification
     

  • Aaliyaathomas

    awsome ..!!! great work done and very clear and concise explanation 

  • Behalashima

    easy and understandable answer….thanks

  • ARVROCKSTUNN

    EASY AND UNDERSTANDABLE………..GOOD JOB!!!

  • Samiran Dude3

    discuss broadly………..

  • Hanish

    thanx

  • Aby

    sweet discriptionnnnnnnnnnnn!

  • Mangal

    wwr
    [p

  • Pathaksolu1995

    good answer at the swapping in the clear sentence
     

  • znas

    very clear, do you have C code for the saem?

  • Jo I4real

    thanks 4 this.
    it is explicit.

  • Prernaagrawal95

    wat is this 
    give me proper answer

  • Kazim01011

    fuck u

  • Dawn

    Thanks buddy. Its’ the same as I thought.
    Now I can rectify my teacher.

  • Zeeshan

    Nice sir

  • Julius BK

    Good info got to realize it!!!!!

  • kaiser bhat

    now i got swapping…thnx

  • maurice muthamma

    thats it

  • http://www.facebook.com/vijay.rackstar2 Vijay Rockstar

    its good answer….thanks