Host zerocopy path: bundle deregistration acks instead of one NcpyOperationInfo message per buffer
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
- 22/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- cpp, hpc
- Área
- distributed-systems, hpc, networking
Línea de trabajo
Start from handleEntryMethodApiCompletion on the host RDMA path, where one CmiInvokeRemoteDeregAckHandler / NcpyOperationInfo reverse message is sent per completed buffer, then compare with the id-and-piggyback scheme already used on the device path in #3961. Keep remoteDeregHandler's two guards (compare by node not PE; never re-enter the completion path). Carry the 8-byte id block on the nocopy metadata message rather than the converse header. Done when host-path deregistration and source callbacks match the device path's bundled acks without extra per-buffer messages on the critical path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Host zerocopy path: bundle deregistration acks instead of one NcpyOperationInfo message per buffer
On the host RDMA path, handleEntryMethodApiCompletion sends one reverse message per completed buffer (CmiInvokeRemoteDeregAckHandler, carrying the whole NcpyOperationInfo, about 200 bytes) so the source PE can deregister and then invoke the source callback (remoteDeregHandler). That is one message per buffer per message, on the critical path of the source PE.
The device path now does the same job with an 8-byte id per buffer, minted on the sender and resolved there, carried back inside the first descriptor of the next zerocopy message the receiver sends to that PE (capacity 8, count-prefixed), with a standalone message only on overflow or at idle (#3961). Measured on Frontier (8x MI250X, Slingshot, Jacobi with 2-16 KB ghosts): the release went from ~4 us per remote message to ~0.3 us, and a requested source callback from 6-20% of a chare-iteration to 3-4%.
Nothing in that mechanism is device-specific: the id table, the per-destination accumulator, and the block on the descriptor would carry a host buffer's release and callback just as well. Proposal: give the host path the same id-and-piggyback scheme, keeping remoteDeregHandler's two guards (compare by node, not PE; never re-enter the completion path, which loops and leaks a QdCreate per pass), and carry the block on the nocopy metadata message rather than in the converse header.
Not done in #3961 on purpose: it touches the host path's completion state machine and deserves its own review.
- Lenguaje dominante
- C++
- Estrellas
- 241
- Forks
- 62
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 125
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 charmplusplus/charm
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
charmplusplus/charm#4210 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
charmplusplus/charm#4160 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
charmplusplus/charm#3619 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
CkFreeSysMsg pools non-system messages; a later CkAllocSysMsg can return a CkReductionMsgPosiblemente ocupada @lvkale la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
charmplusplus/charm#4224 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
charmplusplus/charm#4223 ·
Los mantenedores suelen responder en 1 día
Todos los issues de charmplusplus/charm
Issues similares
-
area:qmc bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 3 días
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ASGC-Game-Jam/asgc-gamejam-2026#563 ·
Los mantenedores suelen responder en 1 día
-
area/ysql kind/bug priority/medium status/awaiting-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yugabyte/yugabyte-db#37523 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Cockatrice/Cockatrice#7896 ·
Los mantenedores suelen responder en 1 día
-
mlir
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
llvm/llvm-project#241070 · 1 comentario ·
Los mantenedores suelen responder en 1 día