github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/testdata/compaction_picker_level_max_bytes (about)

     1  init 1
     2  ----
     3  6: 9223372036854775807
     4  
     5  init 1
     6  6: 1
     7  ----
     8  6: 1
     9  
    10  init 1
    11  6: 2
    12  ----
    13  5: 1
    14  6: 2
    15  
    16  init 1
    17  6: 2
    18  ----
    19  5: 1
    20  6: 2
    21  
    22  init 1
    23  3: 1
    24  4: 1
    25  5: 1
    26  6: 1
    27  ----
    28  3: 1
    29  4: 2
    30  5: 3
    31  6: 4
    32  
    33  init 1
    34  1: 1
    35  2: 1
    36  3: 1
    37  4: 1
    38  5: 1
    39  6: 1
    40  ----
    41  1: 1
    42  2: 1
    43  3: 2
    44  4: 3
    45  5: 4
    46  6: 6
    47  
    48  init 1
    49  1: 1
    50  2: 10
    51  3: 100
    52  4: 1000
    53  5: 10000
    54  6: 100000
    55  ----
    56  1: 1
    57  2: 10
    58  3: 100
    59  4: 1000
    60  5: 10000
    61  6: 100000
    62  
    63  init 1
    64  6: 10
    65  ----
    66  5: 1
    67  6: 9
    68  
    69  init 1
    70  6: 100
    71  ----
    72  4: 1
    73  5: 9
    74  6: 90
    75  
    76  init 1
    77  6: 1000
    78  ----
    79  3: 1
    80  4: 10
    81  5: 93
    82  6: 900
    83  
    84  init 1
    85  6: 10000
    86  ----
    87  2: 1
    88  3: 10
    89  4: 95
    90  5: 924
    91  6: 9000
    92  
    93  init 1
    94  6: 100000
    95  ----
    96  1: 1
    97  2: 10
    98  3: 96
    99  4: 939
   100  5: 9192
   101  6: 90000
   102  
   103  # Smoothing multiplier is
   104  # `(size(Lbottom)/size(Lbase))^(1/(Lbottom-Lbase)) = (1000000/1)^(1/(6-1)) = 1000000^(1/5)`
   105  #
   106  # size(L1) = size(Lbase) = 1
   107  # size(L2) = size(L1) * 1000000^(1/5) ~= 16
   108  # size(L3) = size(L2) * 1000000^(1/5) ~= 251
   109  # size(L4) = size(L3) * 1000000^(1/5) ~= 3981
   110  # size(L5) = size(L4) * 1000000^(1/5) ~= 63096
   111  # size(L6) = size(L5) * 1000000^(1/5) ~= 1000000
   112  
   113  init 1
   114  6: 1000000
   115  ----
   116  1: 1
   117  2: 16
   118  3: 241
   119  4: 3737
   120  5: 57995
   121  6: 900000
   122  
   123  # Smoothing multiplier is
   124  # `(size(Lbottom)/size(Lbase))^(Lbottom-Lbase) = (64000000/64)^(1/(6-1)) = 1000000^(1/5)`
   125  #
   126  # size(L1) = size(Lbase) = 64
   127  # size(L2) = size(L1) * 1000000^(1/5) ~= 1014
   128  # size(L3) = size(L2) * 1000000^(1/5) ~= 16076
   129  # size(L4) = size(L3) * 1000000^(1/5) ~= 254789
   130  # size(L5) = size(L4) * 1000000^(1/5) ~= 4038127
   131  # size(L6) = size(L5) * 1000000^(1/5) ~= 64000000
   132  
   133  init 64
   134  6: 64000000
   135  ----
   136  1: 64
   137  2: 993
   138  3: 15413
   139  4: 239180
   140  5: 3711710
   141  6: 57600000
   142  
   143  init 1
   144  0: 4
   145  6: 10
   146  ----
   147  5: 1
   148  6: 13