CSCI 620 Homework 2 Fall 2022

1

CSCI 620 Homework 2

Due: September 23, 2022

Points: 35

Do the following problems; show your work:

Problem A (3 Points)

Consider a 2 MB 4-way set associative cache. Suppose a block is 64 bytes and an

address consists of 32 bits. If we assume that an address field is divided as

described in the text: tag-field, index-field, block-offset, compute the length of

each field for this cache; show your work:

a. tag-field length in bits:

b. index-field length in bits:

c. block-offset length in bits:

A.2 (5 Points) In computing the answer to this problem:

• assume that the conditional branches are taken 70% of the time, and not taken

30% of the time.

• do the computation for the average frequencies of astar and hmmer (not bzip

and hmmer).

B.2 (6 Points) Do parts a and b. For part b, assume that the cache is an eight-way

set associative cache.

B.8 (6 Points) Do parts a and b. In coming up with your estimates, assume that

the hit times are relatively small and can be ignored.

B.13 (5 Points) Assume that the content of the TLB does not change for this

problem.

2.20 (4 Points) Do part a with the following changes: the first 16 byte block can

be received in 60 cycles (not 120); and each additional 16 byte block requires 32

cycles (not 16)..

2.42 (6 Points) Do parts c and d. Compute slowdown as a ratio relative to native

execution. In addition: what is the geometric mean of the pure and para

virtualization ratios?

1

CSCI 620 Homework 2

Due: September 23, 2022

Points: 35

Do the following problems; show your work:

Problem A (3 Points)

Consider a 2 MB 4-way set associative cache. Suppose a block is 64 bytes and an

address consists of 32 bits. If we assume that an address field is divided as

described in the text: tag-field, index-field, block-offset, compute the length of

each field for this cache; show your work:

a. tag-field length in bits:

b. index-field length in bits:

c. block-offset length in bits:

A.2 (5 Points) In computing the answer to this problem:

• assume that the conditional branches are taken 70% of the time, and not taken

30% of the time.

• do the computation for the average frequencies of astar and hmmer (not bzip

and hmmer).

B.2 (6 Points) Do parts a and b. For part b, assume that the cache is an eight-way

set associative cache.

B.8 (6 Points) Do parts a and b. In coming up with your estimates, assume that

the hit times are relatively small and can be ignored.

B.13 (5 Points) Assume that the content of the TLB does not change for this

problem.

2.20 (4 Points) Do part a with the following changes: the first 16 byte block can

be received in 60 cycles (not 120); and each additional 16 byte block requires 32

cycles (not 16)..

2.42 (6 Points) Do parts c and d. Compute slowdown as a ratio relative to native

execution. In addition: what is the geometric mean of the pure and para

virtualization ratios?

MEDS6013 Sem 1 2023 Assessment 1The values of respect, research merit and integrity, justice, and beneficence have become prominent in the ethics of human research in the past six decades, and they provide...HPRO6715 Foundations of Health Promotion Assignment 1B.This assignment follows directly on from Assignment 1A. In Assignment 1B, you use the same health promotion goal and the same two papers you selected...Submission DeadlineMarks and FeedbackBefore 10am on:Week 1120 working days after deadline (L4, 5 and 7)15 working days after deadline (L6)10 working days after deadline (block delivery)Click or tap to...During the 18th century many revolutions were inspired by the Enlightenment. Enlightenment thinkers focused on the idea of natural rights. They felt that all people were born with certain rights which...Please send me a quote for the completion of the following assignmemt, referencing needs to be done in uwe harward style ( can provide word plugin also)Business and LawACADEMIC YEAR 2022/23Assessment BriefSubmission...Internal Assignment Applicable for April 2023 ExaminationAssignment Marks: 30Instructions:• All Questions carry equal marks.• All Questions are compulsory• All answers to be explained in not more than...MGMT504 Risk and Contingency ManagementASSESSMENT NUMBER: 1.1ASSIGNMENT TYPE: SHORT ANSWER QUESTIONSWEIGHTING: 5%WORD COUNT: 300 – 500 WORDSDUE: WEEK 4ASSESSMENT OBJECTIVESThis assessment is designed to...**Show All Questions**