Chapter 9: Main Memory (Ch 9 Silberschatz) Flashcards

1
Q

Process instructions and the data they operate on must be in memory to be executed. However, a process, or a portion of a process, can be __________ temporarily out of memory to a __________ and then brought back into memory for continued execution

A

Process instructions and the data they operate on must be in memory to be executed. However, a process, or a portion of a process, can be swapped temporarily out of memory to a backing store and then brought back into memory for continued execution

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

Standard swapping
involves moving

A

Standard swapping involves moving entire processes between main memory and a backing store.

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

Swapping with paging

Standard swapping was used in traditional UNIX systems, but it is generally no longer used in contemporary operating systems because the amount of time required to move entire processes between memory and the backing store is prohibitive. (An exception to this is Solaris, which still uses standard swapping, however only under dire circumstances when available memory is extremely low.)

Most systems, including Linux and Windows, now use a variation of

A

swapping in which pages of a process—rather than an entire process—can be swapped.

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

Swapping on mobile systems

Most operating systems for PCs and servers support swapping pages. In contrast, mobile systems typically do not support swapping in any form. Mobile devices generally use

A

flash memory rather than more spacious hard disks for nonvolatile storage. The resulting space constraint is one reason why mobile operating-system designers avoid swapping.

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

Instead of using swapping, when free memory falls below a certain threshold, Apple’s IOS

A

asks applications to voluntarily relinquish allocated memory.

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

Android adopts a strategy similar to that used by IOS. It may terminate a process if insufficient free memory is available. However, before terminating a process, Android

A

writes its application state to flash memory so that it can be quickly restarted.

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

backing store:

A

The secondary storage area used for process swapping.

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