Pehle hum "first-fit vs best-fit" ki baat kar sakein, usse pehle humein har woh word samajhna hoga jis par parent note ne rely kiya tha: cell, address, block, hole, base + length, the set symbol{…}, size∣hi∣, the requests, the inequality≥, aur leftoverH−s. Hum inhe ek ek picture se build karenge.
Yeh topic ko kyun chahiye. Har baad wala idea — "base B par ek block", "address 200 se 400 tak ek hole" — bas inhi numbered boxes ka ek range hai. Agar aap addresses ka ruler nahi dekh sakte, toh (base, length) ki koi bhi language samajh nahi aayegi. Address, memory ka coordinate system hai.
"Contiguous" (unbroken) kyun matter karta hai. Ek program expect karta hai ki uski memory ek seedhi stretch ho taaki woh simple counting se cell to cell ja sake (B, phir B+1, phir B+2...). Agar OS use do alag pieces deta, toh address B+5 kisi aur ki memory mein land ho sakta tha. Woh ek word — contiguous — hi puri wajah hai ki placement mushkil hai.
Yeh topic ko kyun chahiye. Poora game yeh hai: ek program room maangta hai, aur OS ko ek big enough hole dhundhnaa padta hai. Parent note ki "Swiss cheese" picture exactly figure s03 hai — filled blocks (busy) aur holes (free) ek dusre ke baad aate hain. Placement rules sab kaunsa hole choose karein ke liye recipes hain.
Yeh notation kyun. Humein "saare holes" ki baat karni hai ye jaane bina ki kitne hain. Subscript humein general cheezein kehne deta hai jaise "har hole hi ke liye" instead of haath se A,B,C,D,E likhne ke. Yeh sirf ek bookkeeping shorthand hai, kuch zyada nahi.
Inequality kyun, equals kyun nahi. Requests almost kabhi ek hole se exactly match nahi karti. Hum perfect-size hole demand nahi karte; hum big-enough waali demand karte hain, phir jo piece chahiye woh kaat lete hain. ≥ exactly usi "big enough" idea ko capture karta hai — poore topic ka sabse zyada use hone wala test.
Yeh ek formula topic ka heart kyun hai. Har placement rule ko uske leftover se judge kiya jaata hai. Best-fit H−s ko chhota (tight fit) banane ki koshish karta hai; worst-fit H−s ko bada (reusable chunk) banane ki. Subtraction H−s literally woh number hai jis par first-fit, best-fit, aur worst-fit argue karte hain.
Dono kyun matter karte hain. Yeh do words un failure modes ko naam dete hain jiske against placement rules ladte hain. Poori treatment ke liye Fragmentation dekho; yahaan humein bas inhe picture se pehchanna hai: external = blocks ke beech waste, internal = block ke andar waste.
Upar se neeche padho: address ruler blocks ko meaningful banata hai, blocks holes ko meaningful banate hain, holes ek free list mein ikatthe hote hain, size bars humein ∣hi∣≥s test karne dete hain, woh test aur leftover H−s placement rules drive karte hain — aur leftovers fragmentation mein pile up ho jaate hain. Ab parent note (parent topic) plain English ki tarah padha jaayega.