You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/11/02 08:02:31 UTC

[GitHub] [incubator-brpc] zhaojinzhou opened a new issue, #1980: lalb locality aware 怎么设置参数使得不同机器的qps差异更大?

zhaojinzhou opened a new issue, #1980:
URL: https://github.com/apache/incubator-brpc/issues/1980

   使用默认的  lalb参数,发现  即使耗时差异达到两倍,   qps的差异 也只有10%  并且没有  两台机器 耗时收敛的迹象。


-- 
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: dev-unsubscribe@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #1980: lalb locality aware 怎么设置参数使得不同机器的qps差异更大?

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1980:
URL: https://github.com/apache/incubator-brpc/issues/1980#issuecomment-1310127476

   > 调了 punish_inflight_ratio和 min_weight 这两参数。
   > 按我理解,min_weight=0就是说可能有机器的 qps约等于没有?
   > punish_inflight_ratio=1就是说 只要当前的请求耗时超过平均值了就调权重?
   
   是的。
   
   如果还不符合预期,可以加些日志,把实例的权重打印出来看看


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] wwbmmm commented on issue #1980: lalb locality aware 怎么设置参数使得不同机器的qps差异更大?

Posted by GitBox <gi...@apache.org>.
wwbmmm commented on issue #1980:
URL: https://github.com/apache/incubator-brpc/issues/1980#issuecomment-1310028538

   https://github.com/apache/incubator-brpc/blob/master/src/brpc/policy/locality_aware_load_balancer.cpp#L31
   这里有一些参数,可以调下试试


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] zhaojinzhou commented on issue #1980: lalb locality aware 怎么设置参数使得不同机器的qps差异更大?

Posted by GitBox <gi...@apache.org>.
zhaojinzhou commented on issue #1980:
URL: https://github.com/apache/incubator-brpc/issues/1980#issuecomment-1310032703

   > https://github.com/apache/incubator-brpc/blob/master/src/brpc/policy/locality_aware_load_balancer.cpp#L31 这里有一些参数,可以调下试试
   
   调了 punish_inflight_ratio和 min_weight 这两参数。 
   按我理解,min_weight=0就是说可能有机器的 qps约等于没有?
   punish_inflight_ratio=1就是说  只要当前的请求耗时超过平均值了就是调权重?
   
   这两参数应该是最极端的参数了。 但是似乎还是没有效果。 只是 机器见的qps 差异确实大了那么一丁点。 但也不明显。


-- 
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: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org