Cache Memory Direct Mapping

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2017
  • Cache Memory Direct Mapping
    Watch more videos at www.tutorialspoint.com/comput...
    Lecture By: Prof. Arnab Chakraborty, Tutorials Point India Private Limited

ความคิดเห็น • 206

  • @TutorialsPoint_
    @TutorialsPoint_  9 หลายเดือนก่อน

    Get Certification in Computer Organization : bitly.ws/VGY4
    Use coupon ""TH-cam12"" to get “FLAT 12%’’ OFF at Checkout.

  • @ingrooo
    @ingrooo 5 ปีที่แล้ว +282

    i love indians on youtube. computer engineering can't exist without your help guys. Thank you so much.

    • @ChrisReyCap
      @ChrisReyCap 5 ปีที่แล้ว +17

      The indian gods of youtube always deliver

    • @VinyZikss
      @VinyZikss 2 ปีที่แล้ว +8

      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

    • @VinyZikss
      @VinyZikss 2 ปีที่แล้ว +5

      i'm not complaining lol, these videos are a huge huge help for all of us :D

  • @holly6679
    @holly6679 2 ปีที่แล้ว +21

    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

  • @albertocrescini2076
    @albertocrescini2076 4 ปีที่แล้ว +7

    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!

  • @ikramwani5207
    @ikramwani5207 5 ปีที่แล้ว +4

    Sir u have the best time efficiency of teaching cache memory direct mapping among all youtubers(virtual teachers)

  • @thosan3090
    @thosan3090 2 ปีที่แล้ว +1

    Watch a video of an Indian teacher in 10 mins is much better than learn at university class, thank you Sir.

  • @Sasoun1234
    @Sasoun1234 5 ปีที่แล้ว +6

    One of the most succinct explanations of cache memory I've seen in a while.

  • @kissthenames
    @kissthenames 5 ปีที่แล้ว +153

    Cache me passing my exams, how bout dat lol

    • @mynameis6575
      @mynameis6575 5 ปีที่แล้ว +4

      omg i hope you dont, jk

    • @zeltron5168
      @zeltron5168 5 ปีที่แล้ว +2

      Catch the Raptors choking in the playoffs, how bout dat?

    • @yahya9889
      @yahya9889 4 ปีที่แล้ว +1

      underrated comment of the year

    • @RonnieBanerjee007
      @RonnieBanerjee007 2 ปีที่แล้ว

      Bruhhhhhh

    • @xacademia9646
      @xacademia9646 ปีที่แล้ว

      I dont knw if i shud be proud of myself for knowing this reference.

  • @KWANGSIKLEE
    @KWANGSIKLEE 6 ปีที่แล้ว +2

    This is the best video for explaining direct cached map

  • @sraynitjsr
    @sraynitjsr 6 ปีที่แล้ว +1

    Just Awesome Explanation,Thank You Tutorialspoint

  • @RAJ-ev2gm
    @RAJ-ev2gm 4 ปีที่แล้ว +1

    The way you introduce TAG...phenemonal....

  • @FlaviaLeitao-yx3uf
    @FlaviaLeitao-yx3uf 27 วันที่ผ่านมา

    One of the best videos i have come across on cache memory mapping. Thank you Sir.

  • @tayfuncesur9221
    @tayfuncesur9221 5 ปีที่แล้ว +2

    You gave me a great idea about this context. Thank you sir. Best regarts

  • @akshatbhutra7278
    @akshatbhutra7278 4 ปีที่แล้ว

    Sir so nice explanation.Nice example of train coach....is same as direct mapping.Superb!!!!!!

  • @AlecRoques
    @AlecRoques 7 ปีที่แล้ว +12

    This video helped me a lot. Thank you.

  • @pritosh02
    @pritosh02 5 ปีที่แล้ว

    I love you sir.....jabbardast teaching i have ever seen....thank you Sir

  • @m.alaiady3627
    @m.alaiady3627 4 ปีที่แล้ว +1

    this gentleman teach everything in the computer

  • @vineeshvs
    @vineeshvs ปีที่แล้ว

    Great way of explaining direct cache. Thanks.

  • @AmitBarai74
    @AmitBarai74 7 ปีที่แล้ว +1

    Good lectures Prof. Arnab Chakraborty. Can you please upload new videos?
    Thank you.

  • @sushantsadangi6350
    @sushantsadangi6350 4 ปีที่แล้ว

    Amazing video sir.. this truly cleared my doubt.

  • @sajeeb4
    @sajeeb4 7 ปีที่แล้ว +1

    The railway example at the last moment was marvelous.

  • @qutabshah8201
    @qutabshah8201 ปีที่แล้ว

    Sir g.. enddd 🔥
    I have my finals tomorrow and here I'm studying from this channel

  • @SiddheshShankarBtech
    @SiddheshShankarBtech 3 ปีที่แล้ว

    one of the best explanations sir thank you a lot !!

  • @dudeabideth4428
    @dudeabideth4428 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?

  • @ishusharma9003
    @ishusharma9003 5 ปีที่แล้ว

    its awsm Sir...best lecture i ever seen. Sashtang Parnaam.

  • @arkapravabera3551
    @arkapravabera3551 5 ปีที่แล้ว +1

    Explanation is Great though .. Can't ignore ❤️

  • @Target_Physics
    @Target_Physics 6 ปีที่แล้ว +1

    I am very lucky to get your guidance when you were in Jalpaiguri Town of West Bengal.

    • @raunakmitra7868
      @raunakmitra7868 6 ปีที่แล้ว

      Gourab Deb
      Is the lecturer from Jalpaiguri? :O

  • @hanumanthaparasa9986
    @hanumanthaparasa9986 5 ปีที่แล้ว

    hats off sir!!! extra ordinary explanation!!!

  • @bidishapandit7001
    @bidishapandit7001 3 ปีที่แล้ว +1

    Great explanation!! Why college teachers aren't like this?!

  • @bipulkumar6708
    @bipulkumar6708 6 ปีที่แล้ว +1

    nyc explanations ,sir
    thanks for making it

  • @sujansharma7020
    @sujansharma7020 5 ปีที่แล้ว +1

    Clearly understood now!wow, what a clear explaination!

  • @ayushsingh7772
    @ayushsingh7772 6 ปีที่แล้ว +1

    good lecture sir and easy way of explanation.........

  • @chennakesava6002
    @chennakesava6002 7 ปีที่แล้ว +10

    explain associative mapping sir please

  • @shivarammuthukumaraswamy7164
    @shivarammuthukumaraswamy7164 5 ปีที่แล้ว

    Thank you sir. it really helped me.

  • @zunikhan8958
    @zunikhan8958 7 ปีที่แล้ว +1

    thank you sir this video help me a lot plz explain associative mapping

  • @dhirajkumar7358
    @dhirajkumar7358 4 ปีที่แล้ว +1

    Thank you sir. This video is really good.

  • @eduinTamil
    @eduinTamil 5 ปีที่แล้ว

    Thank u sir. U have cleared all my doubts

  • @Layman09
    @Layman09 5 ปีที่แล้ว

    kya samjhate ho sir ji...dil kush kar deta....

  • @sukritiguin5637
    @sukritiguin5637 ปีที่แล้ว +2

    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

  • @SharuxD
    @SharuxD 3 ปีที่แล้ว +1

    Amazing Explanation...Everyone like :)

  • @sumitvaise5452
    @sumitvaise5452 5 ปีที่แล้ว

    Easily done. Didn't expect that it will be so easy.

  • @ammarbinn7725
    @ammarbinn7725 6 ปีที่แล้ว +8

    Sir I Really Like Your Lecture Attitude... I Really Enjoy

  • @xiu8548
    @xiu8548 3 ปีที่แล้ว +1

    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.

  • @arunshankars8398
    @arunshankars8398 4 ปีที่แล้ว +2

    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.

  • @ZebroLebro
    @ZebroLebro 2 ปีที่แล้ว

    Thank you sir, very helpful explanation.

  • @VashishthMuniSingh
    @VashishthMuniSingh 5 ปีที่แล้ว +2

    vry good explanation sir...thanks...

  • @Jenny-qm8yc
    @Jenny-qm8yc 5 ปีที่แล้ว

    Very good tutorial. Thank you very much =]

  • @prabhavjain7790
    @prabhavjain7790 5 ปีที่แล้ว +7

    6:23 Direct Mapping

  • @rajpritdeb2069
    @rajpritdeb2069 5 ปีที่แล้ว

    Very helpful, thank you Sir

  • @hitenagarwal8770
    @hitenagarwal8770 6 ปีที่แล้ว +2

    the vedio is quite helpful...

  • @akshithbellare7568
    @akshithbellare7568 4 ปีที่แล้ว

    🙌 great teaching!

  • @superfact4556
    @superfact4556 5 ปีที่แล้ว

    i request you that video upload in lecture wise(i.e proper lecture numbering)

  • @maz4962
    @maz4962 5 ปีที่แล้ว

    Amazing explanation.

  • @____-ij5md
    @____-ij5md 4 ปีที่แล้ว

    thank you very much. Every semester i am getting A+ scores as a result of your helpful tutorial videos

    • @tathagatabanerjee8226
      @tathagatabanerjee8226 4 ปีที่แล้ว +1

      Work harder . Try to get an O

    • @harikiran6161
      @harikiran6161 4 ปีที่แล้ว

      @@tathagatabanerjee8226 A+ is highest in most colleges

  • @chaitanyabingumalla8045
    @chaitanyabingumalla8045 6 ปีที่แล้ว +1

    The video was a bit helpful but please explain both the remaining mappings also.

  • @wiretap9458
    @wiretap9458 7 ปีที่แล้ว

    Good introduction of direct mapping

  • @trawasthi-pursuitofgrowth
    @trawasthi-pursuitofgrowth 5 ปีที่แล้ว +2

    Really Wonderful example which cleared all. But II think There must be 3968 at top instead of 3098.

  • @barbells8496
    @barbells8496 2 ปีที่แล้ว

    you know this video is amazing when you keep saying "OHHHHHHH that's what it was"

  • @sharonnisha8939
    @sharonnisha8939 6 ปีที่แล้ว

    Very nice explanation
    Thank you

  • @junaidiqbal4104
    @junaidiqbal4104 8 หลายเดือนก่อน +2

    🎯 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

  • @shubhampandey9236
    @shubhampandey9236 6 ปีที่แล้ว

    Why is this video, not in the playlist with other videos? please add the these necessary videos to the playlist.

  • @damercy
    @damercy 5 ปีที่แล้ว

    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

  • @rahulrawat8165
    @rahulrawat8165 7 ปีที่แล้ว

    when will the new videos be uploaded?

  • @saivicky6244
    @saivicky6244 6 ปีที่แล้ว +1

    this video was very helpful.
    Please provide the link for the other videos as well

    • @TOARNABCH
      @TOARNABCH 6 ปีที่แล้ว

      You can watch this link "www.tutorialspoint.com/videotutorials/userview.php?userid=MTExMjYwNjMxNTA0NTEw".

  • @AlphaFoxDelta
    @AlphaFoxDelta 6 ปีที่แล้ว

    Is he doing word addressing or byte addressing?

  • @danishkawar7209
    @danishkawar7209 5 ปีที่แล้ว

    how many bits are needed for tag,block,word field?

  • @balarajug1012
    @balarajug1012 5 ปีที่แล้ว

    Sir, good explanation

  • @sukantaghorai6925
    @sukantaghorai6925 6 ปีที่แล้ว +1

    sir where your next video?

  • @kiranshinde03
    @kiranshinde03 2 ปีที่แล้ว

    Nicely expressed ❤️👌😇

  • @batoulih6254
    @batoulih6254 3 หลายเดือนก่อน

    exellent video, thank you

  • @sandipdas5684
    @sandipdas5684 4 ปีที่แล้ว

    384 and 256 want to load same time,then what is the process?? Please let me know sir..
    Simply overwrite 384 ??

  • @misshean4965
    @misshean4965 7 ปีที่แล้ว

    plz upload video for memory hierarcy by Prof. Arnab Chakraborty plz plzz.................

  • @khimbdrgurung4105
    @khimbdrgurung4105 6 ปีที่แล้ว

    you supposed the 16 location per page, and after calculation that comes to be 16 bit address. You just got lucky or what i dont know. But, if I assume 11 location per page what will be the scenario? Do we have to just assume that location or there is certain way to calculate it?

  • @Naanu_in
    @Naanu_in 7 ปีที่แล้ว +2

    really helpful

  • @siddheshjha8627
    @siddheshjha8627 6 ปีที่แล้ว

    very helpful content

  • @praveenreddy9464
    @praveenreddy9464 7 ปีที่แล้ว +1

    tqq for the lecture sir

  • @abdelrahman5094
    @abdelrahman5094 ปีที่แล้ว

    best explanation ever

  • @rizhyu
    @rizhyu 4 ปีที่แล้ว

    why direct mapping`s performance is directly proportional to the Hit ratio?

  • @toubi1657
    @toubi1657 6 ปีที่แล้ว

    great video helped alot

  • @suhailshaik5020
    @suhailshaik5020 3 ปีที่แล้ว +4

    Locaaa li tea of refaaarence😂 3:34

  • @AddictedGamerr
    @AddictedGamerr 6 ปีที่แล้ว +1

    about associative mapping

  • @MysteryofScience
    @MysteryofScience 5 ปีที่แล้ว

    Thank you so much sir 😀

  • @prashantsharma3134
    @prashantsharma3134 3 ปีที่แล้ว +1

    Main memory last column should start from 3968 (pls correct me if I am wrong) because 3968+128=4096, or 128x31=3968

  • @mrunalshende1663
    @mrunalshende1663 6 ปีที่แล้ว

    thank u a lot ,sir.

  • @FaqoeyBiee
    @FaqoeyBiee 6 ปีที่แล้ว +1

    thank you very much😁😁

  • @koushikgp2518
    @koushikgp2518 5 ปีที่แล้ว

    If question is asked in exam .this is enough to write it sir????

  • @greatsnow6758
    @greatsnow6758 6 ปีที่แล้ว

    Thanku sir u r osm..

  • @kushalrahatkar1889
    @kushalrahatkar1889 6 ปีที่แล้ว

    awesome. thnx

  • @dipanjanmaity6614
    @dipanjanmaity6614 5 ปีที่แล้ว +2

    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

    • @gpss9605
      @gpss9605 5 ปีที่แล้ว

      see this->th-cam.com/video/9l4LWwXbV5E/w-d-xo.html

  • @amitkumar-rf2kz
    @amitkumar-rf2kz 4 ปีที่แล้ว

    Really awsome

  • @anirbandas9953
    @anirbandas9953 6 ปีที่แล้ว

    Sir I couldn't find your next videos

  • @pranshukhandelwal4096
    @pranshukhandelwal4096 4 ปีที่แล้ว

    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

  • @Bkgoodman11
    @Bkgoodman11 7 ปีที่แล้ว

    If the "page" you are referring to actually a "cache line" (as opposed to the traditional '4k page')?

    • @adityakarve6808
      @adityakarve6808 5 ปีที่แล้ว

      Yeah, I think he means the same thing. cseweb.ucsd.edu/classes/su07/cse141/cache-handout.pdf

  • @gopinaths3718
    @gopinaths3718 5 ปีที่แล้ว

    Superb sir

  • @beloffer484
    @beloffer484 6 ปีที่แล้ว +6

    sir cashe me frames nahi hotein hein wo cashe lines hein
    frame are available on ram

    • @mehulkumar3469
      @mehulkumar3469 5 ปีที่แล้ว

      Aur block kaha hotein hai main memory mein na

  • @sadakagaja
    @sadakagaja 6 ปีที่แล้ว +1

    Wow thank you very much sir

  • @kprasanthkumar1815
    @kprasanthkumar1815 4 ปีที่แล้ว

    Good explanation

  • @preetikumari8434
    @preetikumari8434 4 ปีที่แล้ว

    nice video 👍

  • @Anuhya___369
    @Anuhya___369 2 ปีที่แล้ว

    sir could u plz explain why we placed 3098 at that coloum

  • @hamzamujeebk
    @hamzamujeebk 5 ปีที่แล้ว

    How are the fram size equal to the page size when we have 12 bit in frame and 16 bit is page ?

    • @mehulkumar3469
      @mehulkumar3469 5 ปีที่แล้ว

      When we talk about size we actually talking about the length of the frame and the page which was 4 in this case.