Exercise. Variable-sized partitions, address translation


Statement.

System memory size is 64 units and Operating System size is 4 units. The processes are allocated in the exercise table order.

Given exercise processes data, answer the questions:

  1. Fill in the table indicating which process is allocated in partitions according to allocation policy:
    Start
    partition sddress
    First Fit Best Fit Worst Set
    @4
    @14
    @19
    @23
    @38
    @48
  2. What is the formula used to know the physical address corresponding to the logical address of a process in contiguous memory management?
  3. Indicate the corresponding physical address of processes in the table. If the address does not match the logical address space of the process indicate error
    Process logical
    address
    physical
    logical
    P1 @ 3
    P1 @ 6
    P3 @ 0
    P5 @ 10

Data

Process Size
Units
Duration
Time
P1 5 ∞
P2 8 ∞
P3 3 ∞
P4 15 ∞
P5 2 ∞
P6 20 ∞

Are allocated into memory in the table order.