Rudimentary GPU load balancing
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 830
- Fork
- 116
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VirtualGL/virtualgl
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của VirtualGL/virtualgl
Issue tương tự
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backĐang mởdifficulty:easy prio:low type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NatronGitHub/openfx-supportext#311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CachyOS/packageinstaller#211 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
documentation project: clr project: hip
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ROCm/rocm-systems#17194 ·
Maintainer thường phản hồi trong vòng 2 ngày