Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

ENGR 325 HOMEWORK #8 ANSWER KEY

Rating
-
Sold
-
Pages
5
Grade
A
Uploaded on
02-07-2022
Written in
2021/2022

5) Recall that we have two write policies and write allocation policies, and their combination can be implemented either in L1 or L2 cache. Assume the following choice for L1 and L2 caches: L1 L2 Write-through, non-write allocate Write-back, write allocate Describe the procedure of handling an L1 write-miss, considering the component involved and the possibility of replacing a dirty block. (P&H 5.4, §5.3, 5.8) SOLUTION: When an L1 write miss occurs, a cache block is not allocated in L1 for the block in question. L2 is written directly. Since L1 is a write-through cache, there are no issues with dirty blocks in L1. If there is an L2 cache hit, L2 is simply updated and the dirty bit set. If there is an L2 cache miss, a block must be allocated in L2 and the evicted block must be written back to main memory if it is dirty. 2. (10) Media applications that play audio or video files are part of a class of workloads called “streaming” workloads; i.e., they bring in large amounts of data but do not reuse much of it. Consider a video streaming workload that accesses a 512 kiB working set sequentially with the following address stream (P&H 5.5, §5.1, 5.4, 5.8, 5.13): 0, 2, 4, 6, 8, 10, 12, 14, 16, …

Show more Read less
Institution
Calvin College
Course
ENGR 325









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
July 2, 2022
Number of pages
5
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
ENGR 325 HOMEWORK #3 45 7 8 9 2........
-
8 2022
$ 29.49 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Greatnurse Yale University
View profile
Follow You need to be logged in order to follow users or courses
Sold
78
Member since
4 year
Number of followers
64
Documents
899
Last sold
4 months ago

3.4

18 reviews

5
7
4
3
3
1
2
4
1
3

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions