2nd Chance Algorithm Example

  Рет қаралды 39,564

Casey Cole

Casey Cole

Күн бұрын

In this video, I will give another example of the 2nd chance page replacement algorithm. It will include many of the nuances you will face and how to solve them.

Пікірлер: 32
@erdmst2511
@erdmst2511 7 ай бұрын
You are the best'!!! Keep up the good work. I passed my Operating Systems quiz thanks to you. I can't thank you enough!!!! Greatings from Turkey !!!
@SarahJohnson-qi9dm
@SarahJohnson-qi9dm Жыл бұрын
Just helped me so much with my final exam tomorrow, thank you!
@Maria-md4po
@Maria-md4po 6 ай бұрын
thank you soo much , im glad that you included all the conditions in one question itself
@bilalkhanalizai
@bilalkhanalizai 4 жыл бұрын
Very nice video, Casey. In column 6, should it not be a page fault when page 7 gets loaded for the first time? I noticed there is no star with page 7 :)
@muzisyenruhlu3754
@muzisyenruhlu3754 11 ай бұрын
bro where are u from that's turkish english ı think
@bilalkhanalizai
@bilalkhanalizai 11 ай бұрын
@muzisyenruhlu3754 if your question is for me then I am Pakistani by origin but I live in the US (California)
@damageddude
@damageddude 11 ай бұрын
lol whats wrong about his english?@@muzisyenruhlu3754
@mahmutsezgin5745
@mahmutsezgin5745 2 жыл бұрын
nice example with all conditions, clear explanation
@caseygong6405
@caseygong6405 2 жыл бұрын
this output has no difference with purely FIFO... I still dont get it
@hobinh8744
@hobinh8744 6 ай бұрын
thank you so much, i cannot understand when i study at school but you help me a lót
@adilchaouch3513
@adilchaouch3513 4 жыл бұрын
Thank you! very instructive and clear
@Inetgrl361
@Inetgrl361 Жыл бұрын
How do I find out which page is the oldest, when I just iterate through the reference bit vector (which I do with this algorithm, right?)?
@플덩이
@플덩이 Жыл бұрын
It's a perfect example. Thank you
@Alex-ut4cc
@Alex-ut4cc 2 жыл бұрын
u miss an default page for the first 7
@ramizkaraeski586
@ramizkaraeski586 11 ай бұрын
Huge thanks Miss.
@ismailhadjir9703
@ismailhadjir9703 7 ай бұрын
Thanks for this detailed explanation
@Moemenmekadmini
@Moemenmekadmini 7 ай бұрын
Great explanation
@tebes11
@tebes11 6 ай бұрын
This exemple is wrong. In the classic second chance algorithm after inserting new data into a frame the reference bit must be set to 1. When starting at frame 0 after inserting 4 into the frame we have to set the reference bit to 1 in this frame. There is also a pointer showing which frame is the candidate frame (victim frame) to insert data at the next page fault. So a the the beginning all the reference bits a set to 0 and the pointer is set to frame 0. Inserting 4. Setting reference bit to 1. Moving pointer to the next frame (in this case frame 1). When there is no page fault the frame where the value is locate will have it bit set to 1 if not already. The pointer will still be set to the last frame in date.
@sebastianlv857
@sebastianlv857 2 ай бұрын
thats a different implementation
@comicmania76
@comicmania76 6 ай бұрын
That was good! Thanks Mam!
@yesbolbavarkhan9275
@yesbolbavarkhan9275 3 жыл бұрын
thank you a lot 👍
@יקירמעודה
@יקירמעודה 5 ай бұрын
wow thank you!!!
@Anis_dhia
@Anis_dhia 3 жыл бұрын
Thank you :)
@尺Eム卩E尺
@尺Eム卩E尺 3 жыл бұрын
Thank you
@imadeddineterraf2587
@imadeddineterraf2587 2 жыл бұрын
Thanks
@naziur_riaz
@naziur_riaz 2 жыл бұрын
thanks a ton
@muzisyenruhlu3754
@muzisyenruhlu3754 11 ай бұрын
smooth
@Serkanjim
@Serkanjim Жыл бұрын
thank u
@majdme842
@majdme842 2 жыл бұрын
Great great great
@oussamaXbs
@oussamaXbs 2 жыл бұрын
u gave the worst example
@massyliasarahaityahia
@massyliasarahaityahia 7 ай бұрын
thank you so much 🙏
@year6412
@year6412 3 жыл бұрын
thank you
The File Concept (OS)
17:13
Casey Cole
Рет қаралды 3,2 М.
Second Chance Algorithm
10:04
Dr. Robert Dimpsey
Рет қаралды 50 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 15 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 17 МЛН
Second Chance Page Replacement Algorithm in OS   Solved Problem
13:27
Simple Snippets
Рет қаралды 58 М.
What staying up all night does to your brain - Anna Rothschild
5:37
Page Replacement (OS)
29:29
Casey Cole
Рет қаралды 7 М.
The hidden beauty of the A* algorithm
19:22
Polylog
Рет қаралды 908 М.
Second Chance Algorithm - Page Replacement - Operating System
9:20
Second Chance Algorithm
11:02
Sonam Sharma
Рет қаралды 9 М.
Lec52:Second Chance Page Replacement Algorithm.
14:58
Engineering Wing
Рет қаралды 10 М.
Least Recently Used (LRU) Explanation
6:35
Tech Academy
Рет қаралды 479 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 15 МЛН