Worst Fit:
- The memory manager places process in the largest block of unallocated memory available. The ides is that this placement will create the largest hole after the allocations, thus increasing the possibility that, compared to best fit, another process can use the hole created as a result of external fragmentation.
First Fit:
· Another strategy is first fit, which simply scans the free list until a large enough hole is found. Despite the name, first-fit is generally better than best-fit because it leads to less fragmentation.
Problems:
- Small holes tend to accumulate near the beginning of the free list, making the memory allocator search farther and farther each time.
Next Fit:
· The first fit approach tends to fragment the blocks near the beginning of the list without considering blocks further down the list. Next fit is a variant of the first-fit strategy.The problem of small holes accumulating is solved with next fit algorithm, which starts each search where the last one left off, wrapping around to the beginning when the end of the list is reached (a form of one-way elevator).
Good job and good try! Hope it will be benefited to us!
ReplyDeleteok..good job
ReplyDeletegood job and good try
ReplyDeleteokey...good job..:)
ReplyDeletevery smart and perfect. good job
ReplyDeletelike..g0od
ReplyDeletegood2..
ReplyDeleteokey...good job
ReplyDeletethis is a great jobs ..
ReplyDeleteexcellent bro ..
thnks
ReplyDeletenice....good job...
ReplyDeletegood presentation....
ReplyDeleteA GOOD WORK
ReplyDeleteYOU MUST BE GROWING MORE ENGLISH LANGUAGE SKILLS
good el...
ReplyDeletegud job el....keep it up
ReplyDeletegoob job..el
ReplyDelete