OS-09-Memory

download OS-09-Memory

of 20

Transcript of OS-09-Memory

  • 8/7/2019 OS-09-Memory

    1/20

    1

    Madnick & Donovon, Operating Systems,

    McGraw-Hill.

  • 8/7/2019 OS-09-Memory

    2/20

    2

  • 8/7/2019 OS-09-Memory

    3/20

    3

  • 8/7/2019 OS-09-Memory

    4/20

    4

  • 8/7/2019 OS-09-Memory

    5/20

    5

  • 8/7/2019 OS-09-Memory

    6/20

    6

  • 8/7/2019 OS-09-Memory

    7/20

    7

    Given memory partitions of 12KB, 7KB, 15KB, 20KB, 9KB, 4KB,

    10KB, and 18KB (in order), how would each of the first-fit and

    best-fit algorithms place processes of 10KB, 12KB, 6KB, and 9KB

    (in order)?

  • 8/7/2019 OS-09-Memory

    8/20

    8

  • 8/7/2019 OS-09-Memory

    9/20

    9

  • 8/7/2019 OS-09-Memory

    10/20

    10

  • 8/7/2019 OS-09-Memory

    11/20

    11

  • 8/7/2019 OS-09-Memory

    12/20

    12

  • 8/7/2019 OS-09-Memory

    13/20

  • 8/7/2019 OS-09-Memory

    14/20

    14

  • 8/7/2019 OS-09-Memory

    15/20

  • 8/7/2019 OS-09-Memory

    16/20

  • 8/7/2019 OS-09-Memory

    17/20

    17

  • 8/7/2019 OS-09-Memory

    18/20

    18

  • 8/7/2019 OS-09-Memory

    19/20

    19

  • 8/7/2019 OS-09-Memory

    20/20

    20