Retry or refuse an unguarded grant when the GPU guard's attach fails
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Start with guardFibers in pkg/runtime/host/host_linux.go and trace how grant cgroups are created and how Clone handles a warm grant. Compare the two proposed options, then check the existing GPU guard tests and add coverage for a failed attach and a driver loading later. Done means an unguarded grant is retried or refused according to the chosen behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The GPU PoC (#4, milestone M4b) attaches a GPU guard, a cgroup device program, to every grant's <grant>/fibers/ parent. When the attach fails on a host whose /proc/devices lists no NVIDIA major, fiberd only logs it and runs the grant unguarded (guardFibers in pkg/runtime/host/host_linux.go).
Two gaps follow.
- The attach is tried again only when the grant's cgroup is made. Clones of a grant that is already warm never retry it, so if the driver loads later, those fibers stay unguarded until the grant is warmed again.
- The skip fires only when the attach itself fails, such as a fiberd without CAP_BPF or a kernel without cgroup device programs. It does not fire for a host with a GPU whose driver loads after fiberd starts.
Options.
- Make a failed attach refuse the grant unless a flag says the home has no GPU.
- Retry the attach at each Clone of an unguarded grant, and refuse once a driver is present.
- Lenguaje dominante
- Go
- Estrellas
- 5
- Forks
- 5
- Merge medio
- 15 h 27 min
- PR fusionados (30 d)
- 41
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Azure/fiberd
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Azure/fiberd#131 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/fiberd
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 2 días
-
[Bug] vela config-template apply drops the template's metadata.descriptionPosiblemente ocupada @backendArchitect la tomó hoy. Abiertoarea/cli area/config good first issue type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kubevela/kubevela#7756 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día