CIT 118 - Chapter 3 - Memory Management Includes Virtual Memory

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

1/15

flashcard set

Earn XP

Description and Tags

Operating Systems

Last updated 3:03 AM on 2/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Evolution of memory management

  • Paged, demand paging, segmented, segmented/demand paging

  • Foundation of current virtual memory method

2
New cards

Areas of improvement from the need for

  • Continuous program storage

  • Placement of the entire program in memory during execution

3
New cards

Incoming job

divided into pages of equal size

4
New cards

Internal fragmentation

job’s last page frame only

5
New cards

Entire program

required in memory during its execution

6
New cards

Three tables for tracking pages:

Job Table (JT), Page Map Table (PMT), and Memory Map Table (MMT)

  • Stored in main memory: operating system area

7
New cards

Job Table: information for each active job

  • Job size

  • Memory Location: job’s PMT

8
New cards

Page Map Table: information of each page

  • Page number: beginning with page 0

  • Memory address

9
New cards

Memory Map Table: entry for each page frame

  • Location

  • Free/busy status

10
New cards

Displacement (offset)

o Distance: from beginning of its page
o Location: within its page frame
o Relative value

11
New cards

Determining page number and displacement

o Divide byte location of the data we want to retrieve by the page size
o Page number: integer quotient
o Displacement: remainder

12
New cards

Two-dimensional addressing scheme

o Segment number and displacement

  • Disadvantage: External fragmentation

13
New cards

Major difference between paging and segmentation

o Pages: physical units; invisible to the program
o Segments: logical units; visible to the program; variable sizes

14
New cards

Subdivides segments: equal-sized pages

  • Smaller than most segments

  • More easily manipulated than whole segments

  • Segmentation’s logical benefits

  • Paging’s physical benefits

15
New cards

Segmentation problems removed

o Compaction, external fragmentation, secondary storage handling

16
New cards

Three-dimensional addressing scheme

o Segment number, page number (within segment), and displacement (within page)