os_1_mlq_paging

mail@pastecode.io avatar
unknown
c_cpp
a year ago
5.0 kB
8
Indexable
Never
/Users/khangnguyen/libr/College/SEM222/OS/btlos/os os_1_mlq_paging
Time slot   0
ld_routine
Time slot   1
	Loaded a process at input/proc/p0s, PID: 1 PRIO: 130
Time slot   2
	CPU 3: Dispatched process  1
	Loaded a process at input/proc/s3, PID: 2 PRIO: 39
Time slot   3
	CPU 2: Dispatched process  2
Time slot   4
	Loaded a process at input/proc/m1s, PID: 3 PRIO: 15
	CPU 3: Put process  1 to run queue
	CPU 3: Dispatched process  1
	CPU 1: Dispatched process  3
Time slot   5
	CPU 2: Put process  2 to run queue
	CPU 2: Dispatched process  2
Time slot   6
	CPU 3: Put process  1 to run queue
	CPU 3: Dispatched process  1
	Loaded a process at input/proc/s2, PID: 4 PRIO: 120
	CPU 1: Put process  3 to run queue
	CPU 1: Dispatched process  3
Time slot   7
write val=100 ==> region=1,offset=20
print_pgtbl: 0 - 768
00000000: 80000000
00000004: 80000001
00000008: 80000002
=== Physical Memory Dump ===
    fpn     phyaddr:  value
============================
	CPU 2: Put process  2 to run queue
	CPU 2: Dispatched process  2
	CPU 0: Dispatched process  4
	Loaded a process at input/proc/m0s, PID: 5 PRIO: 120
Time slot   8
	CPU 3: Put process  1 to run queue
	CPU 3: Dispatched process  5
	CPU 1: Put process  3 to run queue
	CPU 1: Dispatched process  1
read region=1 offset=20 value=100
print_pgtbl: 0 - 768
00000000: 80000000
00000004: 80000001
00000008: 80000002
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000220:    100
============================
Time slot   9
	Loaded a process at input/proc/p1s, PID: 6 PRIO: 15
	CPU 0: Put process  4 to run queue
	CPU 0: Dispatched process  3
write val=102 ==> region=2,offset=20
print_pgtbl: 0 - 768
00000000: 80000000
00000004: 80000001
00000008: 80000002
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000220:    100
============================
	CPU 2: Put process  2 to run queue
	CPU 2: Dispatched process  6
Time slot  10
	CPU 1: Put process  1 to run queue
	CPU 3: Put process  5 to run queue
	CPU 3: Dispatched process  4
	CPU 1: Dispatched process  2
	Loaded a process at input/proc/s0, PID: 7 PRIO: 38
	CPU 0: Process  3 has finished
Time slot  11
	CPU 2: Put process  6 to run queue
	CPU 2: Dispatched process  1
read region=2 offset=20 value=102
print_pgtbl: 0 - 768
00000000: 80000000
00000004: 80000001
00000008: 80000002
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000020:    102
      0  0000000220:    100
============================
	CPU 0: Dispatched process  5
	CPU 3: Put process  4 to run queue
Time slot  12
	CPU 3: Dispatched process  6
	CPU 1: Put process  2 to run queue
write val=103 ==> region=3,offset=20
print_pgtbl: 0 - 768
00000000: 80000000
00000004: 80000001
00000008: 80000002
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000020:    102
      0  0000000220:    100
============================
	CPU 1: Dispatched process  7
	CPU 2: Process  1 has finished
	CPU 2: Dispatched process  2
Time slot  13
	CPU 0: Put process  5 to run queue
	CPU 0: Dispatched process  4
	CPU 3: Put process  6 to run queue
	CPU 3: Dispatched process  5
write val=102 ==> region=1,offset=20
print_pgtbl: 0 - 512
00000000: 80000005
00000004: 80000006
Time slot  14
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000020:    103
      0  0000000220:    100
============================
	CPU 1: Put process  7 to run queue
	CPU 1: Dispatched process  6
write val=1 ==> region=2,offset=1000
print_pgtbl: 0 - 512
00000000: 80000005
00000004: 80000006
=== Physical Memory Dump ===
    fpn     phyaddr:  value
      0  0000000020:    102
      0  0000000220:    100
============================
Time slot  15
	CPU 0: Put process  4 to run queue
	CPU 0: Dispatched process  7
	CPU 2: Put process  2 to run queue
	CPU 2: Dispatched process  2
	Loaded a process at input/proc/s1, PID: 8 PRIO: 0
Time slot  16
	CPU 2: Process  2 has finished
	CPU 2: Dispatched process  4
	CPU 1: Put process  6 to run queue
	CPU 1: Dispatched process  8
	CPU 3: Process  5 has finished
	CPU 3: Dispatched process  6
Time slot  17
	CPU 0: Put process  7 to run queue
	CPU 0: Dispatched process  7
	CPU 3: Put process  6 to run queue
	CPU 3: Dispatched process  6
Time slot  18
	CPU 1: Put process  8 to run queue
	CPU 1: Dispatched process  8
	CPU 2: Put process  4 to run queue
	CPU 2: Dispatched process  4
Time slot  19
	CPU 0: Put process  7 to run queue
	CPU 0: Dispatched process  7
	CPU 3: Process  6 has finished
	CPU 2: Put process  4 to run queue
	CPU 2: Dispatched process  4
	CPU 3 stopped
	CPU 1: Put process  8 to run queue
	CPU 1: Dispatched process  8
Time slot  20
Time slot  21
	CPU 0: Put process  7 to run queue
	CPU 0: Dispatched process  7
	CPU 2: Process  4 has finished
	CPU 1: Put process  8 to run queue
	CPU 2 stopped
	CPU 1: Dispatched process  8
Time slot  22
	CPU 1: Process  8 has finished
	CPU 0: Put process  7 to run queue
Time slot  23
	CPU 1 stopped
	CPU 0 stopped

Process finished with exit code 0