Windows prefill and the NPU's 4 KB page translations (driver request: amd/xdna-driver#1817)
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
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, linux
- Área
- backend, performance
Línea de trabajo
Start by comparing FastFlowLM’s Windows and Linux prefill paths and measuring DMA behavior with different page sizes; the issue names no source files or tests. The driver request amd/xdna-driver#1817 is the starting reference for 2 MB host memory mappings. Done looks like Windows/Linux prefill measurements that show whether page size affects performance.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On Windows the NPU driver maps host memory in 4 KB pages, and every page a shim DMA row lands on costs a translation: past a cache of about 512 pages, all DMA channels together get 70-80 million translations a second (Krackan Point, Windows 11). On Linux the NPU gets 2 MB pages (transparent huge pages) and pays nothing. Krackan Point, Linux on one laptop and Windows 11 on another:
| 16 channels, rows 64 KB + one row apart | Linux (2 MB pages) | Windows 11 |
|---|---|---|
| gather 256 B rows | 89.6 GB/s | 15.6 GB/s |
| write 128 B rows | 73.2 GB/s | 6.0 GB/s |
| read stream | 96.9 GB/s | 81.0 GB/s |
A prefill that writes a GEMM's output as one short row per token, a whole activation row apart, pays one translation per row on Windows: for Llama 3.2 1B, 7.5 M per 1024-token chunk with 4 KB pages, 0.22 M with 2 MB pages, ~100 ms of DMA per chunk at Windows' rate. If FastFlowLM's prefill on Windows trails Linux on the same machine, this is likely part of it.
A request to map the NPU's host memory with 2 MB pages, with measurements by page size: amd/xdna-driver#1817. FastFlowLM's Windows / Linux numbers there would strengthen it.
- Lenguaje dominante
- C++
- Estrellas
- 2.1k
- Forks
- 184
- Merge medio
- 12 h 22 min
- PR fusionados (30 d)
- 239
Preparar el entorno
- Incluye un Dockerfile o un 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 ROCm/FastFlowLM
-
Update Gemma tokenizer.json after Google's recent fixPosiblemente ocupada @four1er la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ROCm/FastFlowLM#1057 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ROCm/FastFlowLM#757 ·
Los mantenedores suelen responder en 1 día
-
No valid checkpoint to restore + Max length reached on multi-turn tool calls (Qwen3.6-MoE, NPU)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ROCm/FastFlowLM#744 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Truncated tool call is emitted as a complete one (unterminated heredoc reaches the client)Posiblemente ocupada @Javinator9889 la tomó hace 72 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ROCm/FastFlowLM#741 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Download timeoutPosiblemente ocupada @stdevPavelmc la tomó hace 200 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
ROCm/FastFlowLM#520 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de ROCm/FastFlowLM
Issues similares
-
bug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
difficulty:easy func:gui prio:normal type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NatronGitHub/Natron#2118 ·
Los mantenedores suelen responder en 1 día
-
Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
bug difficulty:easy prio:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NatronGitHub/openfx-io#523 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ArduPilot/ardupilot_gazebo#195 ·