Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • rishi0922

    @rishi0922-a2xTAa • Sep 21, 2010

    Swapping is a mechanism in which a process can be swapped temporarily out of memory to a backing storage and then brought back into memory for continued execution.
    The operating system copies as much data as possible into main memory, and leaves the rest on the disk. When the operating system needs data from the disk, it exchanges a portion of data in main memory with a portion of data on the disk.

    I think this is the very good advantage in operating system..

  • Leo
    Leo

    @leo-ZJQlmh • Sep 21, 2010

    At very practicle say is that swapping doesn't really have any disadvantage.

  • Manish Goyal

    @manish-r2Hoep • Sep 21, 2010

    I think it depends on efficiency of algorithm

    If we consider demand paging then it may lead to increase in page faults

    but if we consider page replacement algorithms then there will be less page faults

    overall we should talk about disadvantage of algorithm we are using not swapping .

  • Morningdot Hablu

    @morningdot-6Xuj4M • Sep 21, 2010

    From the posts it looks like it is thrashing which is the process of using virtual memory.
    Am i correct guys ?
    It is right to say that there in no effective disadvantages of swapping.
    The only disadvantage of swapping occurs if your system has to rely too heavily on virtual memory, you will notice a significant performance drop.
    But this disadvantages doesn't considered in todays PC(which came with at least 1 or 2 GB RAM).

  • Leo
    Leo

    @leo-ZJQlmh • Sep 22, 2010

    mohit007kumar00From the posts it looks like it is thrashing which is the process of using virtual memory.
    Am i correct guys ?
    It is right to say that there in no effective disadvantages of swapping.
    The only disadvantage of swapping occurs if your system has to rely too heavily on virtual memory, you will notice a significant performance drop.
    But this disadvantages doesn't considered in todays PC(which came with at least 1 or 2 GB RAM).

    I agree with you.

  • Leon Lipschitz

    @leon-lipschitz-ZqFyrj • Aug 15, 2015

    Question
    If you activate page swopping is there not the disadvantage that if the power goes off you will loose all the information that you a r e working o

  • pratap singh, upendra

    @pratap-singh-6xlmve • Sep 3, 2015

    Leon LipschitzQuestion
    If you activate page swopping is there not the disadvantage that if the power goes off you will loose all the information that you a r e working o

    Of course, that is the limitation (not a disadvantage though)