HAMi Test Finds Little Slicing Overhead but Sharp Core-Limit Costs
In a hands-on test by author Wu Jiahao, HAMi v2.11.0 ran eight instances of the same Embedding and Reranker service on one RTX 4090. Containerization and vGPU slicing produced an approximately 0.2% performance difference, which the author characterized as within measurement noise. Adding nvidia.com/gpucores: 12 reduced aggregate throughput by 48%, raised mean latency by 41% and p95 latency by 255%. The test also measured a 2.6-second Kubernetes cold-start overhead compared with Docker. In a separate mixed-workload case, HAMi did not account for about 30.4 GB of memory used by unmanaged Docker containers on an RTX 5090, scheduled a pod to that card and encountered an out-of-memory error. The results come from one author’s test on a dual-GPU machine and have not been independently replicated in the supplied material.
The measurements provide infrastructure teams with practical evidence for evaluating HAMi: slicing itself showed little measurable overhead in this test, while SM quotas, second-scale pod startup and visibility gaps involving unmanaged workloads could materially affect capacity planning and production reliability.
我把 HAMi 摆回一台双卡机器上跑了一遍:GPU 编排的性能账,到底记在谁头上
作 者:吴佳浩Alben
撰稿时间:2026.11.18
引言:
上一篇写 Run:ai 开源的时候,很多筒子都在问一个问题:GPU 编排到底值不值? 这个问题其实不好回答。 光看架构图,看不出来;光讲原理,也说服不了人。 更重要的是,这两年国产算力越来越多,企业机房里已经很难做到只有一种 GPU。从 NVIDIA,到昇腾、寒武纪、摩尔线程、壁仞、沐曦、海光……异构已经不是未来,而是很多企业的现状。 **HAMi 恰好就是国内目前最成熟的开源 GPU 编排项目之一,也是少数一开始就把多厂商异构支持作为核心目标来设计的方案。**它的意义已经不仅仅是给 NVIDIA 做 GPU Sharing,而是希望让不同厂商的 GPU 能在 Kubernetes 里使用统一的资源模型和调度方式。 所以这次我没有继续分析,而是把一台双卡机器腾空,把 HAMi 装起来,把八个真实业务搬进去重新跑了一遍。 结果和我原来想的不太一样。
#HAMi v2.11.0#Kubernetes#NVIDIA GeForce RTX 4090#NVIDIA GeForce RTX 5090#CUDA#Run:ai