{
  "threshold": 60000,
  "original": {
    "train_micro_batch": 4,
    "balance_ranks": false
  },
  "selected": {
    "train_micro_batch": 8,
    "balance_ranks": true
  },
  "online_verification": {
    "cutover_after_step": 3071,
    "warmup_steps_skipped": 10,
    "retained": {
      "train_micro_batch": 8,
      "balance_ranks": true
    },
    "note": "切换前后使用各自的在线新表。按累计时钟差计算墙钟吞吐，包含供数、配平、验证和窗口内落盘所用时间。100 步和 200 步窗口嵌套。整卡显存为约每 2 秒采样，按新进程的步骤日志写入时钟对齐。",
    "windows": [
      {
        "steps_per_window": 100,
        "original": {
          "first_step": 2972,
          "last_step": 3071,
          "tables": 6400,
          "wall_seconds": 182.8227822398767,
          "step_seconds": 178.88506013341248,
          "wall_tables_s": 35.00657807298183,
          "step_tables_s": 35.77716325347058,
          "wall_cells_s": 663888.988631343,
          "mean_rows_per_table": 1139.30125,
          "mean_cells_per_table": 18964.6925,
          "validation_steps_in_wall_window": [
            3000
          ]
        },
        "selected": {
          "first_step": 3082,
          "last_step": 3181,
          "tables": 6400,
          "wall_seconds": 141.93191216979176,
          "step_seconds": 136.75301950983703,
          "wall_tables_s": 45.092043798745856,
          "step_tables_s": 46.79969790019613,
          "wall_cells_s": 831454.2247470458,
          "mean_rows_per_table": 1131.5575,
          "mean_cells_per_table": 18439.045,
          "validation_steps_in_wall_window": [
            3100
          ],
          "nvidia_smi_device_memory_2s_samples": {
            "2": {
              "samples": 71,
              "max_device_used_mib": 14938,
              "min_device_free_mib": 9144
            },
            "5": {
              "samples": 71,
              "max_device_used_mib": 13304,
              "min_device_free_mib": 10778
            }
          }
        },
        "gain": {
          "wall_tables_s": 0.2881020162764212,
          "step_tables_s": 0.3080885582972066,
          "wall_cells_s": 0.252399480914951
        }
      },
      {
        "steps_per_window": 200,
        "original": {
          "first_step": 2872,
          "last_step": 3071,
          "tables": 12800,
          "wall_seconds": 365.52853942196816,
          "step_seconds": 356.3544007204473,
          "wall_tables_s": 35.01778553390494,
          "step_tables_s": 35.919298243888775,
          "wall_cells_s": 671066.3095907578,
          "mean_rows_per_table": 1152.6565625,
          "mean_cells_per_table": 19163.585,
          "validation_steps_in_wall_window": [
            2900,
            3000
          ]
        },
        "selected": {
          "first_step": 3082,
          "last_step": 3281,
          "tables": 12800,
          "wall_seconds": 285.6775125730783,
          "step_seconds": 276.7826953129843,
          "wall_tables_s": 44.80576677075929,
          "step_tables_s": 46.24566570365186,
          "wall_cells_s": 845043.9022155993,
          "mean_rows_per_table": 1132.44125,
          "mean_cells_per_table": 18860.159375,
          "validation_steps_in_wall_window": [
            3100,
            3200
          ],
          "nvidia_smi_device_memory_2s_samples": {
            "2": {
              "samples": 143,
              "max_device_used_mib": 18200,
              "min_device_free_mib": 5882
            },
            "5": {
              "samples": 143,
              "max_device_used_mib": 16588,
              "min_device_free_mib": 7494
            }
          }
        },
        "gain": {
          "wall_tables_s": 0.27951456917164075,
          "step_tables_s": 0.28748800685492193,
          "wall_cells_s": 0.25925544188165217
        }
      }
    ]
  }
}
