for anyone who's having difficulty in understanding the difference between these two you can understand the difference like this: temporal locality : If a program uses a variable, it will probably use it again shortly. spatial locality: If a program accesses one element in an array, it will likely access the next element.
when cpu make second request for the same data ele. it will take from cache, ok, but this is done in both type spatial locality as well in temporal locality,the data is already in cache, so here the difference is not clear here.
sir excellent quality lectures. very much helpful in understanding would you pls upload lectures of computer organization according to syllabus ....basic architechture cpu, io, memory organization periferral devices data representation and programming basics of operating system and networking virtual memory file system elements of programming language ,typical examples this the syllabus of subject computer fundamentals (ESE electrical) i am from electrical branch preparing for ese
Sir ek doubt tha, suppose initially cache empty hai aur cpu ko data access karna hai to cache miss hoga that means temporal locality kaam karegi par spatial locality kab kaam karegi aeise to temporal hi chalegi... Doosra temporal me exact data copy hoga ya block please reply...
Initially Cache is going to be empty,but will start filling up with Frequent entries with some misses,Cache is having a copy of main data.I hope it helped you.
Who is having exam tomorrow?
😢
In one hour😅
20mins
30 min m h
This man can literally explain anything in just a video of 15 min or less. You are god brother.
for anyone who's having difficulty in understanding the difference between these two
you can understand the difference like this:
temporal locality : If a program uses a variable, it will probably use it again shortly.
spatial locality: If a program accesses one element in an array, it will likely access the next element.
when cpu make second request for the same data ele.
it will take from cache, ok, but this is done in
both type spatial locality as well in temporal locality,the data is already in cache, so here
the difference is not clear here.
wahhh sir in 7 minutes you clear my concpt which i never understood in university lecture
Outstanding explanation ❤️
sir literally, best explanation EVER
Superb explanation
Excellent sir ❤
Best explanation 😊
very nice explanation sir 😊😊😊😊😊😊
Very well guided, thanks for this video
Expression like, *Dr.Bindra*
Amazing sir 😘😘😘😘
Very Well Explained 🙏😊
excellent bro
Nice teaching sir great very nice explaination sir🙂
Gjab bhai gjab explaination
give some examples of this in terms of coding
Outstanding 🍂👍🏻
Bahot mst👌🏻
What is sequential locality?
Locality of reference has 3 properties -> Temporal , spatial and sequence locality 🤔🤔, where is the other property ?
good explaination
Sir jab cache line size =block size but cache size
Simple more blocks and less lines.
Ok sir Thanks
Thanks sir
sir excellent quality lectures. very much helpful in understanding
would you pls upload lectures of computer organization according to syllabus
....basic architechture
cpu, io, memory organization
periferral devices
data representation and programming
basics of operating system and networking
virtual memory
file system
elements of programming language
,typical examples
this the syllabus of subject computer fundamentals (ESE electrical)
i am from electrical branch preparing for ese
Bhai abhi tak nhi kiya 🥲
Sir ek doubt tha, suppose initially cache empty hai aur cpu ko data access karna hai to cache miss hoga that means temporal locality kaam karegi par spatial locality kab kaam karegi aeise to temporal hi chalegi... Doosra temporal me exact data copy hoga ya block please reply...
Initially Cache is going to be empty,but will start filling up with Frequent entries with some misses,Cache is having a copy of main data.I hope it helped you.
@@5MinutesEngineering Thanks for replying sir..
Thank you
Thank you sir
Today is my exam and I am studying at 2:00 am
Nice skills
very nice
Thnks sir
why CPU access cache, fastly than main memory???
Because it is loacted near to the cpu as well as it first search on cache memory first than main memory
Tq
Nice sir
Swathi reddy preparing digital assistant exam ?
@@atmakururohit3061 s
Jaldi btana chahiye
2 din ke bad exam hai
Mera kal hai
kanya west
🧚♀️
Ajay kumar
chipundi
Thank you sir.
Thankyou sir😊