M9: Introduction to Memory Management Flashcards

1
Q

Memory management:

A

the technique for mapping virtual address spaces to

physical memory

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

Physical memory:

A

memory that is directly accessible to the CPU; operates at high speed, but typically offers lower capacity than storage

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

Disk :

A

a storage device that uses a magnetic storage mechanism. Not all data fits into physical memory, so the disk holds data until it is pulled into physical
memory.

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

Fixed partition scheme:

A

a strategy for translating virtual to physical addresses
in which we divide the memory into partitions such that one process is loaded per partition and queue processes that are waiting to be loaded into memory. Uses a fixed offset to convert between physical and virtual addresses.

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

Base and limit registers:

A

a strategy for translating virtual to physical addresses
in which the base register contains the value that gets added to the virtual address to determine the physical address, and the limit register contains the highest address that the program cannot surpass. Requires hardware support to implement.

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

Bitmaps

A

in tracking free space in memory, a bitmap is a vector in which each digit is 1 or 0 depending on whether a given memory chunk is free or not

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

Linked list:

A

in tracking free space in memory, the elements of the linked list represent blocks of memory that are free

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

Worst-fit

A

a memory allocation scheme that finds the largest block of free memory possible and stores the process in it

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

Best-fit

A

a memory allocation scheme that finds the smallest hole which is large enough to fit the process and stores the process in it

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

First-fit

A

a memory allocation scheme that puts the process in the first discovered hole of free memory that is large enough to fit the process

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

Internal fragmentation:

A

internal to an allocated space, internal fragmentation is

where a process is allocated more bytes than it uses

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

External fragmentation:

A

space that the OS is aware of, but that is too small to fit new processes

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

Page

A

A continuous portion of memory that is treated by the operating system as a single unit of storage

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

Slab allocation:

A

break large chunks of memory given to a process by the Buddy algorithm into smaller units for allocation

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

Object caches:

A

freed objects are stored in a cache in case they are allocated again, rather than freeing them for allocation to other processes.

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