1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Best Fit (Memory Partitions)

  1. Mar 2, 2013 #1
    1. If you had 10, 50, 20, 30, and 60 KB in order and wanted to work with these incoming processes 21, 47, 5, 45 KB find the best fit.

    3. I know how to do 21 and 5 but for 47 and 45 I'm confused. Best fit says to produce the smallest left over hole. So, would I put 47 in 60 because it's smaller than 45 in 60?
    (21 would go into 30 and 5 would go into 10)
  2. jcsd
  3. Mar 2, 2013 #2


    User Avatar
    Homework Helper

    Best fit operates on the incoming processes one at at time, in the incoming order. There's no look ahead involved. For each process, best fit means to choose the smallest memory partition that the process will fit into.
  4. Mar 3, 2013 #3
    Thank You!!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted