Cache Write: Write Through & Write Back | L 30 | COA 2.0 | GATE 2022 | Vishvadeep Gothi

Поділитися
Вставка
  • Опубліковано 12 жов 2024
  • The Great Learning Festival is here!
    Get an Unacademy Subscription of 7 Days for FREE!
    Enroll Now - unacademy.com/...
    .. In this session, Vishvadeep Goth will be discussing about Cache Write: Write Through & Write Back from the COA 2.0. Watch the entire video to learn more about Cache Write: Write Through & Write Back which will help you crack GATE- 2022. Let’s Crack It!
    👉🏼 Vishavdeep Gothi’s Unacademy Profile Link: unacademy.com/...
    Start date: 25 Aug 2021
    Accelerate for GATE 2022 (CS & IT): bit.ly/3j8XAz1
    🏆 Combat Link: unacademy.com/...
    To know more about the new amazing Plus Test Series click on the link below"
    Computer Science - bit.ly/CSPlusT...
    🙏 Welcome to Unacademy Computer Science Channel, your one-stop solution for all GATE Exams 💯India’s Top Educators will be teaching you daily on this channel. We will cover the entire syllabus, strategy, updates, and notifications which will help you to crack the GATE exams 🎯
    During the live session, our Educators will be sharing a lot of Tips and Tricks to crack the exam. GATE aspirants who are preparing for their Exams will be benefited from this channel. Unacademy platform has the Best Educators from all over the country, who take live classes every day ✔️
    Vishavdeep Gothi and other Top Educators take classes on Unacademy App.
    Use Special Code “VDEEP10” to get 10% off on your Unacademy Subscription 😍
    👉🏼 Subscribe today: unacademy.com/...
    👉🏼 Special Class Link: unacademy.com/...
    📝 Playlist Link: • COA 2.0 | GATE 2022 | ...
    Do Subscribe and be a part of the community for more such lessons here:
    👉🏼 Join the Telegram: t.me/Unacademy...
    👉🏼 Subscribe to our channel: bit.ly/2PTRRxk
    ✏️ Unacademy Studios Feedback Form: bit.ly/GATEESE10
    Bugs Bounty Program Submission Form: bit.ly/guidelin...
    Download the Unacademy Learning App here:
    👉🏼 Android: goo.gl/02OhYI
    👉🏼 iOS: goo.gl/efbytP
    Unacademy Subscription Benefits:
    1. Learn from your favourite Educator
    2. Dedicated DOUBT sessions
    3. One Subscription, Unlimited Access
    4. Real time interaction with Educators
    5. You can ask doubts in live class
    6. Limited students
    7. Download the videos & watch offline
    Get the GATE & ESE Iconic Advantage:
    1. Personal Coach
    2. Study Planner & Bi-weekly Reviews
    3. Dedicated Doubt Clearing Space
    4. Personalized Test Analysis
    5. Study Booster Sessions
    6. Preparatory Study Material
    7. All the Unacademy Subscription Benefits
    #cache, #spatial, #temporal, #LoR, #Hit, #Miss, #HitRatio, #Replacement, #Block, #AccessTime #GATE2022 #GATECSE

