COA | Memory Organization: Cache Memory 2 | Lec 27 | GATE CSE 2021 Exam

Поділитися
Вставка
  • Опубліковано 12 жов 2024
  • The Great Learning Festival is here!
    Get an Unacademy Subscription of 7 Days for FREE!
    Enroll Now - unacademy.com/...
    .. In this live lecture, you will learn the Computer Organization & Architecture (COA) for GATE Computer Science Engineering. Vishvadeep Sir will explain Memory organization and what is Cache Memory in Computer Organization and Architecture. ➤ Use Referral Code: VDEEP10, To Get 10% Discount on Unacademy Subscription.
    Subscribe Unacademy Computer Science Channel now: bit.ly/2PTRRxk
    Follow your Favorite Educators on Unacademy:
    1)Vishvadeep Sir: www.unacademy.c...
    Join our Telegram Group here for all the useful Resources: t.me/Unacademy...
    Welcome to Unacademy Computer Science Channel, your one-stop solution for all Computer Science Engineers. 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 exam will be benefited from this channel. Unacademy platform has the best educators from all over the country, who take live classes every day.
    Subscribe to our channel!
    ✤ Download the Unacademy Learning App here:
    ➤ Android: goo.gl/02OhYI
    ➤ iOS: goo.gl/efbytP
    ✤ For More Such Classes Get Subscription Advantage:
    👉 GATE & ESE: bit.ly/2uoyyVQ
    ➤ Use Referral Code: VDEEP10
    To Get 10% Discount on Unacademy Subscription
    Unacademy Subscription Benefits: -
    1. One Subscription, Unlimited Access
    2. Learn from your favorite teacher
    3. Real time interaction with teacher
    4. You can ask doubts in live class
    5. Limited students
    6. Download the videos & watch offline
    #MemoryOrganization #CacheMemory #ComputerScience #COA

