Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Slides
A Simple Illustration
Cache Memory
Recent questions tagged cache-memory
4
votes
3
answers
421
cache hit ratio
Consider an array A[200] and each element occupies 8-words. A 64-word cache is used and divided into 16-word blocks. What is the hit ratio for the following code segment: for(int i=0; i<200; i++) A[i] = A[i]+5 0.85 0.65 0.95 0.75
Consider an array A[200] and each element occupies 8-words. A 64-word cache is used and divided into 16-word blocks. What is the hit ratio for the following code segment:...
Parshu gate
1.3k
views
Parshu gate
asked
Nov 10, 2017
CO and Architecture
co-and-architecture
hit-ratio
cache-memory
+
–
1
votes
0
answers
422
Hit latency in Cache
How to approach hit latency problems in cache mapping techniques. Please explain with an example. Thank in advance.
How to approach hit latency problems in cache mapping techniques.Please explain with an example.Thank in advance.
AnilGoudar
932
views
AnilGoudar
asked
Nov 9, 2017
CO and Architecture
co-and-architecture
cache-memory
hit-latency
+
–
0
votes
1
answer
423
MadeEasy Subject Test: CO & Architecture - Cache Memory
ASAIK for Tavg(read) = T(read) = HR(read) * Tc + (1-HR) * (Tc+Tm) but while calculating they have neglected Tc in (Tc+Tm)... Please verify ??
ASAIK for Tavg(read) = T(read) = HR(read) * Tc + (1-HR) * (Tc+Tm)but while calculating they have neglected Tc in (Tc+Tm)...Please verify ??
Anjan
430
views
Anjan
asked
Nov 8, 2017
CO and Architecture
co-and-architecture
made-easy-test-series
cache-memory
+
–
4
votes
2
answers
424
COA:- Memory size
A computer has 170 different instructions.Word size is 4B and one word instruction has 2 address fields.One adress for register and one address for memory.If there are 37 registers,then memory size in KB is?
A computer has 170 different instructions.Word size is 4B and one word instruction has 2 address fields.One adress for register and one address for memory.If there are 37...
rahul sharma 5
864
views
rahul sharma 5
asked
Nov 7, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
0
votes
1
answer
425
COA:- Average stalls per instruction
What will be L1 miss rate? I think it is 80/3600 ,but then answer did not match. But if i take 80/2000,then it matches with the given answer
What will be L1 miss rate? I think it is 80/3600 ,but then answer did not match. But if i take 80/2000,then it matches with the given answer
rahul sharma 5
845
views
rahul sharma 5
asked
Nov 6, 2017
CO and Architecture
co-and-architecture
cache-memory
stall
+
–
0
votes
2
answers
426
COA:- Memory Access Time
rahul sharma 5
782
views
rahul sharma 5
asked
Nov 6, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
2
votes
2
answers
427
CO:- Memory Access time
rahul sharma 5
1.5k
views
rahul sharma 5
asked
Nov 6, 2017
CO and Architecture
co-and-architecture
cache-memory
effective-memory-access
+
–
3
votes
3
answers
428
Hardware requirement in 16-way Set Associative Cache
Cache size 32 KB Block size = 32 Bytes Address size = 28 bit. Associativity of Cache = 16 Determine what is the hardware requirement to design the 16-way set associative cache. Hardware requirement -> Mux, Comparator, Demux, Decoder, Encoder ... lines are 5. 4) 64 And gates 5) 1 OR gate input line = 64 Someone, please verify these attributes??
Cache size 32 KBBlock size = 32 BytesAddress size = 28 bit.Associativity of Cache = 16Determine what is the hardware requirement to design the 16-way set associative cach...
Shubhanshu
3.2k
views
Shubhanshu
asked
Nov 6, 2017
CO and Architecture
cache-memory
co-and-architecture
multiplexer
memory-interfacing
+
–
1
votes
1
answer
429
CACHE direct mapping
Parshu gate
1.5k
views
Parshu gate
asked
Nov 6, 2017
CO and Architecture
cache-memory
direct-mapping
co-and-architecture
+
–
1
votes
0
answers
430
Cache with multiplexers and comparators
Parshu gate
431
views
Parshu gate
asked
Nov 5, 2017
CO and Architecture
cache-memory
multiplexer
+
–
1
votes
0
answers
431
Ace Test Series: CO & Architecture - Cache Memory
What is the answer of this question. I think similar question was asked in GATE 2017.
What is the answer of this question. I think similar question was asked in GATE 2017.
rohan mishra
431
views
rohan mishra
asked
Nov 5, 2017
CO and Architecture
ace-test-series
cache-memory
co-and-architecture
+
–
1
votes
1
answer
432
MadeEasy Subject Test: CO & Architecture - Cache Memory
rahul sharma 5
754
views
rahul sharma 5
asked
Nov 4, 2017
CO and Architecture
made-easy-test-series
co-and-architecture
cache-memory
+
–
1
votes
1
answer
433
MadeEasy Subject Test: Operating System - Virtual Memory
rahul sharma 5
646
views
rahul sharma 5
asked
Nov 4, 2017
Operating System
made-easy-test-series
operating-system
virtual-memory
cache-memory
+
–
5
votes
1
answer
434
Average Memory Access Time
Suppose cache with hit ratio 'Ch' and access time 'Ct' is given and main memory with hit ratio 'Mh' and access time 'Mt' is given and a disk with access time 'Dt' is given. If with only this information average memory access time is ... (1-Ch) * (1-Mh) * ( Ct + Mt + Dt) If so, why the addition and is it implicit always ?
Suppose cache with hit ratio 'Ch' and access time 'Ct' is given and main memory with hit ratio 'Mh' and access time 'Mt' is given and a disk with access time 'Dt' is give...
sumit chakraborty
1.6k
views
sumit chakraborty
asked
Nov 1, 2017
CO and Architecture
cache-memory
co-and-architecture
effective-memory-access
+
–
2
votes
1
answer
435
COA: Average Memory Access Time
My Solution: E.M.A.T = HitTimeL1 + MissRateL1x( HitTimeL2 + MissRateL2xMissPenaltyL2) = 1 + $\frac{16}{100}$(5 + $\frac{8}{16}$*50) = 1 + .16(30) = 5.8 Please, someone validate this solution!
My Solution:E.M.A.T = HitTimeL1 + MissRateL1x( HitTimeL2 + MissRateL2xMissPenaltyL2) = 1 + $\frac{16}{100}$(5 + $\frac{8}{16}$*50) = 1 + .16(30)...
Manu Thakur
932
views
Manu Thakur
asked
Oct 29, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
1
votes
0
answers
436
cache
I read in cache Effective time = hit ratio * cache access time + miss ratio*memory access time why not in miss penalty the additional searching in cache considered i.e. Penalty = memory access time + cache access time as unnecessary we need to search cache right?
I read in cache Effective time = hit ratio * cache access time + miss ratio*memory access timewhy not in miss penalty the additional searching in cache consider...
Na462
406
views
Na462
asked
Oct 21, 2017
CO and Architecture
cache-memory
+
–
2
votes
0
answers
437
Doubt in direct cache mapping
The direct mapped cache uses M main memory blocks and N cache blocks, for a given Physical Address it resulted T tag bits and placed in P cache block. Which main memory words May respond to this Physical Address? Block size is P words.
The direct mapped cache uses M main memory blocks and N cache blocks, for a given Physical Address it resulted T tag bits and placed in P cache block. Which main memory w...
AnilGoudar
464
views
AnilGoudar
asked
Oct 18, 2017
CO and Architecture
cache-memory
direct-mapping
co-and-architecture
+
–
1
votes
0
answers
438
Multilevel cache
In multilevel cache do we use hierarchical access memory or simultaneous access memory concept? Please mention formula for calculating Avg access time of the system using multi level cache design.
In multilevel cache do we use hierarchical access memory or simultaneous access memory concept?Please mention formula for calculating Avg access time of the system using ...
Mohammed Sumair
434
views
Mohammed Sumair
asked
Oct 18, 2017
CO and Architecture
co-and-architecture
cache-memory
multilevel
+
–
3
votes
1
answer
439
Carl Hamacher - Example 8.3 Cache Doubt
Problem: A computer system uses 32-bit memory addresses and it has a main memory consisting of 1G bytes. It has a 4K-byte cache organized in the block-set-associative manner, with 4 blocks per set and 64 bytes per block. (a) ... being assigned to different sets. And when they are being replaced. Please keep it simple, it's very confusing for me.
Problem: A computer system uses 32-bit memory addresses and it has a main memory consisting of 1G bytes. It has a 4K-byte cache organized in the block-set-associative man...
Rishabh Gupta 2
3.5k
views
Rishabh Gupta 2
asked
Oct 18, 2017
CO and Architecture
co-and-architecture
carl-hamacher
cache-memory
+
–
3
votes
2
answers
440
Performance c
Consider the system have L1 data cache with 50 percent of hit rate and take 2 cycles when hit in L1 cache, L2 cache with 70% of hit rate and take 15 cycles when hit in L2 cache and main memory with 100% of the hit rate and 200 cycles when hit in main memory to access ... by 15% then the improvement in L1 miss time is ____________(upto 2 decimals) 1. 2.14 2. 2.78 3. 1.48 4. 1.14
Consider the system have L1 data cache with 50 percent of hit rate and take 2 cycles when hit in L1 cache, L2 cache with 70% of hit rate and take 15 cycles when hit in L2...
akb1115
1.1k
views
akb1115
asked
Oct 15, 2017
CO and Architecture
co-and-architecture
cache-memory
hit-ratio
bad-question
+
–
5
votes
1
answer
441
I-cache and D-cache
Given that L1 instruction and L1 data cache are connected to CPU directly, (doubt: does it mean they're independent?) Each instruction fetch means a reference to the instruction cache and 35% of all instructions reference data memory. The ... 35% of all instructions reference data memory, so should we consider 65% of all instructions reference instruction memory or not ?
Given that L1 instruction and L1 data cache are connected to CPU directly,(doubt: does it mean they're independent?)Each instruction fetch means a reference to the instru...
just_bhavana
2.1k
views
just_bhavana
asked
Oct 10, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
1
votes
0
answers
442
Average access time in case of reads and writes( write through)
@ Arjun Sir, @ Habib Sir https://gateoverflow.in/13484/coa I got a slightly different answer(69.12 ns) by using the concepts given by one of the professor and now I am in great dilemma when it comes to write access ... tried many times..Waiting for your response Sir. Please solve it. Many sleepless nights because of this . Thank You..
@ Arjun Sir, @ Habib Sirhttps://gateoverflow.in/13484/coa I got a slightly different answer(69.12 ns) by using the concepts given by one of the professor and now I am in ...
Niket Gangwar
710
views
Niket Gangwar
asked
Oct 10, 2017
CO and Architecture
cache-memory
co-and-architecture
+
–
1
votes
1
answer
443
co&architecture # cache-memory
what part in the address of following mapping techniques 1. direct mapped 2.set associative 3. Associative used by cache controller for indexing into the cache directory?
what part in the address of following mapping techniques1. direct mapped2.set associative3. Associativeused by cache controller for indexing into the cache directory?
VASUGANESHAN
283
views
VASUGANESHAN
asked
Oct 7, 2017
CO and Architecture
cache-memory
+
–
2
votes
0
answers
444
Cache Memory
There are 4 types of caches Virtually Indexed Virtually Tagged Virtually indexed Physically Tagged Physically Indexed Virtually Tagged Physically Indexed Physically Tagged Plz give some clear thought, to distinguish these 4 type of cache
There are 4 types of cachesVirtually Indexed Virtually TaggedVirtually indexed Physically TaggedPhysically Indexed Virtually TaggedPhysically Indexed Physically TaggedPlz...
srestha
498
views
srestha
asked
Oct 3, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
1
votes
1
answer
445
Testbook Chapter for Cache Memory
Anirudh Pandey
293
views
Anirudh Pandey
asked
Oct 1, 2017
CO and Architecture
cache-memory
+
–
2
votes
0
answers
446
Calculate the hit time
Assume that a hypothetical system in which program execution gives 200 stall cycles per instruction on an average. There are 260 and 120 misses in L1 (Level1) and L2 (Level2) cache out of total 1000 CPU references. If L2 to memory miss penalty is twice the hit time. ... cycles)? [Given 2.5 memory reference per instruction] a. 300, 600 b. 400, 800 c. 160, 320 d. 160, 340
Assume that a hypothetical system in which program execution gives 200 stall cycles per instruction on an average. There are 260 and 120 misses in L1 (Level1) and L2 (Lev...
Shubhanshu
1.1k
views
Shubhanshu
asked
Sep 27, 2017
CO and Architecture
co-and-architecture
cache-memory
effective-memory-access
+
–
2
votes
1
answer
447
Size of Tag directory
Consider a machine with 4way set associative data cache of size 32 Kbytes and block size 8 byte. The cache is managed using 32 bit virtual addressed and page size is 5 Kbytes. What is the total size of the tags in the cache directory is _________ (in K bits). Given answer is 76 I am getting 19.
Consider a machine with 4way set associative data cache of size 32 Kbytes and block size 8 byte. The cache is managed using 32 bit virtual addressed and page size is 5 ...
Shubhanshu
6.2k
views
Shubhanshu
asked
Sep 27, 2017
CO and Architecture
co-and-architecture
cache-memory
memory-interfacing
+
–
0
votes
1
answer
448
UGC NET CSE | December 2008 | Part 2 | Question: 9
Suppose it takes $100$ $ns$ to access page table and $20$ $ns$ to access associative memory. If the average access time is $28$ $ns$, the corresponding hit rate is: $100$ percent $90$ percent $80$ percent $70$ percent
Suppose it takes $100$ $ns$ to access page table and $20$ $ns$ to access associative memory. If the average access time is $28$ $ns$, the corresponding hit rate is:$100$ ...
rishu_darkshadow
793
views
rishu_darkshadow
asked
Sep 25, 2017
Computer Networks
ugcnetcse-dec2008-paper2
computer-networks
cache-memory
+
–
4
votes
1
answer
449
cache memory
Consider a computer with a 4-ways set-associative mapped cache of the following characteristics: a total of 256 MB of main memory, a word size of 1 byte, a line size of 128 words and a cache size of 512 KB. While accessing the memory location FC23CDEH by the CPU, then the value ... mod 17)/6]217 ,where TAG field is the content of the corresponding cache line. (a) 3 (b) 0 (c) 1 (d) 2
Consider a computer with a 4-ways set-associative mapped cache of the following characteristics: a total of 256 MB of main memory, a word size of 1 byte, a line size of 1...
amrendra pal
821
views
amrendra pal
asked
Sep 3, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
3
votes
1
answer
450
cache memory
In k-way set associative mapping , the tag field contains 8 bits and 64 no. of sets and propagation delay of a comparator is k/20 nsec and propagation delay of 2*1 multiplexer is k/10 nsec. then what will be the total delay? (let k=8)
In k-way set associative mapping , the tag field contains 8 bits and 64 no. of sets and propagation delay of a comparator is k/20 nsec and propagation delay of 2*1 multip...
amrendra pal
624
views
amrendra pal
asked
Sep 3, 2017
CO and Architecture
co-and-architecture
cache-memory
+
–
Page:
« prev
1
...
10
11
12
13
14
15
16
17
18
19
20
...
25
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register