КОМЕНТАРІ • 49

  • @SecretEscapist
    @SecretEscapist Рік тому +13

    Amazing lecture from an amazing teacher 🥰
    Start Time: 7:13

    • @NDA-CADET
      @NDA-CADET Рік тому +1

      Thanks bro after seeing your comment i started the video at 7:13 🤣😅

  • @FunkSachuA2ZSolutions
    @FunkSachuA2ZSolutions Рік тому +4

    Crystal clear concept with unique examples 😊

  • @co_23_prajwal79
    @co_23_prajwal79 Місяць тому +2

    GOAT of COA

  • @Bhakt-so2qm
    @Bhakt-so2qm 2 роки тому +2

    @24:27 If the given cache organisation is hierarchical the the formula of Tavg = hit*tcm + (1-h1) h2(t2+t1)

  • @FunkSachuA2ZSolutions
    @FunkSachuA2ZSolutions Рік тому +4

    Answer for Question 1: 60ns
    Answer for Question 2: 0.9
    Answer for Question 3: 0.4
    Answer for Question 4: 136ns
    Answer for Question 5: 80.5ns

    • @unknown-lv8io
      @unknown-lv8io Рік тому

      how 0.4 in question 3

    • @sakshardas7828
      @sakshardas7828 10 місяців тому +4

      Yes, all answers marched. Just q3 will have 0.4167 or 5/12

    • @shubhamagarwal5721
      @shubhamagarwal5721 10 місяців тому +1

      @@unknown-lv8io let cache access time be x, then memory access time will be 6 times cache time(given in question) i.e. 6x.
      Now when memory is uncached then tavg will be just memory access i.e. 6x on the other hand when memory is cached then
      Tavg = .7x + .3*6x i.e. 2.5x. Now for calculating ratio divide both we will get 2.5/6 or 5/12 or 0.4. Hope it helped

    • @shubhamagarwal5721
      @shubhamagarwal5721 10 місяців тому +1

      @@sakshardas7828 Bro how Q5 ans is 80.5ns, I am calculating it as 79ns. My end equation is Tavg = 0.9 * 15 + 0.1 * (15 + 8*80).
      Pls explain.

    • @sarvisettichandansusanth4498
      @sarvisettichandansusanth4498 6 місяців тому

      @@shubhamagarwal5721 u forgot to add miss penalty, so ur eq will be
      tavg = 0.9 * 15 + 0.1 * (15 + 8*80+15)

  • @mohdadil2875
    @mohdadil2875 2 роки тому +1

    34:35 gajab example :)

  • @badalbihari7893
    @badalbihari7893 5 днів тому

    Abhi tak 30 lecture attend Kiya apka concept acha hai

  • @_strangelet__
    @_strangelet__ Рік тому +1

    How can we use simultaneous access in case of write back??
    Wouldn't it mean that the CPU sent write signals to both cache and main memory simultaneously. That means in case of cache hit, the signal going to main memory would be interrupted mid-way so that CPU could begin the next operation. That's why we only take Tcm as time in case of a hit.
    Is this even possible to interrupt a signal like this mid-way??

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 8 днів тому

    Is BLOCK-SIZE differs , due to different configurations of R.A.M ( MAIN MEMORY ) on the basis of BYTE ADDRESSIBLE or WORD ADDRESSIBLE ?

  • @royalking6714
    @royalking6714 3 роки тому +4

    7:00

  • @divyanshi7765
    @divyanshi7765 Рік тому +1

    Sir, Thank a lot
    I can't say for your amazing teaching method😍❤️😍

  • @shwetalavania2864
    @shwetalavania2864 Рік тому

    Thanku Sir!!!!
    Your way of teaching create mapping of concept. 😊🙏🏻

  • @mr.jacker3951
    @mr.jacker3951 10 місяців тому

    Thanks u sir ji for great playlist

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 2 роки тому +1

    Sir agar HIT nhi hua tabhi toh MISS hoga na , I guess 50 nsecs for each MISS for 1% , it would be counted along with the addition of HIT time or it would require 60nsecs overall hence AV ARAGE MEMORY ACCESS TIME would be 15nsecs instead of 14nsecs.

  • @pramodkoushiktr1895
    @pramodkoushiktr1895 2 роки тому

    what if 3level is given? in 2004 there was a question with 2 cache and 1 main memory, it is 3 level hierarchy. what is the Tavg
    formula for it?

  • @AmanKumar-jv4sv
    @AmanKumar-jv4sv Рік тому

    best in the business

  • @mayanktamrkar308
    @mayanktamrkar308 3 роки тому +3

    Great session 👍👍👍❤️❤️❤️❤️❤️❤️

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 2 роки тому

    SIR I GUESS AVARAGE MEMORY READ OPERATION TIME WOULD BE 150nsecs ,INSTEAD OF 500nsecs , BCZ AMONG OF ALL THE OPERATIONS WE GET 30% OF WRITE OPERATIONS ACCORDING TO THE QUESTION.

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 2 роки тому

    for HIERARCHIAL MEMORY ACCESS TIME for CACHE MISS we have to add MAIN MEMORY ACCESS TIME & CACHE MEMORY ACESS TIME ; hence the time would be (150nsecs+30nsecs=180nsecs)

    • @204_mistukroy6
      @204_mistukroy6 2 роки тому +2

      This is accounted for when sir is using 30+(1-h)150=30*h+30*(1-h)+(1-h)150

    • @prathamkumar3731
      @prathamkumar3731 2 роки тому

      homework question 3 kiya kaise hoga bro

    • @soumyadeepbarik5711
      @soumyadeepbarik5711 2 роки тому

      @@prathamkumar3731 please take the MAIN MEMORY ACCESS TIME TWICE , to make the answer feasible.

  • @athiyanavneeth7152
    @athiyanavneeth7152 2 роки тому

    Happy happy learning. ☺️🙂☺️🙂👌👌👌

  • @saifmd1729
    @saifmd1729 Рік тому

    amazing sirr

  • @tusharkachouli3953
    @tusharkachouli3953 27 днів тому

    Where i can find pdf?

  • @bhaveshsuthar9764
    @bhaveshsuthar9764 2 роки тому

    Thanks for such amazing lectures!

  • @udaysisodiya175
    @udaysisodiya175 2 роки тому

    Great teaching way

  • @ramkumarramkumar-du5il
    @ramkumarramkumar-du5il 2 роки тому

    value for investing time in watching this video sir

  • @gtxananth7742
    @gtxananth7742 2 роки тому

    Great teaching sir

  • @vinayakpuri3855
    @vinayakpuri3855 Рік тому

    Thanks sir 😌

  • @robinskumar4645
    @robinskumar4645 Рік тому

    24:31 you missed H*Tcm
    final answer will be 7/8

  • @Nikhilmod440
    @Nikhilmod440 Місяць тому

    Koi question 5 bata do bro

  • @MrSagarBiswas
    @MrSagarBiswas Рік тому +1

    Homework Q1: Ans Tp = 60ns
    Homework Q2: Ans h = 0.9
    Homework Q3: Ans --- didn't understand question
    Homework Q4: Ans tavg = 19.2ns
    Homework Q5: Ans tavg = 80.5ns

    • @nirbhaykumarchaubey8777
      @nirbhaykumarchaubey8777 Рік тому

      Q3 07:18 ratio of Average memory access time when Hit Vs when Miss

    • @nirbhaykumarchaubey8777
      @nirbhaykumarchaubey8777 Рік тому

      And also 4th Q 16ns it's hierarchy based system

    • @vedantsharma7709
      @vedantsharma7709 11 місяців тому

      bhai 4th ka 136 ns hoga
      @@nirbhaykumarchaubey8777

    • @shubhamagarwal5721
      @shubhamagarwal5721 10 місяців тому

      Q3: let cache access time be x, then memory access time will be 6 times cache time(given in question) i.e. 6x.
      Now when memory is uncached then tavg will be just memory access i.e. 6x on the other hand when memory is cached then
      Tavg = .7x + .3*6x i.e. 2.5x. Now for calculating ratio divide both we will get 2.5/6 or 5/12 or 0.4. Hope it helped

    • @shubhamagarwal5721
      @shubhamagarwal5721 10 місяців тому

      @@nirbhaykumarchaubey8777 no bro Q4 ans is 136ns, We have to consider block size also since according to question it is specifically given in note that locality of reference is used so we have to transfer whole block to memory, for that we have to multiply 16 to memory access time considering memory is byte addressable. So the end equation will be like Tavg = 0.8*8 + 0.2[8(cache access) + 40*16(block access)]. On solving we get ans as 136ns, Hope it helped. Also correct me if i am wrong.

  • @iitiananmol-l3n
    @iitiananmol-l3n Рік тому

  • @haryanvimukeshbhodiwaal689
    @haryanvimukeshbhodiwaal689 Рік тому

    ❤❤

  • @pawanparashar2685
    @pawanparashar2685 3 роки тому +1

    👍

  • @sameersaurav4203
    @sameersaurav4203 11 місяців тому +1

    🌭🍕

  • @ammanagrawal762
    @ammanagrawal762 9 місяців тому

    At 32:25 😂😂😂