D686 - Operating Systems - Chapter 8

0.0(0)
studied byStudied by 0 people
0.0(0)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/84

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:21 PM on 10/18/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

85 Terms

1
New cards

cache

a temporary storage area that holds copies of frequently accessed data to speed up processing

2
New cards

bind

to connect or link together, such as associating a symbolic address with a relocatable address for program execution

3
New cards

absolute code

program instructions that reference fixed memory addresses for direct execution

4
New cards

logical address

address generated by the CPU that requires translation to a physical address for use in memory, essentially the same as a virtual address in this context

5
New cards

physical address

actual location in physical memory where data or instructions are stored

6
New cards

logical space address

range of all addresses generated by a program before translation into physical addresses

7
New cards

physical address space

range of all physical addresses available in a computer system

8
New cards

memory management unit (MMU)

hardware enabling a CPU to access and translate addresses between logical and physical memory

9
New cards

dynamic loading

loading of program routines into memory only when called during execution, not at program start

10
New cards

dynamically linked libraries (DLLs)

system libraries linked to user programs at runtime, allowing shared resources across processes

11
New cards

static linking

combining system libraries into a binary program image before execution, as done by the loader

12
New cards

shared libraries

libraries loaded once into memory and accessed by multiple processes, facilitating efficient memory use

13
New cards

contiguous memory allocation

A memory allocation method in which each process is contained in a single section of memory that is contiguous to the section containing the next process.

14
New cards

variable-partition 

A simple memory-allocation scheme in which each partition of memory contains exactly one process.

15
New cards

hole

In variable partition memory allocation, a contiguous section of unused memory. Also an alternative rock band formed by Courtney Love.

16
New cards

dynamic storage-allocation problem

The problem of how to satisfy a request for size n of memory from a list of free holes.

17
New cards

first-fit

In memory allocation, selecting the first hole large enough to satisfy a memory request.

18
New cards

best-fit

In memory allocation, selecting the smallest hole large enough to satisfy the memory request.

19
New cards

worst-fit

In memory allocation, selecting the largest hole available.

20
New cards

external fragmentation

Fragmentation in which available memory contains holes that together have enough free space to satisfy a request but no single hole is large enough to satisfy the request. More generally, the fragmentation of an address space into small, less usable chunks.

21
New cards

50-percent rule

A statistical finding that fragmentation may result in the loss of 50 percent of space.

22
New cards

dynamic storage allocation

the process of assigning and freeing memory during a program's run time as needed

23
New cards

memory protection

a method to control and restrict how programs access memory in a computer, preventing errors and security issues

24
New cards

partitioning 

dividing memory into sections to manage different processes

25
New cards

fixed partitioning memory management

a scheme dividing memory into fixed-sized partitions, each holding a single process

26
New cards

overlays

a method of loading only necessary parts of a program into memory, swapping others as needed

27
New cards

variable partition memory management scheme

a method where memory is allocated dynamically, varying in size based on process needs

28
New cards

fragmented

memory scattered into non-contiguous pieces, making the efficient use of memory challenging

29
New cards

external fragmentation

unused memory scattered in non-contiguous blocks, causing inefficient use of memory

30
New cards

compaction

the process of consolidating fragmented free memory space to create a large contiguous block

31
New cards

internal fragmentation

wasted memory within allocated regions due to fixed-size partitions

32
New cards

What defines a logical address space using base and limit registers?

Base and limit registers

33
New cards

How do base and limit registers contribute to hardware address protection?

By defining the range of accessible addresses

34
New cards

Which process binds logical addresses to physical addresses?

Address binding

35
New cards

Which characteristic differentiates a logical address space from a physical address space?

Logical address space is used by the CPU, while physical address space is used by memory.

36
New cards

Which mechanism protects memory from being accessed incorrectly?

Memory protection

37
New cards

How is memory allocated and managed in a system?

By using fixed and variable partitions

38
New cards

What ensures that each process has its own separate memory space?

Memory protection

39
New cards

Which issue is caused by fixed partition memory management?

Internal fragmentation

40
New cards

What causes external fragmentation in memory management?

Dynamic allocation of memory blocks

41
New cards

What is the 50% rule in memory management?

50% of memory is lost to fragmentation.

42
New cards

A page number is represented by 10 bits. How many entries are in the page table?

210

43
New cards

A 32-bit address is divided into 20 bits for the page number and 12 bits for the offset. ______ is the page number and ______ is the offset for the logical address 0x139A4BD7.

0x139A4, 0xBD7

44
New cards

paging

A common memory management scheme that avoids external fragmentation by splitting physical memory into fixed-sized frames and logical memory into blocks of the same size called pages.

45
New cards

