Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Cache Memory and Arrays
amitqy
asked
in
CO and Architecture
Mar 16, 2019
retagged
Jul 7, 2022
by
Shubham Sharma 2
297
views
0
votes
0
votes
Can someone please provide a link to an article or a video explaining cache and arrays concept. Im having a hard time understanding that concept.
co-and-architecture
cache-memory
array
amitqy
asked
in
CO and Architecture
Mar 16, 2019
retagged
Jul 7, 2022
by
Shubham Sharma 2
by
amitqy
297
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
3
votes
3
votes
2
answers
1
amarVashishth
asked
in
CO and Architecture
Jul 8, 2015
2,155
views
Cache Memory and Arrays
Given an array A[100] of which each element size is 4 words. Processor uses a Cache Memory which is divided into 4 lines each of size 8 words to execute the following code for(i=0; i<100; ++i) { A[i] = A[i] + 10; } What is ... I needed to extract from this question is : for calculation of hit ratio do we count a write operation as Hit or only Read operations are counted
amarVashishth
asked
in
CO and Architecture
Jul 8, 2015
by
amarVashishth
2.2k
views
cache-memory
co-and-architecture
array
0
votes
0
votes
1
answer
2
Arnabi
asked
in
CO and Architecture
Nov 15, 2016
621
views
Cache and arrays
Consider below code written in C Loop A sum = 0; for (i = 0; i < 128; i++) for (j = 0; j < 64; j++) sum += A[i][j]; Loop B sum = 0; for (j = 0; j < 64; j++) for (i = 0; i < 128; i++) sum += A[i][j]; The matrix A ... entries are word addressable, what bits of the 32 bit physical address comprise the tag, index and offset? i)(19,8,8) ii)(20,8,7) iii)(17,8,7) iv)(18,8,6)
Arnabi
asked
in
CO and Architecture
Nov 15, 2016
by
Arnabi
621
views
cache-memory
and
array
co-and-architecture
0
votes
0
votes
1
answer
3
Arnabi
asked
in
CO and Architecture
Nov 15, 2016
604
views
Arrays and cache
Consider below code written in C Loop A sum = 0; for (i = 0; i < 128; i++) for (j = 0; j < 64; j++) sum += A[i][j]; Loop B sum = 0; for (j = 0; j < 64; j++) for (i = 0; i < 128; i++) sum + ... cache with 8-word (32-byte) cache lines. Calculate the number of cache misses that will occur when running Loop A. i)1392 misses ii) 1024 misses iii)1020 misses iv)1323 misses
Arnabi
asked
in
CO and Architecture
Nov 15, 2016
by
Arnabi
604
views
array
and
cache-memory
co-and-architecture
0
votes
0
votes
1
answer
4
Anuranjan
asked
in
CO and Architecture
Mar 17, 2019
245
views
Self-doubt
How to improve cache hit rate in case of transfer of element from 2-D array to matrix.? (Consider the column major order in 2D array)
Anuranjan
asked
in
CO and Architecture
Mar 17, 2019
by
Anuranjan
245
views
co-and-architecture
cache-memory
hit-ratio
array
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy