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

  Рет қаралды 35,870

Unacademy Computer Science

Unacademy Computer Science

Күн бұрын

Пікірлер: 55
@Bhakt-so2qm
@Bhakt-so2qm 2 жыл бұрын
@24:27 If the given cache organisation is hierarchical the the formula of Tavg = hit*tcm + (1-h1) h2(t2+t1)
@SecretEscapist
@SecretEscapist Жыл бұрын
Amazing lecture from an amazing teacher 🥰 Start Time: 7:13
@NDA-CADET
@NDA-CADET Жыл бұрын
Thanks bro after seeing your comment i started the video at 7:13 🤣😅
@hareshparab7808
@hareshparab7808 18 күн бұрын
i always search for you comment😅
@FunkSachuA2ZSolutions
@FunkSachuA2ZSolutions Жыл бұрын
Crystal clear concept with unique examples 😊
@FunkSachuA2ZSolutions
@FunkSachuA2ZSolutions Жыл бұрын
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 11 ай бұрын
Yes, all answers marched. Just q3 will have 0.4167 or 5/12
@shubhamagarwal5721
@shubhamagarwal5721 11 ай бұрын
@@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 11 ай бұрын
@@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 8 ай бұрын
@@shubhamagarwal5721 u forgot to add miss penalty, so ur eq will be tavg = 0.9 * 15 + 0.1 * (15 + 8*80+15)
@co_23_prajwal79
@co_23_prajwal79 3 ай бұрын
GOAT of COA
@_strangelet__
@_strangelet__ Жыл бұрын
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 Ай бұрын
Is BLOCK-SIZE differs , due to different configurations of R.A.M ( MAIN MEMORY ) on the basis of BYTE ADDRESSIBLE or WORD ADDRESSIBLE ?
@mohdadil2875
@mohdadil2875 2 жыл бұрын
34:35 gajab example :)
@shwetalavania2864
@shwetalavania2864 Жыл бұрын
Thanku Sir!!!! Your way of teaching create mapping of concept. 😊🙏🏻
@divyanshi7765
@divyanshi7765 Жыл бұрын
Sir, Thank a lot I can't say for your amazing teaching method😍❤️😍
@mr.jacker3951
@mr.jacker3951 Жыл бұрын
Thanks u sir ji for great playlist
@mayanktamrkar308
@mayanktamrkar308 3 жыл бұрын
Great session 👍👍👍❤️❤️❤️❤️❤️❤️
@tusharkachouli3953
@tusharkachouli3953 2 ай бұрын
Where i can find pdf?
@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?
@shubhamkumarprasad481
@shubhamkumarprasad481 Ай бұрын
great lec🙇‍♀
@bhaveshsuthar9764
@bhaveshsuthar9764 2 жыл бұрын
Thanks for such amazing lectures!
@soumyadeepbarik5711
@soumyadeepbarik5711 3 жыл бұрын
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.
@royalking6714
@royalking6714 3 жыл бұрын
7:00
@athiyanavneeth7152
@athiyanavneeth7152 3 жыл бұрын
Happy happy learning. ☺️🙂☺️🙂👌👌👌
@soumyadeepbarik5711
@soumyadeepbarik5711 3 жыл бұрын
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)
@Mistuk_Roy
@Mistuk_Roy 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.
@soumyadeepbarik5711
@soumyadeepbarik5711 3 жыл бұрын
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.
@ramkumarramkumar-du5il
@ramkumarramkumar-du5il 2 жыл бұрын
value for investing time in watching this video sir
@AmanKumar-jv4sv
@AmanKumar-jv4sv Жыл бұрын
best in the business
@udaysisodiya175
@udaysisodiya175 2 жыл бұрын
Great teaching way
@saifmd1729
@saifmd1729 Жыл бұрын
amazing sirr
@gtxananth7742
@gtxananth7742 3 жыл бұрын
Great teaching sir
@MrSagarBiswas
@MrSagarBiswas Жыл бұрын
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 Жыл бұрын
bhai 4th ka 136 ns hoga @@nirbhaykumarchaubey8777
@shubhamagarwal5721
@shubhamagarwal5721 11 ай бұрын
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 11 ай бұрын
@@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.
@vinayakpuri3855
@vinayakpuri3855 2 жыл бұрын
Thanks sir 😌
@soumyadeepbarik5711
@soumyadeepbarik5711 Ай бұрын
May any one give the answer of HOME WORK- 2.
@varshuvarshitha9425
@varshuvarshitha9425 4 күн бұрын
please take 200ns as tmm and 50ns as tcm and tavg as 65ns and calculate hit ratio hope it helped
@soumyadeepbarik5711
@soumyadeepbarik5711 4 күн бұрын
@varshuvarshitha9425 ok bro dekhte hai
@robinskumar4645
@robinskumar4645 Жыл бұрын
24:31 you missed H*Tcm final answer will be 7/8
@Nikhilmod440
@Nikhilmod440 3 ай бұрын
Koi question 5 bata do bro
@badalbihari7893
@badalbihari7893 Ай бұрын
Abhi tak 30 lecture attend Kiya apka concept acha hai
@iitiananmol-l3n
@iitiananmol-l3n Жыл бұрын
@pawanparashar2685
@pawanparashar2685 3 жыл бұрын
👍
@haryanvimukeshbhodiwaal689
@haryanvimukeshbhodiwaal689 Жыл бұрын
❤❤
@sameersaurav4203
@sameersaurav4203 Жыл бұрын
🌭🍕
@ammanagrawal762
@ammanagrawal762 11 ай бұрын
At 32:25 😂😂😂
Cache Mapping: Direct Mapping Introduction | L 31 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:10:38
Locality of Reference and Cache Memory | L 29 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:16:38
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
How DMA Works? |  L 21 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:06:47
Unacademy Computer Science
Рет қаралды 42 М.
Types of Instruction Pipeline Hazards | L - 51 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:12:43
Write Back  vs   Write through  in Cache Memory | Cache memory |COA Lecture series
11:07
LS Academy for Technical Education
Рет қаралды 41 М.
Practice Questions on Cache | L 39 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:10:14
Unacademy Computer Science
Рет қаралды 12 М.
Direct Memory Mapping - Solved Examples
10:48
Neso Academy
Рет қаралды 326 М.
Pipeline Processing Introduction | L-46 | COA 2.0 | GATE 2022 | Vishvadeep Gothi
1:09:43
Unacademy Computer Science
Рет қаралды 36 М.