面向RISC-V集群的指令感知容器调度框架OA
Instruction-aware Container Scheduling Framework for RISC-V Clusters
随着RISC-V处理器从嵌入式系统扩展到数据中心,其丰富的指令集扩展为专用加速提供了新的机遇.然而,现有的云原生调度器通常将 CPU 视为同构资源,难以识别和利用指令级异构性,从而限制了潜在的性能提升.为了解决这个问题,该文提出了一种适用于 RISC-V 集群的容器调度框架,该框架将应用级指令偏好与目标节点的扩展能力相匹配.该框架包含两个阶段:离线分析阶段,用于识别运行时热点并推断指令需求;在线调度阶段,使用原生亲和性机制将这些需求集成到 Kubernetes 调度过程中,而无需修改核心调度器.实现了一个原型,并在代表性工作负载上对其进行了评估.结果表明,在大型语言模型推理中,调度到支持 RVV 的节点可使上下文构建阶段的速度提升 11 倍.这些发现表明,将RISC-V ISA 的可扩展性与指令感知调度相结合,可以显著提高系统在各种场景下的性能和效率.
As RISC-V processors expand from embedded systems to data centers,their rich instruction set extensions offer new opportuni-ties for specialized acceleration.However,existing cloud-native schedulers typically treat CPUs as homogeneous resources,struggling to identify and leverage instruction-level heterogeneity,which limits potential performance gains.To address this,we propose a container scheduling framework for RISC-V clusters that matches application-level instruction preferences with the extension capabilities of target nodes.The framework comprises two stages:an offline analysis phase to identify runtime hotspots and infer instruction requirements,and an online scheduling phase that integrates these requirements into the Kubernetes scheduling process using native affinity mechanisms,without modifying the core scheduler.We implemented a prototype and evaluated it using representative workloads.The results demon-strate that for large language model inference,scheduling tasks to nodes supporting RVV can accelerate the context construction phase by up to 11 times.These findings indicate that combining the extensibility of the RISC-V ISA with instruction-aware scheduling can signif-icantly enhance system performance and efficiency across various scenarios.
包军;何懿宣;程延博;李美;叶国栋;周睿;周庆国
兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000兰州大学,甘肃 兰州 730000
信息技术与安全科学
RISC-VISA扩展容器编排Kubernetes调度性能分析
RISC-VISA extensionscontainer orchestrationKubernetesschedulingperformance analysis
《计算机技术与发展》 2026 (9)
1-8,8
国家重点研发计划(2023YFB4503903)
评论