CrazyEngineers
  • Whats are the disadvantages of swapping in operating system?

    Updated: Oct 26, 2024
    Views: 1.9K
    What can be the disadvantages of swapping in the operating system?
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • rishi0922

    MemberSep 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..
    Are you sure? This action cannot be undone.
    Cancel
  • Leo

    MemberSep 21, 2010

    At very practicle say is that swapping doesn't really have any disadvantage.
    Are you sure? This action cannot be undone.
    Cancel
  • Manish Goyal

    MemberSep 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 .
    Are you sure? This action cannot be undone.
    Cancel
  • Morningdot Hablu

    MemberSep 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).
    Are you sure? This action cannot be undone.
    Cancel
  • Leo

    MemberSep 22, 2010

    mohit007kumar00
    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).
    I agree with you.
    Are you sure? This action cannot be undone.
    Cancel
  • Leon Lipschitz

    MemberAug 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
    Are you sure? This action cannot be undone.
    Cancel
  • pratap singh, upendra

    MemberSep 3, 2015

    Leon Lipschitz
    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
    Of course, that is the limitation (not a disadvantage though)
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register