目录

双阶段数据传输调度框架(工程代号 ccdts)

在真实存储平台上做”真实上传 + 模拟执行”的两阶段调度实验,用于系统评估三个主决策点—— 提交期放置(D0)、上传中改道(Du)、排队期再调度(Dq),以及两个扩展决策点: 上传准入 与 副本份数。框架把调度策略与真实上传链路解耦,策略层只做判断, 上传/登记/绑定走真实平台接口,执行部分由本地事件循环按真实时钟推进(不占真实加速卡)。

仓库内容

路径 说明
code/v4/ 框架主体:事件循环(twin.py)、策略层(vendor/policies.py、cohort_policy.py、admission.py)、真实上传链路(jcs.py、jcs_bundle.py、fast_bundle.py)、账本与记录(mysql_store.py、recorder.py)、任务日志与包对账
code/scheduler/ 基线调度器:data / price / random / resource / storage-computing
code/tests/ 单元测试
experiments/ 56 个实验脚本 + plans/(实验计划 JSON)+ report_20261030/(阶段报告材料)
notes/ 9 篇设计与实验记录:框架结构与决策点、控制面瓶颈、PortfolioV2 与中心家族改动、E2 跑批协议变更、平台清理记录等
reports/ 论文提纲 / 方法初稿 / 文献整理的生成脚本与产物
tables/ 183 个 LaTeX 结果表 + 表规格 specs/ + 构建脚本
figures/ paper/(22 张论文图)、slides/、ppt_extract/,共 48 张 PNG
results/ 12 组实验的汇总结果(md / json / csv / png)
config/ 配置模板(*.example.json);真实配置不入库

环境

  • Python 3.9+(脚本在 3.11 上验证)
  • Node.js 24+(config/jcs_http2_profile.json 中 object_http_client: node-http2 时需要)
  • MySQL 8(可选:仿真账本落库 scheduling_simulator_v4)
pip install -r requirements.txt

配置

  1. 复制模板并填写: config/jcc_auth.example.json → config/jcc_auth.json(平台账号/口令) config/jcc_session.example.json → config/jcc_session.json(会话令牌) config/openi_auth.example.json → config/openi_auth.json config/mysql-credentials.example.json → config/mysql-credentials.json
  2. 脚本优先读环境变量:JCC_USERNAME、JCC_PASSWORD、OPENI_PASSWORD
  3. config/jcs_http2_profile.json 里的 cluster_id / storage_id 是实验所用各中心的存储位置, 换环境时按自己的平台重填;centers 的命名(NPU/GCU/DCU/MLU/ALI/TX)对应不同卡型与存储族

快速开始

python experiments/plan13_integrated.py --help    # 集成版对比:L0 / L1_Du / L2_Dq / L3 / L3+准入 / L3+副本 / JSQ / Joint_EFT / Tetris
python experiments/plan12_matrix.py --help        # 决策点矩阵实验
python experiments/link_stability_20261110.py --help
python experiments/make_charts.py                 # 由图数据生成图表

结果与数据可得性

  • 已入库:结果摘要(results/,12 组实验)、图表(figures/、tables/)、全部实验脚本与计划、设计记录
  • 未入库:原始实验产物 experiments/runs/(约 50 GB:bundle、checkpoint、逐块上传记录、逐任务日志)与文献 PDF
  • 原始产物可按 experiments/ 中的脚本 + plans/*.json 重新生成;需要离线副本可另行提供

复现要点

  • 上传、登记、绑定、读回都发生在真实平台对象存储;”执行”是本地按真实时钟推进的仿真
  • 负载 trace、噪声、并发与时长档位写在 experiments/plans/*.json 与各脚本的 argparse 参数中
  • 结果目录按 results/<实验>_<日期>/ 组织,图表数据见各目录下的 chart_data.json / *.csv

安全说明

  • 仓库不含账号口令、会话令牌、presigned URL 或数据库口令
  • 原脚本中的硬编码口令已改为环境变量读取;config/*.json 被 .gitignore 排除,只提交 *.example.json
  • jcc.jointcloud.net、openi.pcl.ac.cn 等内部平台地址仅为复现保留,访问需自行申请

许可

MIT License,见 LICENSE。

English summary

Reproducibility artifact for a two-stage data-transfer scheduling study: a real-upload + simulated-execution testbed that evaluates submission-time (D0), in-transfer (Du) and queueing-time (Dq) decisions plus upload admission and replica-count policies. The framework decouples policy decisions from the real upload path (register / bind / readback against the platform object storage) and advances execution on a local event loop in real time. Raw run artifacts (~50 GB) are excluded; summarized results, LaTeX tables, figures, experiment scripts and design notes are included.

关于
12.6 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号