frames

Fixed-sized blocks of physical memory.

46
New cards

page

A fixed-sized block of logical memory.

47
New cards

page number

Part of a memory address generated by the CPU in a system using paged memory; an index into the page table.

48
New cards

p

Part of a memory address generated by the CPU in a system using paged memory; an index into the page table.

49
New cards

page offset

Part of a memory address generated by the CPU in a system using paged memory; the offset of the location within the page of the word being addressed.

50
New cards

d

Part of a memory address generated by the CPU in a system using paged memory; the offset of the location within the page of the word being addressed.

51
New cards

page table

In paged memory, a table containing the base address of each frame of physical memory, indexed by the logical page number.

52
New cards

huge pages

A feature that designates a region of physical memory where especially large pages can be used.

53
New cards

frame table

In paged memory, the table containing frame details, including which frames are allocated, which are free, total frames in the system, etc.

54
New cards

page-table-base register (PTBR)

In paged memory, the CPU register pointing to the in-memory page table.

55
New cards

translation look-aside buffer (TLB)

A small, fast-lookup hardware cache used in paged memory address translation to provide fast access to a subset of memory addresses.

56
New cards

TLB miss

A translation look-aside buffer lookup that fails to provide the address translation because it is not in the TLB.

57
New cards

wired down

A term describing a TLB entry that is locked into the TLB and not replaceable by the usual replacement algorithm.

58
New cards

address-space identifier

A part of a TLB entry that identifies the process associated with that entry and, if the requesting process doesn't match the ID, causes a TLB miss for address-space protection.

59
New cards

ASIDs

A part of a TLB entry that identifies the process associated with that entry and, if the requesting process doesn't match the ID, causes a TLB miss for address-space protection.

60
New cards

flush

Erasure of entries in, e.g., a TLB or other cache to remove invalid data.

61
New cards

hit ratio

The percentage of times a cache provides a valid lookup (used, e.g., as a measure of a TLB's effectiveness).

62
New cards

effective memory-access time

The statistical or real measure of how long it takes the CPU to read or write to memory.

63
New cards

valid-invalid

A page-table bit indicating whether a page-table entry points to a page within the logical address space of that process.

64
New cards

segmentation

memory organization method dividing computer memory into segments, each with its own distinct address space

65
New cards

segment table length register (STLR)

a register that indicates the number of segments used by a program

66
New cards

segment table base register (STBR)

a register that holds the address of the segment table in memory

67
New cards

segment number

part of a logical address that specifies the segment in the segment table

68
New cards

segment table

a table that maintains information about each segment, including the base address and the limit

69
New cards

segmented paging

a memory management technique combining segmentation and paging, where segments are further divided into fixed-size pages

70
New cards

segment base address

the starting physical address of a segment in memory

71
New cards

segmented pages

memory management method using segments to organize data or code efficiently

72
New cards

segment offset

part of a logical address that specifies the position within a segment

73
New cards

swapped

Moved between main memory and a backing store. A process may be swapped out to free main memory temporarily and then swapped back in to continue execution.

74
New cards

backing store

The secondary storage area used for process swapping.

75
New cards

application state

A software construct used for data storage.

76
New cards

How does the translation look-aside buffer (TLB) enhance memory management in an operating system?

By speeding up address translation

77
New cards

What is the function of a page table in the context of paging?

To store frame addresses

78
New cards

How does segmentation improve memory management?

By allowing different segments

79
New cards

What is a limitation of segmentation in memory management?

It causes external fragmentation.

80
New cards

How does segmented paging enhance memory management compared to traditional segmentation?

By avoiding fragmentation

81
New cards

What role does a segment table play in segmented paging?

Stores segment bases

82
New cards

What is the purpose of swapping in memory management?

To move inactive processes

83
New cards

How does swapping differ in mobile systems compared to traditional systems?

Often not supported due to constraints

84
New cards

What is a backing store in the context of swapping?

Storage for swapped-out processes

85
New cards

How does swapping help in managing memory in a multitasking environment?

Handling more processes than physical memory

Explore top flashcards

한문 기말
Updated 312d ago
flashcards Flashcards (400)
Book thief (copy)
Updated 488d ago
flashcards Flashcards (60)
Blood
Updated 836d ago
flashcards Flashcards (70)
IGCSE BIOLOGY 0610
Updated 639d ago
flashcards Flashcards (491)
한문 기말
Updated 312d ago
flashcards Flashcards (400)
Book thief (copy)
Updated 488d ago
flashcards Flashcards (60)
Blood
Updated 836d ago
flashcards Flashcards (70)
IGCSE BIOLOGY 0610
Updated 639d ago
flashcards Flashcards (491)