Virtual memory Flashcards

1
Q

What is virtual memory?

A

it is an allocated area of secondary storage device which allows large programs to be run when there is insufficient memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does virtual memory work?

A

uses backing store as additional memory for temporary storage

swaps pages using paging between RAM and backing store to make space in RAM for pages needed

holds part of the program not currently in use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What problems arise with virtual memory?

A

disk threshing -
when the computer tends to freeze when due to pages being swapped to frequently between main memory and the hard disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does virtual memory use the process of paging/swapping?

A

moving data between RAM and virtual memory

removes data that isnt needed in RAM and replaces it with one that is

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Advantages

A

inexpensive - does not require any physical setting up

supports multi-tasking - allows users to utilize more of RAM than hardware permits. goes beyond physical limits and can help processes that demands more memory than system can manage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Disadvantages

A

RAM has higher speeds than virtual memoru when operated on systems internal storage

due to page swapping, applications take longer to execute. disk threshing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly