Sir you are literally saving our lives and grades....our college teacher teaches us for an hour and makes everything seem so difficult but your 10 min lectures are so easy to understand...thank you very much
🎯 Key Takeaways for quick navigation: 00:00 🧠 Introduction to Cache Memory Mapping - The video introduces the concept of cache memory mapping. - Cache memory mapping involves how main memory data is mapped onto the cache memory. - Three categories of cache mapping are mentioned: direct mapping, associative mapping, and set-associative mapping. 01:09 🗺️ Direct Mapping Example - An example is presented using direct mapping. - The main memory is divided into pages, and the main memory has 4096 pages, each with 16 locations. - The video discusses the concept of locality of reference and how it impacts caching. 05:11 📊 Cache and Main Memory Size - Cache memory is divided into 128 frames, with each frame's size matching that of a page. - The video explains the relationship between cache memory size (C) and main memory space (P). 06:08 📉 Direct Mapping Details - Details about direct mapping are explained, such as how the main memory is divided into 32 blocks. - The relationship between page numbers and frame numbers in direct mapping is elaborated. 09:19 🚫 No Page Replacement in Direct Mapping - Direct mapping does not involve a page replacement algorithm. - The video provides an analogy to illustrate why page replacement is unnecessary in direct mapping. - It is emphasized that the page number directly determines the frame number in this mapping scheme. Made with HARPA AI
1. Page p in the main memory gets mapped to frame f in the cache if and only if p mod 128 = f. 2. Since many pages in the main memory can get mapped to the same frame f in the cache, we need some way to identify which page is in a frame. If the frame is f, the possible pages are all those p in the range 0 to 4095 where p mod 128 is f. For instance, pages 0,128 and 256 all get mapped to frame 0. Define tag = p/32. So, if tag for frame 0 is 0, it means frame 0 has page 0. If tag for frame 0 is 1, it means frame 0 has page 128. If tag for frame 0 is 2, it means frame 0 has page 256.
I found Indian are good at comp architecture, many videos of computer architecture are made by them, I don’t know why. And even my professor is an Indian. What makes them topically good at this section? By the way, love this video, good explanation.
MAR page number can be further divided into sub sections namely TAG(5 bits) and frames per set(here only one set so we require 7 bits to represent total frames) 7+5+4 = 12+ 4 = 16 again
The main memory size is 16 bits, size must be equal to that of cache memory size, then how can cache memory size is (7+4) and main memory size be (12+4) ?
Thanks for this. Where is the five bits of the tag stored. Cache seems to have space only for the data pages. Say I get a main memory page I do the division and get to my cache page number . To make sure I got a hit I need to compare the tag right?
Get Certification in Computer Organization : bitly.ws/VGY4
Use coupon ""UA-cam12"" to get “FLAT 12%’’ OFF at Checkout.
i love indians on youtube. computer engineering can't exist without your help guys. Thank you so much.
The indian gods of youtube always deliver
i mean there are a billion and a half of them and they like engineering a lot for some reason, so it's expected to be mostly by Indian
i'm not complaining lol, these videos are a huge huge help for all of us :D
Sir you are literally saving our lives and grades....our college teacher teaches us for an hour and makes everything seem so difficult but your 10 min lectures are so easy to understand...thank you very much
same here, from Germany!
Thank you very much. You were the ones who finally taught me the reason why caches blocks are divided in frames. Thank you very much!
Watch a video of an Indian teacher in 10 mins is much better than learn at university class, thank you Sir.
One of the best videos i have come across on cache memory mapping. Thank you Sir.
🎯 Key Takeaways for quick navigation:
00:00 🧠 Introduction to Cache Memory Mapping
- The video introduces the concept of cache memory mapping.
- Cache memory mapping involves how main memory data is mapped onto the cache memory.
- Three categories of cache mapping are mentioned: direct mapping, associative mapping, and set-associative mapping.
01:09 🗺️ Direct Mapping Example
- An example is presented using direct mapping.
- The main memory is divided into pages, and the main memory has 4096 pages, each with 16 locations.
- The video discusses the concept of locality of reference and how it impacts caching.
05:11 📊 Cache and Main Memory Size
- Cache memory is divided into 128 frames, with each frame's size matching that of a page.
- The video explains the relationship between cache memory size (C) and main memory space (P).
06:08 📉 Direct Mapping Details
- Details about direct mapping are explained, such as how the main memory is divided into 32 blocks.
- The relationship between page numbers and frame numbers in direct mapping is elaborated.
09:19 🚫 No Page Replacement in Direct Mapping
- Direct mapping does not involve a page replacement algorithm.
- The video provides an analogy to illustrate why page replacement is unnecessary in direct mapping.
- It is emphasized that the page number directly determines the frame number in this mapping scheme.
Made with HARPA AI
Sir u have the best time efficiency of teaching cache memory direct mapping among all youtubers(virtual teachers)
One of the most succinct explanations of cache memory I've seen in a while.
Sir g.. enddd 🔥
I have my finals tomorrow and here I'm studying from this channel
The way you introduce TAG...phenemonal....
this gentleman teach everything in the computer
I am very lucky to get your guidance when you were in Jalpaiguri Town of West Bengal.
Gourab Deb
Is the lecturer from Jalpaiguri? :O
This is the best video for explaining direct cached map
kya samjhate ho sir ji...dil kush kar deta....
i am from an nit and my prof earns around 2.5 lakhs per month but he teaches so bad
its great that you do it for us virtually for free
AWWW
6:23 Direct Mapping
Really Wonderful example which cleared all. But II think There must be 3968 at top instead of 3098.
Give reply pls anyone
thank you very much. Every semester i am getting A+ scores as a result of your helpful tutorial videos
Work harder . Try to get an O
@@tathagatabanerjee8226 A+ is highest in most colleges
Just Awesome Explanation,Thank You Tutorialspoint
This is premium education
Great way of explaining direct cache. Thanks.
I love you sir.....jabbardast teaching i have ever seen....thank you Sir
Cache me passing my exams, how bout dat lol
omg i hope you dont, jk
Catch the Raptors choking in the playoffs, how bout dat?
underrated comment of the year
Bruhhhhhh
I dont knw if i shud be proud of myself for knowing this reference.
Amazing Explanation...Everyone like :)
The railway example at the last moment was marvelous.
1. Page p in the main memory gets mapped to frame f in the cache if and only if p mod 128 = f.
2. Since many pages in the main memory can get mapped to the same frame f in the cache, we need some way to identify which page is in a frame. If the frame is f, the possible pages are all those p in the range 0 to 4095 where p mod 128 is f. For instance, pages 0,128 and 256 all get mapped to frame 0. Define tag = p/32. So, if tag for frame 0 is 0, it means frame 0 has page 0. If tag for frame 0 is 1, it means frame 0 has page 128. If tag for frame 0 is 2, it means frame 0 has page 256.
Easily done. Didn't expect that it will be so easy.
Last memory location of first row of main memory will be 128*31 = 3968 and last memory location of last of main memory will be 3964+127=4095
Thank you sir. This video is really good.
Sir so nice explanation.Nice example of train coach....is same as direct mapping.Superb!!!!!!
Great explanation!! Why college teachers aren't like this?!
good lecture sir and easy way of explanation.........
its awsm Sir...best lecture i ever seen. Sashtang Parnaam.
best explanation ever
You gave me a great idea about this context. Thank you sir. Best regarts
you know this video is amazing when you keep saying "OHHHHHHH that's what it was"
Amazing video sir.. this truly cleared my doubt.
Explanation is Great though .. Can't ignore ❤️
This video helped me a lot. Thank you.
Thank you sir, very helpful explanation.
Sir I Really Like Your Lecture Attitude... I Really Enjoy
I found Indian are good at comp architecture, many videos of computer architecture are made by them, I don’t know why. And even my professor is an Indian.
What makes them topically good at this section?
By the way, love this video, good explanation.
this video was very helpful.
Please provide the link for the other videos as well
You can watch this link "www.tutorialspoint.com/videotutorials/userview.php?userid=MTExMjYwNjMxNTA0NTEw".
hats off sir!!! extra ordinary explanation!!!
Good lectures Prof. Arnab Chakraborty. Can you please upload new videos?
Thank you.
the vedio is quite helpful...
🙌 great teaching!
Nicely expressed ❤️👌😇
Locaaa li tea of refaaarence😂 3:34
exellent video, thank you
Physical memory is divided into frames and logical memory into pages,unlike as said in the video. However,the rest part of the lecture is fine. :D
MAR page number can be further divided into sub sections namely TAG(5 bits) and frames per set(here only one set so we require 7 bits to represent total frames)
7+5+4 = 12+ 4 = 16 again
thank you sir this video help me a lot plz explain associative mapping
Clearly understood now!wow, what a clear explaination!
nyc explanations ,sir
thanks for making it
vry good explanation sir...thanks...
Very nice explanation
Thank you
Thank u sir. U have cleared all my doubts
nice video 👍
Wow thank you very much sir
welcome my child
The video was a bit helpful but please explain both the remaining mappings also.
Amazing explanation.
Really awsome
Thank you sir. it really helped me.
Good introduction of direct mapping
explain associative mapping sir please
great video helped alot
Main memory last column should start from 3968 (pls correct me if I am wrong) because 3968+128=4096, or 128x31=3968
Sir, good explanation
Very helpful, thank you Sir
Good explanation
sir where your next video?
Very good tutorial. Thank you very much =]
The main memory size is 16 bits, size must be equal to that of cache memory size, then how can cache memory size is (7+4) and main memory size be (12+4) ?
Thank you so much sir 😀
very helpful content
Superb sir
Watching at X1.5 speed
Hero
Watch at 2.0X rather, it'll save your time. :D
Savage👏👏😎🙏
You saved my time lol
1.25
Why is this video, not in the playlist with other videos? please add the these necessary videos to the playlist.
tqq for the lecture sir
about associative mapping
Thanks for this.
Where is the five bits of the tag stored. Cache seems to have space only for the data pages.
Say I get a main memory page I do the division and get to my cache page number . To make sure I got a hit I need to compare the tag right?
sir cashe me frames nahi hotein hein wo cashe lines hein
frame are available on ram
Aur block kaha hotein hai main memory mein na
Sir how can I know that from where I can get the tag from cache address or from main memory address i.e 11 bit address or 16 bit address
see this->ua-cam.com/video/9l4LWwXbV5E/v-deo.html
plz upload video for memory hierarcy by Prof. Arnab Chakraborty plz plzz.................
Where is other videos🙆♂️🙆♂️🙆♂️
sir your explain is very good but direct memory la main memory 3 answer is 511 sir but your answer is 411 sir
sir could u plz explain why we placed 3098 at that coloum
very excellent tutorial sir can we have remaining ones
kitna padhega vikram lol
Shubham Soni bahut badiya tut hai yaar
Shubham Soni aur tum bhi is tut me ho to iska matlab tumne dekha hoga
i request you that video upload in lecture wise(i.e proper lecture numbering)
how many bits are needed for tag,block,word field?
why direct mapping`s performance is directly proportional to the Hit ratio?
really helpful
Is he doing word addressing or byte addressing?
Thanku sir u r osm..
384 and 256 want to load same time,then what is the process?? Please let me know sir..
Simply overwrite 384 ??
Thank you sir
How are the fram size equal to the page size when we have 12 bit in frame and 16 bit is page ?
When we talk about size we actually talking about the length of the frame and the page which was 4 in this case.
Thank you! But I think the numbers in the main memory, block 31 should be 3968, 3969, 3970, not 3098,... right?
You are Right