КОМЕНТАРІ • 59

  • @todgaming3381
    @todgaming3381 4 роки тому +11

    Sir i have watch every video of yours from this playlist till now(not live).
    But i can say, the level of understanding these videos made for me..No other teacher could ever do such great work explaining such a wide topic in the simplest manner. Kudos👍

  • @bhushanspoal3727
    @bhushanspoal3727 28 днів тому

    The best videos for COA out there. Keep up the great work

  • @prateekjaiswal8849
    @prateekjaiswal8849 3 роки тому +26

    MIND-BLOWING TEACHING SKILLS👍👍😎
    GPK 1 : Tavg = 0.9x(10) + 0.1x(16x50 + 10) = 9 + 81 = 90ns
    GPK 2 : Tavg = 0.9x(12) + 0.1x(12+120x16+12) = 10.8 + 194.4 = 205.2
    "don't scroll down its correct ans"===**HAPPY LEARNING!!**===

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

      Gpk2 me 12 quyn add kiye ho bhai

    • @TrendWatchersTV12
      @TrendWatchersTV12 3 роки тому

      @@nishantshukla9493 extra Tcm to copy the block into cache memory
      Refer Tavg formula when block transfer included

    • @nishantshukla9493
      @nishantshukla9493 3 роки тому

      @@TrendWatchersTV12 i got it thank

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

      Thanks dude!

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

    I always used to first like and comment on your video then I watch the videos that level of confidence on you GURUDEV

  • @Understanding_the_world_withme
    @Understanding_the_world_withme 3 роки тому +7

    Thank you for everything

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

    Great lecture 😁
    Start Time: 7:55
    Ans of the GPK1 is 90 ns
    Ans of the GPK2 is 205.2 ns
    Ans of the GPK1 GATE - 2014 is 1.68 ns

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

      hello are you preparing for 2024? can we contact on discord if you dont mind as i am also a 2024 aspirant

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

    I have a doubt. In case of write back, why do the write back only when there is a cache miss? Suppose there is a hit, and that block is modified too, then also we should do write back for that block? So according to me the formula for effective time should be -
    Tavg = H*(tcm) + (1-H)*(t_block) + x * t_block : SIMULTANEOUS ACCESS
    Tavg = H*(tcm) + (1-H)*(tcm + t_block) + x * t_block : HIERARCHAL ACCESS
    writing x * t_block at the last, without multiplying it with hit or miss ratio, means that we do the write back at the end, no matter when there is a hit or miss.
    Why should write back be dependent on cache hit or cache miss?
    It is an operation that we do every time at the end and it should only depend on the fraction of blocks which have been modified.
    Therefore write back should have no relation with hit ratio. It should be only dependent on fraction of modified blocks.
    [Taught in Lecture 27 @ 01:00:00]

    • @chesin3590
      @chesin3590 3 роки тому

      No as when there is miss then only the address is replaced with any address from the main memory. And till the time when it has not been replaced the content is not write back to the memory

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

    GPK 4): 90 nsec
    5): 205.2 nsec
    1):1.96 nsec

  • @AS-we3zt
    @AS-we3zt 4 роки тому +2

    Very nice explanation I hv ever got thanku sir ..🙏🙏

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

    amazing session!

  • @anubhavrai5427
    @anubhavrai5427 3 роки тому +19

    SAVE YOUR TIME 8:10

  • @khustar618
    @khustar618 3 роки тому +8

    GPK1= 91nsec
    GPK2=205.2nsec

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

    sir GPK 1 ka solution samjha dejeye??

  • @rajatyadav4077
    @rajatyadav4077 3 роки тому

    great learning

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

    Awesome

  • @shweta8731
    @shweta8731 3 роки тому

    Why tcm is not included with twrite-back in write back for simultaneous access as it is used for copying the block to cache???

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

      Hey
      Did u got the answer why tcm not included in write back?

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

      @@lazy7172 did you got the answer ??

  • @divyanshusingh6105
    @divyanshusingh6105 3 роки тому +2

    GPK 1: 160*(0.9*1+0.1*5)+40(0.9*2+0.1*10)=336ns Ans

    • @xor_255
      @xor_255 3 роки тому +2

      they've asked average per instruction, so we will divide by 336 by 200. 1.68 is the right answer.

    • @divyanshusingh6105
      @divyanshusingh6105 3 роки тому

      @@xor_255 yupp

    • @jatinsharma1915
      @jatinsharma1915 3 роки тому

      @@divyanshusingh6105 I have a doubt. In case of write back, why do the write back only when there is a cache miss? Suppose there is a hit, and that block is modified too, then also we should do write back for that block? So according to me the formula for effective time should be -
      Tavg = H*(tcm) + (1-H)*(t_block) + x * t_block : SIMULTANEOUS ACCESS
      Tavg = H*(tcm) + (1-H)*(tcm + t_block) + x * t_block : HIERARCHAL ACCESS
      writing x * t_block at the last, without multiplying it with hit or miss ratio, means that we do the write back at the end, no matter when there is a hit or miss.
      Why should write back be dependent on cache hit or cache miss?
      It is an operation that we do every time at the end and it should only depend on the fraction of blocks which have been modified.
      Therefore write back should have no relation with hit ratio. It should be only dependent on fraction of modified blocks.
      [Taught in Lecture 27 @ 01:00:00]

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

      @TECOC341 Pawan Nirpal don't overthink it dude. in gate whenever they ask average you have to divide it by something, else they would have framed it like "total time for sequence of instructions...". either way there will be options.

    • @chesin3590
      @chesin3590 3 роки тому

      So in this question you are not consdering the cache write through concept?? as in memory write scenario, you are including seperate time for both, cache write and main memory. why so??

  • @prateekjaiswal8849
    @prateekjaiswal8849 3 роки тому +2

    advantage and disadvantages of write back case
    😊 = Very less time required
    😔 = Coherence problem but data loss doesn't occur

  • @raviyadav2552
    @raviyadav2552 3 роки тому

    sir,where to go for the ppts

  • @explorewithsingh98
    @explorewithsingh98 3 роки тому

    Great teacher

  • @AS-we3zt
    @AS-we3zt 4 роки тому

    Very very nice teaching sir ji

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

    Day 15 of COA Prep :}

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

    GPK - 1 : 90ns
    GPK - 2 : 205.2ns

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

    GPK1. Answer 90 ns ?
    GPK2 Answer 246.8 ns ?

    • @rajendrakujur2078
      @rajendrakujur2078 4 роки тому +2

      Can you please confirm the GPK2 answer as it will be t(avg) = 12 + 0.1*(16*120 + 12) = 205.2
      and can u clear me one thing do we have to consider block size in bytes ?
      cause can you check once the units....
      t(block) = blocksize * t(main memory)
      here time to access block size units?
      Please do reply as I'm also facing in GPK problem

    • @it_25preetigupta86
      @it_25preetigupta86 3 роки тому

      @@rajendrakujur2078 we will consider block size in bytes bcz it is given in bytes and by default memory is byte addressable..I think your answer is correct.

    • @rajendrakujur2078
      @rajendrakujur2078 3 роки тому

      @@it_25preetigupta86 thanks 😊

    • @anujsahu9384
      @anujsahu9384 3 роки тому

      How gpk 2 answer is becomes 246.8 something it should be 205.2 please Explain

    • @anujsahu9384
      @anujsahu9384 3 роки тому

      Would you give me a gpk solutions

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

    What the heck !! How can someone dislike this video

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

    Is gpk2 answer 196.

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

    In the hierarchical access why aren't u multiplying hit with cache memory access time... But in the extended version u are multiplying. Seriously you are confusing us

    • @anmolpandey5692
      @anmolpandey5692 13 днів тому

      Go and Study the previous video, and then comment...

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

    Please provide PDF..

  • @valentinelove4343
    @valentinelove4343 3 роки тому +2

    the average m/m access formula do not seem make any reason to me. Seems like he has mugged it from somewhere and then he is just barfing off here!!!

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

    The most confusing lecture of the entire lecture series. Specifically each and every formula written for EMAT in this video lecture, probably needs more explanation... Other than the formula given for "write through" all the rest of the formula seems weird to be me... I do not how other people did not say anything about it... A request to others, please do not mug things up without the reason/logic behind the same... And I request sir, to make a more elaborate video discussing the formula...

    • @sudeepchowdhary2577
      @sudeepchowdhary2577 3 роки тому

      So bro, can u suggest some other resources to get better understanding of these formulas?

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

      Which formulae u didn't get tht mch bro?..I prepare my notes from different sources..I found this lecture consistent with all. But although it was too direct and let us made some assumptions...
      I can help or direct ...if u like

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

      @@sachinsd4663 Can u plz suggest some good sources to prepare?

  • @stormyblowerz6670
    @stormyblowerz6670 3 роки тому +2

    Each of the AMAT formula discussed in this lecture seems fuzzy to me. Probably the teacher himself does not know the stuff. Lol.
    " If you can't explain it simply, you don't understand it well enough." -Albert Eistein.
    I do not want to see how many Mtechs you have done, or how much rank you have received. It does not matter to me. All that matters is how you can explain complex topics that too without errors.

  • @suchandraghoshal548
    @suchandraghoshal548 3 роки тому +2

    IT SEEMS THAT THIS LECTURE IS THE WORST IN THE ENTIRE PLAYLIST. SAB Tavg KA KAISE ILL LOGICAL JAISE LAG RAHA HAI. SIR, EK MORE ELABORATE VIDEO BANAIYE NA. SAB FORMULA K WORKING KO ELABORATE KARKE, STANDARD BOOKS K REFERENCE DE KAR.