[Suggestion] Use multi-thread when running "aptly publish" without "-skip-contents"
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 46/100
Línea de trabajo
Start at the aptly publish command and trace how it generates and compresses Contents-.gz when -skip-contents is not used. The issue suspects single-threaded xz compression, so first verify where the time is spent and whether that step can use multiple cores. Done means publishing without -skip-contents is faster while preserving the expected Contents output; the issue does not specify files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi!
It's been a great adventure for a newbie like me using aptly to create my first local apt repo!
But me myself, and many others have encountered the problem, that "aptly publish" without "-skip-contents" is very slow, like here and there.
I found that, there's a progress running on single-thread, not using any other CPU core.
At the same time, iotop shows that the hard disk IO isn't too much. So I guess the bottle neck is CPU single-thread.
Google says the "Contents-.gz" is needed when using apt-file, but it's okay for regular apt operations if this file is missing.
So... Could it be possible to use multi-thread, or use something like gnu parallel, when running xz?
- Lenguaje dominante
- Go
- Estrellas
- 2.9k
- Forks
- 436
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 aptly-dev/aptly
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
Todos los issues de aptly-dev/aptly
Issues similares
-
[BUG]Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
kagent-dev/kagent#3385 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
theagentrouter/agent-router#2926 ·
Los mantenedores suelen responder en 1 día
-
meta
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
last9/last9-mcp-server#443 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
ray-project/kuberay#5454 ·
-
deriveTargetPodsForParentNP continues with an empty PolicyEndpoint on non-NotFound Get errorsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
aws/aws-network-policy-agent#723 ·
Los mantenedores suelen responder en 1 día