Design discussion: sharing NVDEC/NVENC in multi‑tenant DeepStream pipelines . #2003
maishivamhoo123
started this conversation in
Ideas
Replies: 1 comment
|
@maishivamhoo123 AFAK, the dynamic mig can help isolating the NVENC/NVDEC |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Issue #2002 outlines the problem: DeepStream pipelines contend for fixed‑function NVDEC/NVENC engines, causing failures when multiple video pods share a GPU. HAMi already virtualises compute and memory, but not the video hardware.
Objective
This discussion is to explore how HAMi could safely share or isolate NVDEC/NVENC across containers. I’d like to gather feedback from the community—especially anyone running DeepStream in Kubernetes—and agree on a feasible first step.
Potential approaches (open for debate)
nvidia.com/decoder-streamswith a max‑streams limit per container, enforced either in the NVIDIA driver (if future MPS/cgroup support arrives) or via a shim layer.nvidia-container-toolkithooks or environment variables (e.g.,NVDEC_NUM_DECODERS) be used to limit visibility? What are the gaps?Questions for the community
/cc @archlitchi @Shouren
All reactions