rdma_performance用例use_rdma=false增加client端并发度qps反而降低
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- cpp, linux
Línea de trabajo
Reproduzca el problema con los comandos de servidor y cliente proporcionados, utilizando la ruta TCP de rdma_performance con use_rdma=false. Varíe por separado thread_num y queue_depth del cliente, registre QPS y la latencia, e inspeccione los puntos de entrada del cliente y del servidor de rdma_performance. Se considera terminado cuando se haya identificado y corregido la disminución de QPS relacionada con la concurrencia y, después, se hayan confirmado los resultados con las configuraciones indicadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
将server和lclient部署在同一台服务器上做测试,rdma_performance用例中,使用use_rdma=false,走tcp路径,设置不同的并发度,发现qps并不是随着并发度的增加而增大的,在并发度2->3的时候,qps会出现很大幅度的下降
thread_num=1,
queue_depth=1: Avg-Latency: 19, 99th-Latency: 25, Throughput: 50.1614MB/s, QPS: 51k
queue_depth=2: Avg-Latency: 19, 99th-Latency: 34, Throughput: 98.1903MB/s, QPS: 100k
queue_depth=3: Avg-Latency: 72, 99th-Latency: 147, Throughput: 47.5866MB/s, QPS: 48k
queue_depth=4: Avg-Latency: 94, 99th-Latency: 165, Throughput: 40.9762MB/s, QPS: 41k
queue_depth=5: Avg-Latency: 103, 99th-Latency: 177, Throughput: 45.849MB/s, QPS: 46k
queue_depth=6: Avg-Latency: 90, 99th-Latency: 175, Throughput: 58.4754MB/s, QPS: 59k
queue_depth=7: Avg-Latency: 124, 99th-Latency: 202, Throughput: 54.4525MB/s, QPS: 55k
queue_depth=8: Avg-Latency: 99, 99th-Latency: 189, Throughput: 69.4976MB/s, QPS: 71k
queue_depth=9: Avg-Latency: 116, 99th-Latency: 190, Throughput: 71.0985MB/s, QPS: 72k
queue_depth=10: Avg-Latency: 113, 99th-Latency: 202, Throughput: 79.0347MB/s, QPS: 80k
queue_depth=1,
thread_num=1: Avg-Latency: 19, 99th-Latency: 25, Throughput: 50.1614MB/s, QPS: 51k
thread_num=2: Avg-Latency: 22, 99th-Latency: 36, Throughput: 87.3242MB/s, QPS: 89k
thread_num=3: Avg-Latency: 63, 99th-Latency: 140, Throughput: 46.3184MB/s, QPS: 47k
thread_num=4: Avg-Latency: 92, 99th-Latency: 164, Throughput: 40.8889MB/s, QPS: 41k
thread_num=5: Avg-Latency: 106, 99th-Latency: 189, Throughput: 45.1301MB/s, QPS: 46k
thread_num=6: Avg-Latency: 110, 99th-Latency: 188, Throughput: 51.0793MB/s, QPS: 52k
thread_num=7: Avg-Latency: 119, 99th-Latency: 201, Throughput: 54.6445MB/s, QPS: 55k
thread_num=8: Avg-Latency: 128, 99th-Latency: 206, Throughput: 59.5457MB/s, QPS: 60k
thread_num=9: Avg-Latency: 137, 99th-Latency: 221, Throughput: 63.7176MB/s, QPS: 65k
thread_num=10: Avg-Latency: 137, 99th-Latency: 224, Throughput: 69.4117MB/s, QPS: 71k
To Reproduce
server:./server --use_rdma=false
client:./client --use_rdma=false --attachment_size=1024 --echo_attachment=true --thread_num=1 --queue_depth=2
测试时改变client端的thread_num和queue_depth
Expected behavior
增加并发度qps应该有所增加,到达瓶颈之后应当维持不变,不应该出现下降的问题吧
Versions
OS: linux 6.6
Compiler: gcc 12.2
brpc: 1.15.0
protobuf: 28.3
Additional context/screenshots
- Lenguaje dominante
- C++
- Estrellas
- 17.6k
- Forks
- 4.2k
- Merge medio
- 3 d 17 h
- PR fusionados (30 d)
- 72
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una 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 apache/brpc
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días
-
endpoint2hostname() prints a byte-swapped port for IPv6 endpointsPosiblemente ocupada @0z5a la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 2 días
-
perf(butil): ARM64 (aarch64) performance and modernisation improvements across atomics, CRC32C, spin-wait hints, and fast timersPosiblemente ocupada @jimmystewpot la tomó hace 2 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
Los mantenedores suelen responder en 2 días
-
file:// naming service takes a comment after the address as the tagPosiblemente ocupada @0z5a la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
Los mantenedores suelen responder en 2 días
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 2 días
Todos los issues de apache/brpc
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
protocolbuffers/protobuf#31768 ·
Los mantenedores suelen responder en 1 día
-
Needs: Triage :mag: Platform: Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react/react-native#60167 ·
Los mantenedores suelen responder en 2 días
-
Level format documentationAbiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
-
tests: ofx_render_test doesn't compile against FFmpeg 4.x (const AVCodec* to av_find_best_stream)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NatronGitHub/openfx-io#221 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
subsurface/subsurface#5145 ·
Los mantenedores suelen responder en 2 días