49 49 votes Where does the swap space reside? RAM Disk ROM On-chip cache Operating System gatecse-2001 operating-system easy virtual-memory + – Kathleen 18.8k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply shashankrustagi commented Jan 5, 2021 reply Follow flag As per Galvin, swap space resides in DISK direct question from GALVIN 15 15 replyShare om_30 commented Aug 22 reply Follow flag The correct option is B. Disk 1 1 replyShare legend_of_cse commented 2 days ago reply Follow flag References : Galvin References : Tanenbaum 0 0 replyShare Please log in or register to add a comment.
Best answer 74 74 votes Option (B) is correct. Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space. Swap space temporarily holds memory pages that are inactive. Swap space is used when your system decides that it needs physical memory for active processes and there is insufficient unused physical memory available. If the system happens to need more memory resources or space, inactive pages in physical memory are then moved to the swap space therefore freeing up that physical memory for other uses. Note that the access time for swap is slower therefore do not consider it to be a complete replacement for the physical memory. Swap space can be a dedicated swap partition (recommended), a swap file, or a combination of swap partitions and swap files. ManojK answered Apr 7, 2016 • edited Jul 11, 2018 by kenzou ManojK comment Share Follow See all 4 Comments 4 4 Comments reply srestha commented Jul 12, 2018 reply Follow flag if entire page is swapped, that is done by swapper, but if only one-one page swapped (like FIFO, LRU) that is done by pager 3 3 replyShare Akshtyagi8 commented Nov 12, 2018 reply Follow flag What is the difference between entire page or one-one page? 5 5 replyShare shikhar500 commented Dec 28, 2022 reply Follow flag is backing store same as swap space ? 0 0 replyShare Sandy_05 commented Jul 6 reply Follow flag Swap space is a part of the backing store. 0 0 replyShare Please log in or register to add a comment.
19 19 votes ans is B. generally swap space is 2*RAM, not compulsorily always but generally. inactive pages of memory are moved to swap memory. jayendra answered Dec 31, 2014 jayendra comment Share Follow 0 reply Please log in or register to add a comment.
15 15 votes Swap space is an area on disk that temporarily holds a process memory image. When physical memory demand is sufficiently low, process memory images are brought back into physical memory from the swap area. Having sufficient swap space enables the system to keep some physical memory free at all times. Therefore B. Arpit Tripathi answered Apr 7, 2016 Arpit Tripathi comment Share Follow 0 reply Please log in or register to add a comment.