Memory Management With OS These flashcards cover paging, segmentation and virtual memory 0.0 / 5 ? ComputingOperating systemsASOCR Created by: lordHanCreated on: 26-11-17 14:17 What is paging? When RAM is split into fixed size chunks called pages, and each task/program is split over several pages. 1 of 11 What is segmentation? When RAM is split into chunks, of variable sizes, called segments, and each task/program is split over several segments. 2 of 11 What kind of fragmentation happens with paging? Internal - a program may not fit into a set amount of pages exactly, leaving part of a page unfilled. 3 of 11 What kind of fragmentation happens with segmentation? External - not all of the reserved areas of RAM may be used, as each will only store a certain type of data. 4 of 11 What kind of sections are reserved with segmentation? Often the RAM is split up so it has a code, a data and a stack section. 5 of 11 What does non-contiguous mean? It means that not all the parts of a program will be next to each other. 6 of 11 Which out of paging and segmentation considers logical divisions? Segmentation - this means it will often keep parts of a program such as functions together. 7 of 11 What is virtual memory? An area of the hard disk that acts as a holding area of pages from RAM. 8 of 11 What is virtual memory used for? It is used to store currently unused pages within RAM when the amount of memory space required exceeds the amount available. 9 of 11 How does virtual memory work? Pages are swapped between the RAM and the virtual memory as necessary e.g. a page will be swapped out of virtual memory when it is required. 10 of 11 What is disk thrashing? When continual swapping between the RAM and the virtual memory occurs, and slows down the computer. 11 of 11
Comments
No comments have yet been made