tidis icon indicating copy to clipboard operation
tidis copied to clipboard

tikv client connect

Open jklofs opened this issue 6 years ago • 3 comments

如何配置tidis请求tikv的grpc 连接数,暂时发现tidis无法把cpu吃满,压测效果不佳

jklofs avatar Mar 11 '19 11:03 jklofs

@jklofs You can increase the number of parallel client connections to tidis and test again. The number of grpc connection is 16 by default and is not configurable.

yongman avatar Mar 12 '19 02:03 yongman

能否将此配置暴露,现在测试下来感觉tidis只能吃到3/4的cpu,就无法再提升了 image

jklofs avatar Mar 12 '19 02:03 jklofs

@jklofs I think the bottleneck may have little relation with the number of grpc connection. It may be linux kernel process context switch? network bandwidth? vm cpu steal?NIC queue? or may be complicated.

yongman avatar Mar 12 '19 02:03 yongman