1. What is the difference (or differences) between a TLB and on-chip cache? a. The TLB is direct-mapped, while caches are set associative. b. The TLB is indexed by the virtual address, while caches are Indexed by the physical address. c. The TLB stores virtual-to-physical address transiations, while caches store data. d. The TLB can be slow, but caches need to be fast. e. The TLB stores instructions, while caches store data. 2. Say we have two mutexes, implemented with binary semaphores, and two threads which access them. Which of the following can cause deadlock. a. The threads lock the mutexes in the same order. b. The threads lock the mutexes in a different order. C. The threads unlock the mutexes in the same order. d. The threads uniock the mutexes in a different order.
1. What is the difference (or differences) between a TLB and on-chip cache? a. The TLB is direct-mapped, while caches are set associative. b. The TLB is indexed by the virtual address, while caches are Indexed by the physical address. c. The TLB stores virtual-to-physical address transiations, while caches store data. d. The TLB can be slow, but caches need to be fast. e. The TLB stores instructions, while caches store data. 2. Say we have two mutexes, implemented with binary semaphores, and two threads which access them. Which of the following can cause deadlock. a. The threads lock the mutexes in the same order. b. The threads lock the mutexes in a different order. C. The threads unlock the mutexes in the same order. d. The threads uniock the mutexes in a different order.
Chapter11: Operating Systems
Section: Chapter Questions
Problem 21VE
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning