Module 9: 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

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

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

the elements of the LL 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

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

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

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 that 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 OS 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 algo 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