Chapter 9: Main Memory Flashcards

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

1/30

flashcard set

Earn XP

Description and Tags

Flashcards covering main memory concepts, including address binding, memory-management units, contiguous allocation, paging, and page table structures from Silberschatz Chapter 9.

Last updated 2:46 PM on 7/23/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

31 Terms

1
New cards

Main memory and __________ are the only storage that the CPU can access directly.

registers

2
New cards

Register access is done in __________ or less, while main memory can take many cycles causing a stall.

11 CPU clock

3
New cards

Protection of the logical address space is provided by using a pair of __________ and __________ registers.

base, limit

4
New cards

Loading the base and limit registers are __________ instructions.

privileged

5
New cards

The linker or loader binds relocatable addresses to __________ addresses.

absolute

6
New cards

If memory location is known a priori, __________ can be generated at compile time.

absolute code

7
New cards

Binding is delayed until run time if the process can be moved during execution, requiring hardware support for __________.

address maps

8
New cards

The __________ address is generated by the CPU, while the __________ address is seen by the memory unit.

logical, physical

9
New cards

The __________ is a hardware device that at run time maps virtual to physical addresses.

Memory-Management Unit (MMU)

10
New cards

In a simple MMU scheme, the base register is called the __________ register.

relocation

11
New cards

With __________, a routine is not loaded until it is called, providing better memory-space utilization.

Dynamic Loading

12
New cards

In dynamic linking, a small piece of code called a __________ is used to locate the appropriate memory-resident library routine.

stub

13
New cards

In contiguous allocation, the resident operating system is usually held in __________ memory.

low

14
New cards

The __________-partition allocation method limits the degree of multiprogramming by the number of partitions.

Multiple

15
New cards

In the dynamic storage-allocation problem, __________-fit allocates the smallest hole that is big enough.

Best

16
New cards

__________ fragmentation occurs when total memory space exists to satisfy a request, but it is not contiguous.

External

17
New cards

The 50-percent rule states that for NN blocks allocated, __________ blocks are lost to fragmentation.

0.5N0.5\,N

18
New cards

Physical memory is divided into fixed-sized blocks called __________, and logical memory is divided into blocks of the same size called __________.

frames, pages

19
New cards

To translate logical to physical addresses, the OS sets up a __________ for each process.

page table

20
New cards

In the paging address translation scheme, the __________ is used as an index into a page table.

Page number (p)

21
New cards

The __________ points to the page table, and the __________ indicates the size of the page table.

Page-table base register (PTBR), Page-table length register (PTLR)

22
New cards

The two-memory access problem in paging is solved by using a special fast-lookup hardware cache called __________.

translation look-aside buffers (TLBs)

23
New cards

Some TLBs store __________ to uniquely identify each process and provide address-space protection.

address-space identifiers (ASIDs)

24
New cards

The percentage of times that a page number is found in the TLB is known as the __________.

Hit ratio

25
New cards

If memory access takes 10ns10\,ns and the TLB hit ratio is 80%80\%, the Effective Access Time (EAT) is __________.

12nanoseconds12\,nanoseconds

26
New cards

A __________ bit is attached to each page table entry to signify if the page is in the process's logical address space.

valid-invalid

27
New cards

One copy of __________ code can be shared among processes, which is useful for text editors and compilers.

read-only (reentrant)

28
New cards

A 32-bit logical address space with a page size of 4KB4\,KB results in a page table with __________ entries.

1million1\,million

29
New cards

The virtual page number is hashed into a table where each element contains the virtual page number, the value of the mapped page frame, and a __________.

pointer to the next element

30
New cards

An __________ page table has one entry for each real page of memory, decreasing memory needed but increasing search time.

inverted

31
New cards

In priority-based scheduling, a lower-priority process is swapped out so a higher-priority process can be loaded, a process called __________.

Roll out, roll in