GATE CSE
First time here? Checkout the FAQ!
x
0 votes
29 views
Consider a two level memory hierarchy L1 (cache) has an accessing time of 20 nsec and
main memory has accessing time 40 nsec. Writing or updating contents into their
memory takes 40 nsec and 50 nsec for L1 and main memory respectively. Assume that
L1 gives misses 65% of the total time. The average writing time for system (in nsec) if it
uses write-through technique _____.
asked in CO & Architecture by (307 points)   | 29 views

1 Answer

+1 vote
L1 A.T = 20ns
M/M A.T = 40ns
L1 Write Time = 40ns
M/M Write Time = 50ns

Write Through Technique: on each write request by CPU, memory will be updated everytime.
In Write Through we use "No Write Allocate" techniqiue, it means if there is a  write miss in cache we directly write memory instead of bringing a block first into cache and then write it.

Avg Write Time = .65*max(40,50)ns + .35*50 = 50ns
answered by Boss (8.6k points)  
edited by
But answer is given as : 76

this question is from made easy test series? leave it answer is 50ns only.
for your reference:
http://gateoverflow.in/76502/me-co-write-through

Yes.

Thank you .

http://gateoverflow.in/143595/cache#a143671

Can you please,check out this question on same type?

@Nils I am also getting same answer as 80ns for that question


Top Users Aug 2017
  1. Bikram

    5272 Points

  2. ABKUNDAN

    4730 Points

  3. akash.dinkar12

    3514 Points

  4. manu00x

    3492 Points

  5. rahul sharma 5

    3188 Points

  6. makhdoom ghaya

    2700 Points

  7. just_bhavana

    2432 Points

  8. stblue

    2244 Points

  9. Tesla!

    2090 Points

  10. pawan kumarln

    1876 Points


25,071 questions
32,226 answers
75,103 comments
30,232 users