Rudimentary GPU load balancing
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
The issue describes a script invoked by vglrun, using nvidia-smi, amdconfig, and ps to choose a GPU and X screen, but names no source files or tests. First read how vglrun handles VGL_DISPLAY and -d, then investigate how GPU load maps to X screens. Done means selecting the least-loaded GPU's screen reliably, with the proposed auto behavior and accommodation for #10 resolved.
索引モデルが issue の本文から書いたものです。
説明
This issue is to track an idea for a script-based GPU load balancer that would be invoked by vglrun. Ideally this script would, if VGL_DISPLAY/-d is auto:
- Call
nvidia-smiandamdconfigto build a list of available GPUs for which load information can be obtained, as well as the load of each GPU. - Somehow figure out which X screen is attached to the least-loaded GPU. I'm not quite sure how to do this.
nvidia-smican be used to figure out whether any Xorg processes are attached to the least-loaded GPU (not sure whetheramdconfigcan do the same thing), andpscan obtain the command line (and thus the X display number) of the Xorg process, but that doesn't tell me which X screen is attached to which GPU (there can be multiple screens per Xorg process.) - Set
VGL_DISPLAYto the X screen of the least-loaded GPU. - ???
- Profit.
This does not depend on #10, but it would need to accommodate that new feature. The idea is that #10 would work the way the old GLP feature used to work on Solaris/SPARC, i.e. it would be activated by specifying a device path rather than an X display in VGL_DISPLAY/-d. Similarly, this feature could be extended by specifying autoegl instead of auto, thus instructing the script to find an EGL device path instead of an X display. If (2) above proves impossible or unwieldy, then this feature might have to rely on EGL.
- 主要言語
- C++
- スター
- 830
- フォーク
- 116
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
VirtualGL/virtualgl のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
VirtualGL/virtualgl の issue をすべて見る
似ている issue
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backオープンdifficulty:easy prio:low type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NatronGitHub/openfx-supportext#311 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CachyOS/packageinstaller#211 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
documentation project: clr project: hip
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ROCm/rocm-systems#17194 ·
メンテナーはふだん 2 日以内に返信