yongman / tidis

Distributed transactional NoSQL database, Redis protocol compatible using tikv as backend

Home Page:https://github.com/tidb-incubator/tidis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tikv client connect

jklofs opened this issue · comments

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

@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.

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

@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.