Give each fiber a compute share of its engine, beside its bytes

Abierto
#67 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
go, kubernetes, linux

Línea de trabajo

Start by reading how device budgets and byte accounting move with a session, and how the admin socket reports slice usage; the issue does not name files or tests. The work depends on an engine that runs kernels, while refengine has no metered compute, so identify that engine and its request path first. Done means compute shares are enforced and reported, parked sessions retain their share across engines, and latency plus non-greedy overhead are measured.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

A grant's device budget caps how much of the engine's memory one fiber may hold. Nothing caps how much of the engine's compute it may use. One busy fiber can hold its slice within budget and still starve every other fiber of the same grant, since the engine runs their work one request at a time.

Wanted.

  • A compute share per fiber in the device budget, as a percent of the engine, next to bytes. A grant that sets none gets an equal share.
  • The engine meters each slice's work and delays a fiber over its share, so the others keep their turn. A fiber is never killed for compute, only slowed.
  • The share travels with the session. A parked session resumes on another engine with the same share, as its bytes do today.
  • The admin socket reports each slice's compute use beside its bytes.

Measure the slowest fiber's request latency under one greedy fiber, with and without the share, and the share's cost when no fiber is greedy.

Depends on a real engine. refengine fills memory and hashes it, so there is no work to meter yet. Build this with the first engine that runs kernels, such as one serving a model's KV cache, and design the budget field before it.

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/fiberd

Todos los issues de Azure/fiberd

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.