GATE CSE
First time here? Checkout the FAQ!
x
+1 vote
44 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 Junior (531 points) 1 6 15 | 44 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 Veteran (14.9k points) 6 19 58
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
what will be answer in case of write back policy?

pls explain.


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users Oct 2017
  1. Arjun

    23338 Points

  2. Bikram

    17048 Points

  3. Habibkhan

    7912 Points

  4. srestha

    6228 Points

  5. Debashish Deka

    5438 Points

  6. jothee

    4968 Points

  7. Sachin Mittal 1

    4772 Points

  8. joshi_nitish

    4286 Points

  9. sushmita

    3964 Points

  10. Rishi yadav

    3794 Points


Recent Badges

Popular Question makhdoom ghaya
Popular Question junaid ahmad
Notable Question learner_geek
Notable Question jothee
Popular Question jothee
Notable Question Jeffrey Jose
Notable Question air1ankit
Nice Question jothee
Verified Human shaleen25
Popular Question jothee
27,290 questions
35,142 answers
83,920 comments
33,231 users