COA | Cache | Introduction to Direct mapping | Ravindrababu Ravula | Free GATE CS Classes

  Рет қаралды 505,478

Ravindrababu Ravula

Ravindrababu Ravula

Күн бұрын

For Course Registration Visit: ravindrababura...
. For Any Queries, You can contact RBR on LinkedIn: / ravindrababu-ravula
Telegram: t.me/ravindrab...
Instagram: / ravindrababu_ravula_rbr
If you're considering studying abroad, don't forget to explore 'Games of Visas,' my dedicated consultancy service and KZbin channel designed to streamline the process of studying abroad.
For Study Abroad, contact "Game of Visas" at 9494555454

Пікірлер: 235
@intrepid_grovyle
@intrepid_grovyle 5 жыл бұрын
"ill keep teaching until you say it is is easy" this man is an angel :') he's so nice and his explanation is so patient and clear. wish my prof was like this!!!
@MrEyee2
@MrEyee2 9 жыл бұрын
You Sir, just won my medal of tutorship respect, reserved for only those with godlike teaching abilities! Thanks.
@harshgupta399
@harshgupta399 7 жыл бұрын
Sir why teachers like you are not at our colleges?after studying from ur lectures I feel I'm wasting money in college
@cricketfunda2228
@cricketfunda2228 6 жыл бұрын
Good ..In my clg also teacher are not good..They waste students time
@aniapascua6528
@aniapascua6528 7 жыл бұрын
This video is great! Before I even finished watching it, I understood the concept. Was really stuck on my hw assignment, but after watching this was able to complete it in no time. Thank you so much!
@queenofmoderation7668
@queenofmoderation7668 6 жыл бұрын
God bless you! I cannot express how thankful I m for these awesome videos.
@amitmistry8283
@amitmistry8283 8 жыл бұрын
O Boy! You make the world simple , I was literally hitting down my head in computer Architecture book. What a simple example and explanation you show here understood the concept very clear sir. Hats off ! Marvelous work. Thank you very very much...
@jrobinraj666
@jrobinraj666 8 жыл бұрын
Sir, Respect ++ You make concepts very clear. I trust you more than my books;) I like the way you end your every lecture with a tick on the board.
@tsvmanojturlapati4492
@tsvmanojturlapati4492 3 жыл бұрын
GOD BLESS YOU WITH ALLKINDS OF WEALTH SIR.ALL DOUBTS CLARIFIED WITH ONE VIDEO.
@MyCrazyguitarman
@MyCrazyguitarman 4 жыл бұрын
Dude. You are an amazing teacher. Thank you so much for this.
@Mbc43m276
@Mbc43m276 7 жыл бұрын
Cant thank this man enough. One of the best lectures
@TheDevika001
@TheDevika001 6 жыл бұрын
after going through so many books, ppts and PDFs . Finally I understood Direct Mapping🙏
@canberkardc6704
@canberkardc6704 7 жыл бұрын
After 20 videos,I can understand Indıan accent xd Thank you sir you da one
@dharijan84
@dharijan84 6 жыл бұрын
Sir I never doubted your lectures until today so, can you please tell me how did that line at 21:19 appear creepily? It feels like i took a little detour in the middle of your lecture and went straight to Paranormal Activity series!
@swapnilpalande79
@swapnilpalande79 8 жыл бұрын
if i clear my exam than all credit goes to u sir........ best teacher ever i found.........
@NoajmIsMyName
@NoajmIsMyName 5 жыл бұрын
21:12 What causing that ink at the bottom ? lol
@pg9280
@pg9280 6 жыл бұрын
Was of great help.. thank you.. pls keep uploading more videos on comp. Architecture
@radhesham4653
@radhesham4653 9 жыл бұрын
Thanks allot Ravindrababu Ravula.... Your lectures are very much helpful, specially this one on Cache and its mapping techniques. I had made PPT slides for all the mapping techniques as you had explained. i want to share it also so that people can get benefit of it. Thanks
@jayasankerm3353
@jayasankerm3353 6 жыл бұрын
Sirr....i want a teacher like u Superb sir. I like ur classes so much 👌👌
@naeemshaikh6790
@naeemshaikh6790 8 жыл бұрын
At 23.27 while mapping the block numbers with the line number 1, i think there is mistake while calculating the words to be loaded in line 1. The correct words in line 1 should be 20,21,22,23. ( Tag for Line 2 is : 01 Line number : 01 so the address formed will be 01 01 00, 01 01 01, 01 01 10, 01 01 11 that gives u 20, 21 , 22 and 23). Check it out, I might be wrong in doing this.
@TastyLaserCakes
@TastyLaserCakes 8 жыл бұрын
Remember that Line #1 can hold the following blocks from main memory. Line #1 can hold blocks (1, 5, 9, 13). Block #13 can be represented by the following most significant 4-bits (1101). Breaking this into their Tag and Line# counterparts we have the most significant 2-bits as (11) representing Tag while the least significant 2-bits (01) represents the Line #1. This allows us to see that Line #1 in cache is actually holding contents of Block #13 of main memory, these contents being (52, 53, 54, 55) as seen in the video. Notice that Tag 11 is also found in Line# 3 (1111). Tag (11) Line# (11). I hope this helps.
@rammohan3876
@rammohan3876 8 жыл бұрын
In the video what he expalined is corret... let me clear you. in line 1, 1,5,9 and 13 blocks can occupy. 13 the block words are 52,53,54,55. so his explanation is correct. he explained in this section in terms of word accessing. Hope this is clear :)
@ayahawari5242
@ayahawari5242 8 жыл бұрын
this is just a scenario... each line can get a tag either 00 or 01 or 10 or 11
@franciscomelojunior2535
@franciscomelojunior2535 8 жыл бұрын
I was wrong, 1101: 13 block line, which are the numbers 52,53,54,55
@ibrar406
@ibrar406 8 жыл бұрын
he tells us the tag for line 1 is '11'. Why are you looking at tag for line 2, if were mapping for line 1?
@arpitasinha4163
@arpitasinha4163 8 жыл бұрын
Hello sir, I donot understand in the last part of video that why you have taken the cache tag no as- 00,11,10,11 i think it should be like- 00,01,10,11 because in your first eg you said that while mapping main memory block number with cache line no- you said that least significant bits (00) will occupy cache line 0. Similarly least significant bits (01) will occupy cache line 1 and so on. please help me understand this. Regards
@aanishparuchuri4047
@aanishparuchuri4047 5 жыл бұрын
some good stuff It would be great if you could arrange your playlist in order for computer organization and also add the video "direct mapping problems" to it.
@crescenciomirandaferrol5027
@crescenciomirandaferrol5027 5 жыл бұрын
Sir, I think there is a mistake aronf 29:44 in the tags associated with the 4 block cache memory. What you say to be a hit, I think is a miss because second line is 01 not 11 as you wrote. Please, tell me if I am wrong. Thanks.
@vellankisaipradeep4306
@vellankisaipradeep4306 6 жыл бұрын
i dont want u all not to miss any of these.... u won my heart sir ,,, thanks
@maximus370
@maximus370 8 жыл бұрын
Things get spooky at 21:19 at the bottom left of the screen XD Great video though
@sensi59
@sensi59 7 жыл бұрын
agree :D
@sathyaramesh6978
@sathyaramesh6978 7 жыл бұрын
What was dat...ha ha
@random23579
@random23579 6 жыл бұрын
man, you're a genius. no one could explain it better
@kamilia4461
@kamilia4461 4 жыл бұрын
indian tutorials are amazing and you're the top one .......thank you sooooo much
@venkannachimata6946
@venkannachimata6946 6 жыл бұрын
Thank you sir for ur great leacture, it helps me a lot..
@kunalsinghgusain2070
@kunalsinghgusain2070 6 жыл бұрын
18:20 because value of last two bits is equivalent (block number) mod 4.
@KENILDINESHPATELBCE
@KENILDINESHPATELBCE 9 жыл бұрын
Thank you sir.........the lecture has been very useful!
@supriyalakkam9953
@supriyalakkam9953 7 жыл бұрын
No mistakes in the lecture everything is clear. I am ur great fan sir thank you so much... 💗
@djigi2002
@djigi2002 6 жыл бұрын
there is a mistake 21.50 location in the video, u can find that he has written 1 as 11 under the tag column, which is i suppose wrong.
@bucky3300
@bucky3300 6 жыл бұрын
Tanmoy Debnath bulls eye 👁️‍🗨️ apart from that small mistake the lecture is osm and very helpful
@gauravgaur5014
@gauravgaur5014 5 жыл бұрын
@@djigi2002The tag and line number need not be same,the tag if taken as 11 generates blocks 52,53,54,55 in the cache whereas the tag value of 01 for the same line 1 will generate blocks 20,21,22,23 in the cache.
@SaranshPagey
@SaranshPagey 9 жыл бұрын
Thankyou So Much Sir, It helped me alot on last day of my exam. You have awesome teaching skill and i got that easily :)
@mingmou9762
@mingmou9762 4 жыл бұрын
Such a detailed explanation, it helped me a lot, thank you!!!
@anitamazumder_songs
@anitamazumder_songs 3 жыл бұрын
Your way of explanation is really good.
@mnitcse5523
@mnitcse5523 8 жыл бұрын
for block 4(in mm) = 0100 (block_no=> tag = 01 and line no. = 00 ) right so why block 4 is present in line no. 00 with tag 00 (in cache memory) ? observe that tags are different but line no. is same plz correct me at 20:55
@siddharthbhonsle9514
@siddharthbhonsle9514 7 жыл бұрын
u just saved me from getting a back 😂 keep teaching this way and nobody will fail.. 😊
@ashishsharma696
@ashishsharma696 7 жыл бұрын
What would be the mapping of blocks to lines if main memory size is 20 words?
@sravanraja72
@sravanraja72 4 жыл бұрын
You are awesome sir and I understand it very well. They way you reached is like cake walk.thanks a ton.
@bhavikthanki8821
@bhavikthanki8821 5 жыл бұрын
Sir I have one question how can be tag no 2 blocks are same ??? In this example two lines have same tag 11..
@seesharpcoder
@seesharpcoder 5 жыл бұрын
This is just an example. You need not to put tags in in any sequential manner necessarily.
@Jeetu0301
@Jeetu0301 5 жыл бұрын
@27:00 What is the logic. 15 concatenated with two 0's?
@aakarshitsrivastava6888
@aakarshitsrivastava6888 4 жыл бұрын
All my doubts get cleared by your explanation thanks a lot Sir
@tharunps8048
@tharunps8048 4 жыл бұрын
You really have an awesome teaching skill
@AhtishamAbbasiOffical
@AhtishamAbbasiOffical 7 жыл бұрын
its not an precise way .sir if this example is that m.m=4GB then how to manage it ???we cannot make such type of conversion which u draw in a map of just 16 block
@neeta123ist
@neeta123ist 8 жыл бұрын
Very good lecture! thank u sir!
@cruisingtraveller7218
@cruisingtraveller7218 4 жыл бұрын
How are we deciding the size of Block number and Block offset?
@aayush5474
@aayush5474 5 жыл бұрын
honestly if there was no 75% attendance mandatory in indian colleges i would sit at home and watch ur lectures
@sukhjindersingh6485
@sukhjindersingh6485 5 жыл бұрын
It's very helpful Thank you sir.🌺
@christinrajesh1325
@christinrajesh1325 6 жыл бұрын
Sir can you explain this lecture with no of blocks are 32 and the no.of lines=8 . I have a doubt in this .how will you take the tag value? Please anyone explain.
@lexlee6625
@lexlee6625 6 жыл бұрын
Quick question: Does the TAG refers to which memory block is in the cache line? For example, for the cache line at position 0 (the first cache line), memory blocks 0, 4, 8 and 12 are loaded inside. Thus they each take up position number 0, 1, 2 and 3 respectively. Hence, if the TAG is 10 (2 in decimal) , does this mean that only the memory block that is supposedly in the second position (memory block #8 in this case) is loaded into that cache line and the rest aren’t? Help is greatly appreciated thanks!
@fahadbinkhalidpk
@fahadbinkhalidpk 6 жыл бұрын
Yes, you are right!
@sachingaur7752
@sachingaur7752 5 жыл бұрын
I was impressed when I saw your video first time since then you're my ideal person. salute for your effort.
@mahendernaik653
@mahendernaik653 6 жыл бұрын
U have used two 11 , so when tag bit refers 11 then which is responded ? Does tag bit depends on line bits?
@noormuhammad7301
@noormuhammad7301 6 жыл бұрын
A.a Sir g why our teacher not teach us like you , after listen your lecture i am feeling very happy sir ALLAH Bless you and show the right path our teachers that makes the student life difficult .
@ishikasingh9555
@ishikasingh9555 6 жыл бұрын
even du pros arent this gr8!!! amazing sir...ur way of explaining is just awesome
@soumyajyotidas6449
@soumyajyotidas6449 6 жыл бұрын
What will be the block offset and block number if block size is 1 word?
@kyrinky
@kyrinky 9 жыл бұрын
Can anyone please tell me what he says around minute 7:45; he is explaining why it's 6 bits but I does not matter what I do I cannot understand what he says right after, why is the address bits? I am truly sorry for sounding rude, I am not entitled to any of this.
@kyrinky
@kyrinky 9 жыл бұрын
+Kyrinky Looked it up and found that 2^n =64 [words in main memory] is the formula used to find how many bits each address will have; in this case, our n must be 6 since 2^6=64.
@obelix_gaul
@obelix_gaul 9 жыл бұрын
+Kyrinky Yes main memory can hold 64 words for this example, so it can be represented using a minimum 6 bits, that is 2^6= 64
@rajatrana2020
@rajatrana2020 8 жыл бұрын
+Kyrinky Thanks ..I too didn't get it at first
@rammohan3876
@rammohan3876 8 жыл бұрын
Yes you are correct.... all addresses will be calculated with 2^n formula. here 6 bits 2^6=64 addresses/bytes/words what ever you treat them.
@dheerajgupta1421
@dheerajgupta1421 8 жыл бұрын
Madhu Kashyap other way u can say like this suppose if u have k bits then total addressable memory location could be 2^k. there 64 memory words are taken so 64=2^6
@worldcitizen7890
@worldcitizen7890 4 жыл бұрын
(Block Address) modulo (Number of blocks in cache) This is how you get block address in direct mapped cache
@l.v.sedits231
@l.v.sedits231 10 ай бұрын
sir ,where can i find some notes/material to this topic
@rajbrothers5113
@rajbrothers5113 9 жыл бұрын
i didn't get whether the cache lines contain block no. or the words.and How the tag is assigned in the cache lines, is it random or depends upon the previous operations or else ?
@rajatrana2020
@rajatrana2020 8 жыл бұрын
Cache lines are just the replica of blocks in MM. They have the content of Block
@cookingisfun6231
@cookingisfun6231 10 жыл бұрын
sir pls upload the remaining section of dbms...
@soumyajyotidas6449
@soumyajyotidas6449 6 жыл бұрын
sir in the cache,how is the tag 00,01,10,11 getting in the lines of cache
@SunnyKumar-wp6wp
@SunnyKumar-wp6wp 7 жыл бұрын
Really your teaching is gud.. keep it up....... I will share your channel in my college.... ..
@keshavshinde8886
@keshavshinde8886 5 жыл бұрын
after three time repite lec finaly i am understand .....tnx sir
@chinmayachowdary
@chinmayachowdary 7 жыл бұрын
Great explanations. I had gone through few of your lectures.
@swathik3491
@swathik3491 5 жыл бұрын
sir in tag field why the 2-bit combination 00 11 10 11 at time 21:40 plz someone explains me
@kunalalandkar2597
@kunalalandkar2597 5 жыл бұрын
In tag field we can put any 2 bit value, it may be probablity that all tag field contain 11 11 11 11 also.
@nimeshranatunge734
@nimeshranatunge734 5 жыл бұрын
Superb explaining....thanks sir
@karthik23839
@karthik23839 4 жыл бұрын
why the second tag is 11, its supposed to be 01 ri8?
@kartikchauhan5498
@kartikchauhan5498 8 жыл бұрын
I don't know if anyone noticed it or not but at 21:14 something drops on the board at the bottom right corner. I guess that is Ink but it really looked weird how it spilled over the board...
@ShashwatVikram
@ShashwatVikram 8 жыл бұрын
Paranormal Activity :)
@MrMasterRhythm
@MrMasterRhythm 7 жыл бұрын
I was looking in the comments to see if anyone else noticed this too! hahaha!
@rupshree8994
@rupshree8994 8 жыл бұрын
very nice ...explanation sir how can I get your full video lecture of computer organization
@ThePotentialCrisis
@ThePotentialCrisis 8 жыл бұрын
Great Video! Very easy to understand and very helpful. Thank you.
@mianroshaan2830
@mianroshaan2830 6 жыл бұрын
At 22:05 when you describes tag , you took 11 that represents two tag can we do this? tags should be unique isn't it?
@KR-pj6ol
@KR-pj6ol 7 жыл бұрын
@ 21:19 something strange is happening on the board, at the bottom side!!!!!1
@anujn1184
@anujn1184 5 жыл бұрын
i have a query sir at 25:04 you multiplied 13 with 4 i got the logic of 13 but not of 4 can you help and also how did you write the tag numbers(11 is repeating) i did not get that as well pls.... help
@BhupenderSingh98
@BhupenderSingh98 5 жыл бұрын
It's about shifting in binary, 2 more bits are added, left shift, multiply by 4
@Banarasiya-1
@Banarasiya-1 6 жыл бұрын
I think there is mistake at 21:32
@shivanisrivarshini180
@shivanisrivarshini180 7 жыл бұрын
Can anyone say is the tag value of cache is fixed or will change and how its getting worked im a bit confused with tag bits of cache
@omkarwarade1455
@omkarwarade1455 6 жыл бұрын
Same here
@naveen9835
@naveen9835 10 жыл бұрын
thank u sir jee ............. pls add remaining lec of Computer networking..................again thank u
@soumyadatta223
@soumyadatta223 9 жыл бұрын
Naveen Kumar can u tell why tag of second line is 11
@PratikRatnaparkhi
@PratikRatnaparkhi 9 жыл бұрын
was there a mistake in 21.51, when you draw another cache diagram on the board, you divide four memory blocks as, 00,11,10,11, when i thought it would be 00,01,10,11. please correct me if I am wrong, that was confusing for me.
@kyrinky
@kyrinky 9 жыл бұрын
+Pratik Ratnaparkhi I think it is an error, I agree with you. It might help future viewers from getting confused.
@obelix_gaul
@obelix_gaul 9 жыл бұрын
+Pratik Ratnaparkhi Yes you are right the second tag should be 01 and not 11, but the logic is understandable...
@TeoB832
@TeoB832 9 жыл бұрын
+Pratik Ratnaparkhi Those are the TAG bits for the cache lines. I think he just chose arbitrarily. For the second line as is, it would translate to "block number 1101 is here right now." If the TAG was 01 like you said, it would just translate to "block number 0101 is cached here right now." PS: Any of blocks 0001, 0101, 1001, and 1101 can be cached to that location.
@IsmailHossain-dz5nt
@IsmailHossain-dz5nt 9 жыл бұрын
+Pratik Ratnaparkhi I agree with +TeoB8 on this. The tags are arbitrary and could have been 00,01,10,11. For Tag = 11, the words were 52,53,54,55 from line 13. But had he chosen the tags to be 01, the words would've been 20,21,22,23 from line 5.
@kijidada
@kijidada 8 жыл бұрын
He says it is just a configuration... there might be 01 in the place of 11 at the 2nd cache line. Actually the CPU doesn't search with the tag number..rather it searches with the Cache line number... so Tag number can be repeated but Cache line number cannot... Hope this helps.. :)
@himanshutomar7187
@himanshutomar7187 7 жыл бұрын
will bit offset be always last 2 significant digit of the address generated by cpu
@nalinasuresh9567
@nalinasuresh9567 7 ай бұрын
I did not understand how two taga on Cache has tag=11 ?
@radhikagarodia2477
@radhikagarodia2477 8 жыл бұрын
Can u please tell me the link of ur os paging video!!
@Uniquethinker1729-v5u
@Uniquethinker1729-v5u 5 жыл бұрын
Excellent explanation all my doubts are cleared
@MegaArjun2
@MegaArjun2 6 жыл бұрын
hi sir i really like the way you teach and the way you talk about each topic. Can i know if take one on one training for any subjects. thanks for your efforts.
@bhavanabhavs9314
@bhavanabhavs9314 7 жыл бұрын
I need videos on address sequencing pls
@Notoriouszyanga
@Notoriouszyanga 9 жыл бұрын
cache hit.rightBeforeExam.
@jagadishbagul8634
@jagadishbagul8634 5 жыл бұрын
sir, I am not able to find your lecture on paging . can you please provide me the one.
@mdelyaz4494
@mdelyaz4494 8 жыл бұрын
i didn't get whether the cache lines contain block no. or the words.and How the tag is assigned in the cache lines, is it random or depends upon the previous operations or else ...................
@rammohan3876
@rammohan3876 8 жыл бұрын
cache line whole = block number = tag + line number. tags are assigned inline with line number + block number....
@subalakshmiramadass681
@subalakshmiramadass681 8 жыл бұрын
line contains block num not words . the confusion here is how 4 blocks in each line but actually one block only(whenever we need 0/4/8/12 it goes only to line 0- only one at a time) accommodate the line
@abhirupray2494
@abhirupray2494 5 жыл бұрын
Why the second tag is always 11?can you please explain
@kashifshinwari8597
@kashifshinwari8597 6 жыл бұрын
sir u clear my mind completly, tnks alot of...
@nishantbaranwal7107
@nishantbaranwal7107 8 жыл бұрын
sir i got confused, firstly you used round robin for putting words in cache memory, then while solving your example, they were not arranged in round robin order. plz clarify it
@TAMOGHNAMAITRABCE
@TAMOGHNAMAITRABCE 8 жыл бұрын
Awesome explanation
@Bulu-nj8ci
@Bulu-nj8ci 6 жыл бұрын
I can't understand how processor generate 6 bit addresss
@abhinavs03
@abhinavs03 6 жыл бұрын
that is just a example for simplicity.
@rimpinag6346
@rimpinag6346 4 жыл бұрын
Sir plz complete the Computer and Organization for CSE
@rimpinag6346
@rimpinag6346 4 жыл бұрын
@@ravindrababu_ravula okk sir
@pravip2716
@pravip2716 6 жыл бұрын
Sir,it made me to understand co well please upload more videos
@jai9958
@jai9958 7 жыл бұрын
i like the class..thankyou :) but , i have a doubt.. sir; At time 2:45 you said that block size is equal to line size..but at 14:20 you mapped 4 blocks into a line using many to one function. i didn't understand how 4 blocks can exist in a line .
@kuelf123
@kuelf123 6 жыл бұрын
Many to one is just the mapping style. It only means that any block among those four blocks when referenced is moved to that line. Only one of those four blocks will reside in that cache line at a time
@malhardeshmukh9095
@malhardeshmukh9095 5 жыл бұрын
@6:50 blocks and lines aren't the same?
@xenosgaming5837
@xenosgaming5837 7 жыл бұрын
sir how will this method work if 1 word is equal to 2bytes .
@gohjingxuan3821
@gohjingxuan3821 9 жыл бұрын
THANKS FOR THE EXPLAINATION BEST TEACHER EVER
@mrgkpro
@mrgkpro 6 жыл бұрын
Thank you very much, sir. I think I'm wasting time at my university
@abhishekdk5040
@abhishekdk5040 7 жыл бұрын
why do we need tag when we have block offset?
@Anurag-hs6nu
@Anurag-hs6nu 6 жыл бұрын
12:20 thumbnail 😌
@rubengarcia9906
@rubengarcia9906 9 жыл бұрын
Thank you so much Ravi your encouragement at min 23. is so thoughtful of you
@BhupenderSingh98
@BhupenderSingh98 5 жыл бұрын
I can help with the subtitles, let me know if you want it
10. Understanding Direct Mapping - Computer Organization - Gate
11:31
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 42 МЛН
How a CPU Works
20:42
In One Lesson
Рет қаралды 8 МЛН
Introduction to Cache Memory
6:56
Neso Academy
Рет қаралды 218 М.
Set Associative Mapping
10:52
Neso Academy
Рет қаралды 165 М.
Ep 075: Direct Mapped Caches
14:32
Intermation
Рет қаралды 51 М.
Direct Memory Mapping - Solved Examples
10:48
Neso Academy
Рет қаралды 334 М.
Direct Memory Mapping
8:43
Neso Academy
Рет қаралды 368 М.
Writing to caches
13:51
CompArchIllinois
Рет қаралды 74 М.