-- Apr 21 In-Class Exercise Thread
1B pages / 6 machines = 167M pages per machine
167M pages / 100k memory = 1667 merges per machine
Each generation will be half the size of the next generation => log behavior
log_2(1667) = 10.7 => 11 generations
The generations represent a binary number. The most number of merges is equivalent to the most number of carries.
In this case that is 11-1 = 10 merges
(
Edited: 2021-04-25)
1B pages / 6 machines = 167M pages per machine
<br>
167M pages / 100k memory = 1667 merges per machine
<br><br>
Each generation will be half the size of the next generation => log behavior
<br>
log_2(1667) = 10.7 => 11 generations
<br><br>
The generations represent a binary number. The most number of merges is equivalent to the most number of carries.
<br>
In this case that is 11-1 = 10 merges