github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/testdata/compaction_picker_target_level (about) 1 init 1 2 ---- 3 4 init_cp 5 ---- 6 base: 6 7 8 queue 9 ---- 10 11 init 1 12 6: 1 13 ---- 14 L6: 15 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 16 17 init_cp 18 ---- 19 base: 6 20 21 queue 22 ---- 23 24 init 1 25 6: 1000000 26 ---- 27 L6: 28 600001:[0001#1,1-1000000#1,1]: 1000000 bytes (977KB) 29 30 init_cp 31 ---- 32 base: 1 33 34 queue 35 ---- 36 37 init 1 38 5: 1 39 6: 10 40 ---- 41 L5: 42 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 43 L6: 44 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 45 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 46 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 47 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 48 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 49 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 50 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 51 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 52 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 53 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 54 55 init_cp 56 ---- 57 base: 5 58 59 queue 60 ---- 61 L5->L6: 1.0 62 500001:[0001#1,1-0001#1,1] marked as compacting 63 600001:[0001#1,1-0001#1,1] marked as compacting 64 65 init 1 66 5: 2 67 6: 10 68 ---- 69 L5: 70 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 71 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 72 L6: 73 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 74 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 75 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 76 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 77 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 78 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 79 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 80 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 81 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 82 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 83 84 init_cp 85 ---- 86 base: 5 87 88 queue 89 ---- 90 L5->L6: 2.2 91 500001:[0001#1,1-0001#1,1] marked as compacting 92 600001:[0001#1,1-0001#1,1] marked as compacting 93 94 # Smoothing multiplier is 95 # `(size(Lbottom)/size(Lbase))^(Lbottom-Lbase) = (30/1)^(1/(6-4)) = 30^(1/2)` 96 # 97 # size(L4) = size(Lbase) = 1 98 # size(L5) = size(L4) * 30^(1/2) ~= 5 99 # size(L6) = size(L5) * 30^(1/2) = 30 100 101 init 1 102 5: 2 103 6: 30 104 ---- 105 L5: 106 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 107 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 108 L6: 109 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 110 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 111 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 112 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 113 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 114 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 115 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 116 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 117 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 118 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 119 600011:[0011#11,1-0011#11,1]: 1 bytes (1B) 120 600012:[0012#12,1-0012#12,1]: 1 bytes (1B) 121 600013:[0013#13,1-0013#13,1]: 1 bytes (1B) 122 600014:[0014#14,1-0014#14,1]: 1 bytes (1B) 123 600015:[0015#15,1-0015#15,1]: 1 bytes (1B) 124 600016:[0016#16,1-0016#16,1]: 1 bytes (1B) 125 600017:[0017#17,1-0017#17,1]: 1 bytes (1B) 126 600018:[0018#18,1-0018#18,1]: 1 bytes (1B) 127 600019:[0019#19,1-0019#19,1]: 1 bytes (1B) 128 600020:[0020#20,1-0020#20,1]: 1 bytes (1B) 129 600021:[0021#21,1-0021#21,1]: 1 bytes (1B) 130 600022:[0022#22,1-0022#22,1]: 1 bytes (1B) 131 600023:[0023#23,1-0023#23,1]: 1 bytes (1B) 132 600024:[0024#24,1-0024#24,1]: 1 bytes (1B) 133 600025:[0025#25,1-0025#25,1]: 1 bytes (1B) 134 600026:[0026#26,1-0026#26,1]: 1 bytes (1B) 135 600027:[0027#27,1-0027#27,1]: 1 bytes (1B) 136 600028:[0028#28,1-0028#28,1]: 1 bytes (1B) 137 600029:[0029#29,1-0029#29,1]: 1 bytes (1B) 138 600030:[0030#30,1-0030#30,1]: 1 bytes (1B) 139 140 init_cp 141 ---- 142 base: 4 143 144 queue 145 ---- 146 147 init 1 148 4: 2 149 5: 2 150 6: 100 151 ---- 152 L4: 153 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 154 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) 155 L5: 156 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 157 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 158 L6: 159 600001:[0001#1,1-0100#1,1]: 100 bytes (100B) 160 161 init_cp 162 ---- 163 base: 4 164 165 queue 166 ---- 167 L4->L5: 10.0 168 400001:[0001#1,1-0001#1,1] marked as compacting 169 500001:[0001#1,1-0001#1,1] marked as compacting 170 171 init 1 172 4: 1 173 5: 2 174 6: 100 175 ---- 176 L4: 177 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 178 L5: 179 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 180 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 181 L6: 182 600001:[0001#1,1-0100#1,1]: 100 bytes (100B) 183 184 init_cp 185 ---- 186 base: 4 187 188 queue 189 ---- 190 L4->L5: 5.0 191 400001:[0001#1,1-0001#1,1] marked as compacting 192 500001:[0001#1,1-0001#1,1] marked as compacting 193 194 init 1 195 4: 1 196 5: 11 197 6: 100 198 ---- 199 L4: 200 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 201 L5: 202 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 203 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 204 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 205 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 206 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 207 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 208 500007:[0007#7,1-0007#7,1]: 1 bytes (1B) 209 500008:[0008#8,1-0008#8,1]: 1 bytes (1B) 210 500009:[0009#9,1-0009#9,1]: 1 bytes (1B) 211 500010:[0010#10,1-0010#10,1]: 1 bytes (1B) 212 500011:[0011#11,1-0011#11,1]: 1 bytes (1B) 213 L6: 214 600001:[0001#1,1-0100#1,1]: 100 bytes (100B) 215 216 init_cp 217 ---- 218 base: 4 219 220 queue 221 ---- 222 L5->L6: 1.1 223 500001:[0001#1,1-0001#1,1] marked as compacting 224 500002:[0002#2,1-0002#2,1] marked as compacting 225 500003:[0003#3,1-0003#3,1] marked as compacting 226 500004:[0004#4,1-0004#4,1] marked as compacting 227 500005:[0005#5,1-0005#5,1] marked as compacting 228 500006:[0006#6,1-0006#6,1] marked as compacting 229 500007:[0007#7,1-0007#7,1] marked as compacting 230 500008:[0008#8,1-0008#8,1] marked as compacting 231 500009:[0009#9,1-0009#9,1] marked as compacting 232 500010:[0010#10,1-0010#10,1] marked as compacting 233 500011:[0011#11,1-0011#11,1] marked as compacting 234 600001:[0001#1,1-0100#1,1] marked as compacting 235 236 init 1 237 4: 1 238 5: 11 50 239 6: 100 240 ---- 241 L4: 242 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 243 L5: 244 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 245 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 246 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 247 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 248 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 249 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 250 500007:[0007#7,1-0007#7,1]: 1 bytes (1B) 251 500008:[0008#8,1-0008#8,1]: 1 bytes (1B) 252 500009:[0009#9,1-0009#9,1]: 1 bytes (1B) 253 500010:[0010#10,1-0010#10,1]: 1 bytes (1B) 254 500011:[0011#11,1-0011#11,1]: 1 bytes (1B) 255 L6: 256 600001:[0001#1,1-0100#1,1]: 100 bytes (100B) 257 258 init_cp 259 ---- 260 base: 4 261 262 queue 263 ---- 264 L5->L6: 6.2 265 500001:[0001#1,1-0001#1,1] marked as compacting 266 500002:[0002#2,1-0002#2,1] marked as compacting 267 500003:[0003#3,1-0003#3,1] marked as compacting 268 500004:[0004#4,1-0004#4,1] marked as compacting 269 500005:[0005#5,1-0005#5,1] marked as compacting 270 500006:[0006#6,1-0006#6,1] marked as compacting 271 500007:[0007#7,1-0007#7,1] marked as compacting 272 500008:[0008#8,1-0008#8,1] marked as compacting 273 500009:[0009#9,1-0009#9,1] marked as compacting 274 500010:[0010#10,1-0010#10,1] marked as compacting 275 500011:[0011#11,1-0011#11,1] marked as compacting 276 600001:[0001#1,1-0100#1,1] marked as compacting 277 278 init 1 279 4: 2 280 5: 11 281 6: 100 282 ---- 283 L4: 284 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 285 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) 286 L5: 287 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 288 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 289 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 290 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 291 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 292 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 293 500007:[0007#7,1-0007#7,1]: 1 bytes (1B) 294 500008:[0008#8,1-0008#8,1]: 1 bytes (1B) 295 500009:[0009#9,1-0009#9,1]: 1 bytes (1B) 296 500010:[0010#10,1-0010#10,1]: 1 bytes (1B) 297 500011:[0011#11,1-0011#11,1]: 1 bytes (1B) 298 L6: 299 600001:[0001#1,1-0100#1,1]: 100 bytes (100B) 300 301 init_cp 302 ---- 303 base: 4 304 305 queue 306 ---- 307 L4->L5: 1.8 308 400001:[0001#1,1-0001#1,1] marked as compacting 309 500001:[0001#1,1-0001#1,1] marked as compacting 310 311 init 1 312 0: 4 313 ---- 314 L0: 315 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 316 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 317 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 318 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 319 320 init_cp 321 ---- 322 base: 6 323 324 queue 325 ---- 326 L0->L6: 200.0 327 000001:[0001#1,1-0001#1,1] marked as compacting 328 000002:[0001#2,1-0001#2,1] marked as compacting 329 000003:[0001#3,1-0001#3,1] marked as compacting 330 000004:[0001#4,1-0001#4,1] marked as compacting 331 332 init 1 333 0: 5 334 ---- 335 L0: 336 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 337 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 338 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 339 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 340 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 341 342 init_cp 343 ---- 344 base: 6 345 346 queue 347 ---- 348 L0->L6: 250.0 349 000001:[0001#1,1-0001#1,1] marked as compacting 350 000002:[0001#2,1-0001#2,1] marked as compacting 351 000003:[0001#3,1-0001#3,1] marked as compacting 352 000004:[0001#4,1-0001#4,1] marked as compacting 353 000005:[0001#5,1-0001#5,1] marked as compacting 354 355 init 1 356 0: 5 357 5: 2 358 6: 10 359 ---- 360 L0: 361 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 362 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 363 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 364 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 365 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 366 L5: 367 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 368 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 369 L6: 370 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 371 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 372 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 373 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 374 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 375 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 376 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 377 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 378 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 379 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 380 381 init_cp 382 ---- 383 base: 5 384 385 queue 386 ---- 387 L5->L6: 3.2 388 500001:[0001#1,1-0001#1,1] marked as compacting 389 600001:[0001#1,1-0001#1,1] marked as compacting 390 391 pick 392 ---- 393 Initial state before pick: 394 L0: 395 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 396 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 397 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 398 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 399 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 400 L5: 401 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 402 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 403 L6: 404 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 405 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 406 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 407 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 408 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 409 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 410 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 411 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 412 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 413 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 414 Picked: L5->L6: 3.2 415 416 pick ongoing=(5,6) 417 ---- 418 Initial state before pick: 419 L0: 420 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 421 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 422 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 423 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 424 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 425 L5: 426 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 427 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 428 L6: 429 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 430 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 431 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 432 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 433 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 434 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 435 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 436 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 437 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 438 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 439 Picked: no compaction 440 441 init 1 442 0: 10 443 4: 10 444 5: 6 445 6: 10 446 ---- 447 L0: 448 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 449 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 450 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 451 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 452 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 453 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 454 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 455 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 456 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 457 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 458 L4: 459 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 460 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) 461 400003:[0003#3,1-0003#3,1]: 1 bytes (1B) 462 400004:[0004#4,1-0004#4,1]: 1 bytes (1B) 463 400005:[0005#5,1-0005#5,1]: 1 bytes (1B) 464 400006:[0006#6,1-0006#6,1]: 1 bytes (1B) 465 400007:[0007#7,1-0007#7,1]: 1 bytes (1B) 466 400008:[0008#8,1-0008#8,1]: 1 bytes (1B) 467 400009:[0009#9,1-0009#9,1]: 1 bytes (1B) 468 400010:[0010#10,1-0010#10,1]: 1 bytes (1B) 469 L5: 470 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 471 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 472 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 473 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 474 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 475 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 476 L6: 477 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 478 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 479 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 480 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 481 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 482 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 483 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 484 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 485 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 486 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 487 488 init_cp 489 ---- 490 base: 4 491 492 queue 493 ---- 494 L4->L5: 10.0 495 400007:[0007#7,1-0007#7,1] marked as compacting 496 L4->L5: 7.7 497 400008:[0008#8,1-0008#8,1] marked as compacting 498 499 pick ongoing=(5,6) 500 ---- 501 Initial state before pick: 502 L0: 503 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 504 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 505 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 506 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 507 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 508 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 509 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 510 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 511 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 512 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 513 L4: 514 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 515 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) 516 400003:[0003#3,1-0003#3,1]: 1 bytes (1B) 517 400004:[0004#4,1-0004#4,1]: 1 bytes (1B) 518 400005:[0005#5,1-0005#5,1]: 1 bytes (1B) 519 400006:[0006#6,1-0006#6,1]: 1 bytes (1B) 520 400007:[0007#7,1-0007#7,1]: 1 bytes (1B) 521 400008:[0008#8,1-0008#8,1]: 1 bytes (1B) 522 400009:[0009#9,1-0009#9,1]: 1 bytes (1B) 523 400010:[0010#10,1-0010#10,1]: 1 bytes (1B) 524 L5: 525 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 526 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 527 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 528 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 529 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 530 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 531 L6: 532 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 533 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 534 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 535 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 536 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 537 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 538 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 539 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 540 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 541 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 542 Picked: L4->L5: 12.0 543 544 pick ongoing=(0,4) 545 ---- 546 Initial state before pick: 547 L0: 548 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 549 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 550 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 551 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 552 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 553 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 554 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 555 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 556 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 557 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 558 L4: 559 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 560 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) (IsCompacting) 561 400003:[0003#3,1-0003#3,1]: 1 bytes (1B) (IsCompacting) 562 400004:[0004#4,1-0004#4,1]: 1 bytes (1B) (IsCompacting) 563 400005:[0005#5,1-0005#5,1]: 1 bytes (1B) (IsCompacting) 564 400006:[0006#6,1-0006#6,1]: 1 bytes (1B) (IsCompacting) 565 400007:[0007#7,1-0007#7,1]: 1 bytes (1B) (IsCompacting) 566 400008:[0008#8,1-0008#8,1]: 1 bytes (1B) (IsCompacting) 567 400009:[0009#9,1-0009#9,1]: 1 bytes (1B) (IsCompacting) 568 400010:[0010#10,1-0010#10,1]: 1 bytes (1B) (IsCompacting) 569 L5: 570 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 571 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 572 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 573 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 574 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 575 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 576 L6: 577 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 578 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 579 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 580 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 581 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 582 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 583 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 584 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 585 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 586 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 587 Picked: L5->L6: 3.3 588 589 pick ongoing=(0,0,0,4) 590 ---- 591 Initial state before pick: 592 L0: 593 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 594 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) (IsCompacting) 595 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) (IsCompacting) 596 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 597 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 598 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 599 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 600 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 601 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 602 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 603 L4: 604 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 605 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) (IsCompacting) 606 400003:[0003#3,1-0003#3,1]: 1 bytes (1B) (IsCompacting) 607 400004:[0004#4,1-0004#4,1]: 1 bytes (1B) (IsCompacting) 608 400005:[0005#5,1-0005#5,1]: 1 bytes (1B) (IsCompacting) 609 400006:[0006#6,1-0006#6,1]: 1 bytes (1B) (IsCompacting) 610 400007:[0007#7,1-0007#7,1]: 1 bytes (1B) (IsCompacting) 611 400008:[0008#8,1-0008#8,1]: 1 bytes (1B) (IsCompacting) 612 400009:[0009#9,1-0009#9,1]: 1 bytes (1B) (IsCompacting) 613 400010:[0010#10,1-0010#10,1]: 1 bytes (1B) (IsCompacting) 614 L5: 615 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 616 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 617 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 618 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 619 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 620 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 621 L6: 622 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 623 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 624 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 625 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 626 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 627 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 628 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 629 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 630 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 631 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 632 Picked: no compaction 633 634 init_cp 635 ---- 636 base: 4 637 638 pick ongoing=(0,5) 639 ---- 640 Initial state before pick: 641 L0: 642 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 643 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 644 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 645 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 646 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 647 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 648 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 649 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 650 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 651 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 652 L4: 653 400001:[0001#1,1-0001#1,1]: 1 bytes (1B) 654 400002:[0002#2,1-0002#2,1]: 1 bytes (1B) 655 400003:[0003#3,1-0003#3,1]: 1 bytes (1B) 656 400004:[0004#4,1-0004#4,1]: 1 bytes (1B) 657 400005:[0005#5,1-0005#5,1]: 1 bytes (1B) 658 400006:[0006#6,1-0006#6,1]: 1 bytes (1B) 659 400007:[0007#7,1-0007#7,1]: 1 bytes (1B) 660 400008:[0008#8,1-0008#8,1]: 1 bytes (1B) 661 400009:[0009#9,1-0009#9,1]: 1 bytes (1B) 662 400010:[0010#10,1-0010#10,1]: 1 bytes (1B) 663 L5: 664 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 665 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) (IsCompacting) 666 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) (IsCompacting) 667 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) (IsCompacting) 668 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) (IsCompacting) 669 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) (IsCompacting) 670 L6: 671 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 672 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 673 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 674 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 675 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 676 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 677 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 678 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 679 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 680 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 681 Picked: L4->L5: 8.6 682 683 init 1 684 0: 20 685 6: 10 686 ---- 687 L0: 688 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 689 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 690 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 691 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 692 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 693 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 694 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 695 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 696 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 697 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 698 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 699 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 700 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 701 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 702 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 703 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 704 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 705 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 706 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 707 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 708 L6: 709 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 710 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 711 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 712 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 713 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 714 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 715 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 716 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 717 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 718 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 719 720 init_cp ongoing=(0,5) 721 ---- 722 base: 4 723 724 queue 725 ---- 726 L0->L4: 1000.0 727 000001:[0001#1,1-0001#1,1] marked as compacting 728 000002:[0001#2,1-0001#2,1] marked as compacting 729 000003:[0001#3,1-0001#3,1] marked as compacting 730 000004:[0001#4,1-0001#4,1] marked as compacting 731 000005:[0001#5,1-0001#5,1] marked as compacting 732 000006:[0001#6,1-0001#6,1] marked as compacting 733 000007:[0001#7,1-0001#7,1] marked as compacting 734 000008:[0001#8,1-0001#8,1] marked as compacting 735 000009:[0001#9,1-0001#9,1] marked as compacting 736 000010:[0001#10,1-0001#10,1] marked as compacting 737 000011:[0001#11,1-0001#11,1] marked as compacting 738 000012:[0001#12,1-0001#12,1] marked as compacting 739 000013:[0001#13,1-0001#13,1] marked as compacting 740 000014:[0001#14,1-0001#14,1] marked as compacting 741 000015:[0001#15,1-0001#15,1] marked as compacting 742 000016:[0001#16,1-0001#16,1] marked as compacting 743 000017:[0001#17,1-0001#17,1] marked as compacting 744 000018:[0001#18,1-0001#18,1] marked as compacting 745 000019:[0001#19,1-0001#19,1] marked as compacting 746 000020:[0001#20,1-0001#20,1] marked as compacting 747 748 pick 749 ---- 750 Initial state before pick: 751 L0: 752 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 753 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 754 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 755 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 756 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 757 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 758 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 759 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 760 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 761 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 762 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 763 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 764 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 765 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 766 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 767 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 768 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 769 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 770 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 771 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 772 L6: 773 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 774 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 775 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 776 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 777 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 778 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 779 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 780 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 781 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 782 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 783 Picked: L0->L4: 1000.0 784 785 pick ongoing=(0,4) 786 ---- 787 Initial state before pick: 788 L0: 789 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 790 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 791 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 792 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 793 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 794 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 795 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 796 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 797 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 798 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 799 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 800 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 801 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 802 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 803 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 804 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 805 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 806 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 807 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 808 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 809 L6: 810 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 811 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 812 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 813 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 814 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 815 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 816 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 817 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 818 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 819 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 820 Picked: no compaction 821 822 # We'll only pick a concurrent compaction if it is "high" priority 823 # (i.e. has a score >= highPriorityThreshold). 824 825 init 1 826 0: 20 827 5: 1 828 6: 10 829 ---- 830 L0: 831 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 832 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 833 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 834 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 835 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 836 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 837 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 838 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 839 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 840 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 841 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 842 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 843 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 844 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 845 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 846 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 847 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 848 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 849 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 850 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 851 L5: 852 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 853 L6: 854 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 855 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 856 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 857 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 858 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 859 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 860 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 861 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 862 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 863 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 864 865 init_cp ongoing=(0,4) 866 ---- 867 base: 4 868 869 queue 870 ---- 871 L0->L4: 1000.0 872 000001:[0001#1,1-0001#1,1] marked as compacting 873 000002:[0001#2,1-0001#2,1] marked as compacting 874 000003:[0001#3,1-0001#3,1] marked as compacting 875 000004:[0001#4,1-0001#4,1] marked as compacting 876 000005:[0001#5,1-0001#5,1] marked as compacting 877 000006:[0001#6,1-0001#6,1] marked as compacting 878 000007:[0001#7,1-0001#7,1] marked as compacting 879 000008:[0001#8,1-0001#8,1] marked as compacting 880 000009:[0001#9,1-0001#9,1] marked as compacting 881 000010:[0001#10,1-0001#10,1] marked as compacting 882 000011:[0001#11,1-0001#11,1] marked as compacting 883 000012:[0001#12,1-0001#12,1] marked as compacting 884 000013:[0001#13,1-0001#13,1] marked as compacting 885 000014:[0001#14,1-0001#14,1] marked as compacting 886 000015:[0001#15,1-0001#15,1] marked as compacting 887 000016:[0001#16,1-0001#16,1] marked as compacting 888 000017:[0001#17,1-0001#17,1] marked as compacting 889 000018:[0001#18,1-0001#18,1] marked as compacting 890 000019:[0001#19,1-0001#19,1] marked as compacting 891 000020:[0001#20,1-0001#20,1] marked as compacting 892 893 pick ongoing=(0,4,4,5) 894 ---- 895 Initial state before pick: 896 L0: 897 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 898 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 899 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 900 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 901 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 902 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 903 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 904 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 905 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 906 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 907 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 908 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 909 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 910 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 911 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 912 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 913 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 914 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 915 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 916 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 917 L5: 918 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 919 L6: 920 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 921 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 922 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 923 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 924 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 925 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 926 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 927 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 928 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 929 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 930 Picked: no compaction 931 932 pick ongoing=(4,5) 933 ---- 934 Initial state before pick: 935 L0: 936 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 937 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 938 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 939 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 940 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 941 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 942 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 943 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 944 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 945 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 946 000011:[0001#11,1-0001#11,1]: 1 bytes (1B) 947 000012:[0001#12,1-0001#12,1]: 1 bytes (1B) 948 000013:[0001#13,1-0001#13,1]: 1 bytes (1B) 949 000014:[0001#14,1-0001#14,1]: 1 bytes (1B) 950 000015:[0001#15,1-0001#15,1]: 1 bytes (1B) 951 000016:[0001#16,1-0001#16,1]: 1 bytes (1B) 952 000017:[0001#17,1-0001#17,1]: 1 bytes (1B) 953 000018:[0001#18,1-0001#18,1]: 1 bytes (1B) 954 000019:[0001#19,1-0001#19,1]: 1 bytes (1B) 955 000020:[0001#20,1-0001#20,1]: 1 bytes (1B) 956 L5: 957 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 958 L6: 959 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 960 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 961 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 962 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 963 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 964 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 965 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 966 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 967 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 968 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 969 Picked: L0->L4: 1000.0 970 971 # Verify we can start concurrent Ln->Ln+1 compactions given sufficient 972 # priority. 973 974 init 1 975 5: 4 976 6: 10 977 ---- 978 L5: 979 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 980 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 981 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 982 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 983 L6: 984 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 985 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 986 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 987 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 988 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 989 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 990 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 991 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 992 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 993 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 994 995 init_cp 996 ---- 997 base: 5 998 999 queue 1000 ---- 1001 L5->L6: 5.2 1002 500001:[0001#1,1-0001#1,1] marked as compacting 1003 600001:[0001#1,1-0001#1,1] marked as compacting 1004 1005 pick 1006 ---- 1007 Initial state before pick: 1008 L5: 1009 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1010 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1011 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1012 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1013 L6: 1014 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1015 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1016 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1017 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1018 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1019 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 1020 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 1021 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 1022 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 1023 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 1024 Picked: L5->L6: 5.2 1025 1026 pick ongoing=(5,6) 1027 ---- 1028 Initial state before pick: 1029 L5: 1030 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 1031 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1032 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1033 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1034 L6: 1035 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) (IsCompacting) 1036 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1037 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1038 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1039 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1040 600006:[0006#6,1-0006#6,1]: 1 bytes (1B) 1041 600007:[0007#7,1-0007#7,1]: 1 bytes (1B) 1042 600008:[0008#8,1-0008#8,1]: 1 bytes (1B) 1043 600009:[0009#9,1-0009#9,1]: 1 bytes (1B) 1044 600010:[0010#10,1-0010#10,1]: 1 bytes (1B) 1045 Picked: no compaction 1046 1047 # Verify that L0 score doesn't change with respect to L5's compensation. 1048 1049 init 5 1050 0: 10 1051 5: 5 1 1052 6: 5 1053 ---- 1054 L0: 1055 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1056 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1057 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1058 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1059 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1060 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1061 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1062 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 1063 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 1064 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 1065 L5: 1066 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1067 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1068 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1069 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1070 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1071 L6: 1072 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1073 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1074 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1075 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1076 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1077 1078 init_cp 1079 ---- 1080 base: 5 1081 1082 queue 1083 ---- 1084 L0->L5: 5.0 1085 000001:[0001#1,1-0001#1,1] marked as compacting 1086 000002:[0001#2,1-0001#2,1] marked as compacting 1087 000003:[0001#3,1-0001#3,1] marked as compacting 1088 000004:[0001#4,1-0001#4,1] marked as compacting 1089 000005:[0001#5,1-0001#5,1] marked as compacting 1090 000006:[0001#6,1-0001#6,1] marked as compacting 1091 000007:[0001#7,1-0001#7,1] marked as compacting 1092 000008:[0001#8,1-0001#8,1] marked as compacting 1093 000009:[0001#9,1-0001#9,1] marked as compacting 1094 000010:[0001#10,1-0001#10,1] marked as compacting 1095 500001:[0001#1,1-0001#1,1] marked as compacting 1096 L5->L6: 11.5 1097 500005:[0005#5,1-0005#5,1] marked as compacting 1098 600005:[0005#5,1-0005#5,1] marked as compacting 1099 1100 init 5 1101 0: 10 1102 5: 5 0 1103 6: 5 1104 ---- 1105 L0: 1106 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1107 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1108 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1109 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1110 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1111 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1112 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1113 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 1114 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 1115 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 1116 L5: 1117 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1118 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1119 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1120 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1121 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1122 L6: 1123 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1124 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1125 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1126 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1127 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1128 1129 init_cp 1130 ---- 1131 base: 5 1132 1133 queue 1134 ---- 1135 L0->L5: 5.0 1136 000001:[0001#1,1-0001#1,1] marked as compacting 1137 000002:[0001#2,1-0001#2,1] marked as compacting 1138 000003:[0001#3,1-0001#3,1] marked as compacting 1139 000004:[0001#4,1-0001#4,1] marked as compacting 1140 000005:[0001#5,1-0001#5,1] marked as compacting 1141 000006:[0001#6,1-0001#6,1] marked as compacting 1142 000007:[0001#7,1-0001#7,1] marked as compacting 1143 000008:[0001#8,1-0001#8,1] marked as compacting 1144 000009:[0001#9,1-0001#9,1] marked as compacting 1145 000010:[0001#10,1-0001#10,1] marked as compacting 1146 500001:[0001#1,1-0001#1,1] marked as compacting 1147 L5->L6: 10.8 1148 500002:[0002#2,1-0002#2,1] marked as compacting 1149 600002:[0002#2,1-0002#2,1] marked as compacting 1150 1151 # Verify that successive manual compactions interleaved with an automatic 1152 # compaction does not trigger an error. 1153 1154 init 5 1155 0: 10 1156 5: 10 1157 6: 5 1158 ---- 1159 L0: 1160 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1161 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1162 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1163 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1164 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1165 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1166 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1167 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 1168 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 1169 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 1170 L5: 1171 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1172 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1173 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1174 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1175 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1176 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 1177 500007:[0007#7,1-0007#7,1]: 1 bytes (1B) 1178 500008:[0008#8,1-0008#8,1]: 1 bytes (1B) 1179 500009:[0009#9,1-0009#9,1]: 1 bytes (1B) 1180 500010:[0010#10,1-0010#10,1]: 1 bytes (1B) 1181 L6: 1182 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1183 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1184 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1185 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1186 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1187 1188 init_cp 1189 ---- 1190 base: 5 1191 1192 queue 1193 ---- 1194 L5->L6: 9.2 1195 500006:[0006#6,1-0006#6,1] marked as compacting 1196 L5->L6: 6.9 1197 500007:[0007#7,1-0007#7,1] marked as compacting 1198 1199 pick_manual level=0 start=0 end=12 1200 ---- 1201 L0->L5, retryLater = false 1202 1203 pick 1204 ---- 1205 Initial state before pick: 1206 L0: 1207 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1208 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1209 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1210 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1211 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1212 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1213 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1214 000008:[0001#8,1-0001#8,1]: 1 bytes (1B) 1215 000009:[0001#9,1-0001#9,1]: 1 bytes (1B) 1216 000010:[0001#10,1-0001#10,1]: 1 bytes (1B) 1217 L5: 1218 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1219 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1220 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1221 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1222 500005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1223 500006:[0006#6,1-0006#6,1]: 1 bytes (1B) 1224 500007:[0007#7,1-0007#7,1]: 1 bytes (1B) 1225 500008:[0008#8,1-0008#8,1]: 1 bytes (1B) 1226 500009:[0009#9,1-0009#9,1]: 1 bytes (1B) 1227 500010:[0010#10,1-0010#10,1]: 1 bytes (1B) 1228 L6: 1229 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1230 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1231 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1232 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1233 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1234 Picked: L5->L6: 9.2 1235 1236 # Assume the above two compactions (one manual L0 -> L5 and one automatic 1237 # L5 -> L6) have run, and Lbase = L6 now, but the manual compaction code is 1238 # still going to try running a manual compaction from L5 -> L6 since L5 was the 1239 # output of the last manual compaction. No compaction should be picked. 1240 1241 init 5 1242 0: 7 1243 6: 5 1244 ---- 1245 L0: 1246 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1247 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1248 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1249 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1250 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1251 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1252 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1253 L6: 1254 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1255 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1256 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1257 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1258 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1259 1260 init_cp 1261 ---- 1262 base: 5 1263 1264 pick_manual level=5 start=0 end=12 1265 ---- 1266 nil, retryLater = false 1267 1268 1269 # Initialize with LbaseMaxBytes of 5, and give L5 a compensated size of 10000. 1270 # Prior to prioritizing levels by the score instead of rawSmoothed score, L5 1271 # would be picked for compaction over L0, because of its absurdly high compensated 1272 # score. 1273 init 5 1274 0: 7 1275 5: 4 10000 1276 6: 5 1277 ---- 1278 L0: 1279 000001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1280 000002:[0001#2,1-0001#2,1]: 1 bytes (1B) 1281 000003:[0001#3,1-0001#3,1]: 1 bytes (1B) 1282 000004:[0001#4,1-0001#4,1]: 1 bytes (1B) 1283 000005:[0001#5,1-0001#5,1]: 1 bytes (1B) 1284 000006:[0001#6,1-0001#6,1]: 1 bytes (1B) 1285 000007:[0001#7,1-0001#7,1]: 1 bytes (1B) 1286 L5: 1287 500001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1288 500002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1289 500003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1290 500004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1291 L6: 1292 600001:[0001#1,1-0001#1,1]: 1 bytes (1B) 1293 600002:[0002#2,1-0002#2,1]: 1 bytes (1B) 1294 600003:[0003#3,1-0003#3,1]: 1 bytes (1B) 1295 600004:[0004#4,1-0004#4,1]: 1 bytes (1B) 1296 600005:[0005#5,1-0005#5,1]: 1 bytes (1B) 1297 1298 init_cp 1299 ---- 1300 base: 5 1301 1302 queue 1303 ---- 1304 L0->L5: 4.4 1305 000001:[0001#1,1-0001#1,1] marked as compacting 1306 000002:[0001#2,1-0001#2,1] marked as compacting 1307 000003:[0001#3,1-0001#3,1] marked as compacting 1308 000004:[0001#4,1-0001#4,1] marked as compacting 1309 000005:[0001#5,1-0001#5,1] marked as compacting 1310 000006:[0001#6,1-0001#6,1] marked as compacting 1311 000007:[0001#7,1-0001#7,1] marked as compacting 1312 500001:[0001#1,1-0001#1,1] marked as compacting