WenJie872 commented on PR #3122:
URL: https://github.com/apache/brpc/pull/3122#issuecomment-3465828229
> 有没有测试过绑核和不绑核的数据?
@yanglimingcn
### 不绑核 connection_type=single
`
./echo_server -minloglevel=4 --ip_port=*.*.*.*:*
./rpc_press -proto="./echo.proto" -method=example.EchoService.Echo
-server=*.*.*.*:* -input=.'{"message":"hello"} {"message":"world"}' -qps=0
-timeout_ms=3000 -thread_num=200
`
[Latency]
avg 531 us
50% 521 us
70% 597 us
90% 757 us
95% 817 us
97% 846 us
99% 907 us
99.9% 1132 us
99.99% 1360 us
max 2250 us
[Latency]
avg 585 us
50% 569 us
70% 649 us
90% 797 us
95% 843 us
97% 877 us
99% 982 us
99.9% 1142 us
99.99% 1291 us
max 2706 us
[Latency]
avg 606 us
50% 590 us
70% 680 us
90% 814 us
95% 880 us
97% 926 us
99% 1033 us
99.9% 1184 us
99.99% 1935 us
max 3452 us
### 绑核 connection_type=single
`
numactl --cpunodebind=0 --membind=0 ./echo_server -minloglevel=4
--ip_port=*.*.*.*:* --cpu_set=0-79
numactl --cpunodebind=0 --membind=0 ./rpc_press -proto="./echo.proto"
-method=example.EchoService.Echo -server=*.*.*.*:* -input=.'{"message":"hello"}
{"message":"world"}' -qps=0 -timeout_ms=3000 -thread_num=200 --cpu_set=0-10
`
[Latency]
avg 511 us
50% 505 us
70% 576 us
90% 697 us
95% 795 us
97% 843 us
99% 891 us
99.9% 1146 us
99.99% 2124 us
max 7936 us
[Latency]
avg 522 us
50% 516 us
70% 585 us
90% 725 us
95% 807 us
97% 830 us
99% 899 us
99.9% 1145 us
99.99% 1726 us
max 4164 us
[Latency]
avg 516 us
50% 504 us
70% 576 us
90% 703 us
95% 792 us
97% 823 us
99% 871 us
99.9% 1255 us
99.99% 2252 us
max 8437 us
### 不绑核 connection_type=pooled
`
./echo_server -minloglevel=4 --ip_port=*.*.*.*:*
./rpc_press -proto="./echo.proto" -method=example.EchoService.Echo
-server=*.*.*.*:* -input=.'{"message":"hello"} {"message":"world"}' -qps=0
-timeout_ms=3000 -thread_num=200
`
[Latency]
avg 1151 us
50% 1135 us
70% 1212 us
90% 1333 us
95% 1403 us
97% 1444 us
99% 1545 us
99.9% 1636 us
99.99% 4142 us
max 5198 us
[Latency]
avg 1322 us
50% 1281 us
70% 1373 us
90% 1534 us
95% 1619 us
97% 1696 us
99% 1767 us
99.9% 1892 us
99.99% 2074 us
max 6483 us
[Latency]
avg 1494 us
50% 1514 us
70% 1590 us
90% 1718 us
95% 1783 us
97% 1817 us
99% 1945 us
99.9% 2074 us
99.99% 3520 us
max 4119 us
### 绑核 connection_type=pooled
`
numactl --cpunodebind=0 --membind=0 ./echo_server -minloglevel=4
--ip_port=*.*.*.*:* --cpu_set=0-79
numactl --cpunodebind=0 --membind=0 ./rpc_press -proto="./echo.proto"
-method=example.EchoService.Echo -server=*.*.*.*:* -input=.'{"message":"hello"}
{"message":"world"}' -qps=0 -timeout_ms=3000 -thread_num=200 --cpu_set=0-10
`
[Latency]
avg 810 us
50% 789 us
70% 847 us
90% 956 us
95% 1007 us
97% 1048 us
99% 1119 us
99.9% 1209 us
99.99% 1286 us
max 2332 us
[Latency]
avg 809 us
50% 790 us
70% 849 us
90% 966 us
95% 1020 us
97% 1054 us
99% 1120 us
99.9% 1217 us
99.99% 1249 us
max 1425 us
[Latency]
avg 809 us
50% 788 us
70% 851 us
90% 971 us
95% 1011 us
97% 1054 us
99% 1121 us
99.9% 1230 us
99.99% 1260 us
max 1784 us
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]