facebook / facebook/zstd

Multithreaded compression offers only a slight performance improvement

Abierto
#4,762 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C
Estrellas
27.9k
Forks
2.6k
Merge medio
1 d 3 h
PR fusionados (30 d)
8

Descripción

I used an 11.5 GB file to test the compression times under both single-threaded and multithreaded. Multithreading with `ZSTD_c_nbWorkers`, while single-threaded does not. The results show that single-threaded compression took 35.924 seconds, whilst multithreading took 33.879 seconds. Strangely, the efficiency gain from multithreading is minimal, could you explain why this is the case?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.