Rudimentary GPU load balancing
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C++
- Estrellas
- 830
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de VirtualGL/virtualgl
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de VirtualGL/virtualgl
Issues similares
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backAbiertodifficulty:easy prio:low type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
NatronGitHub/openfx-supportext#311 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CachyOS/packageinstaller#211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
documentation project: clr project: hip
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ROCm/rocm-systems#17194 ·
Los mantenedores suelen responder en 2 días