BTW, this is the related PR for this discussion: https://github.com/apache/pulsar/pull/22801.
On 2024/05/31 03:16:37 thetumbled wrote: > Hi, Pulsar Community. > I want to start a discussion about changing the default value of deprecated loadBalancerMemoryResourceWeight to 0. We have deprecated this conf in PR: https://github.com/apache/pulsar/pull/19559, because the memory usage increase all the way until the GC reclaim the space, thus there is no relation between the actual load with the memory usage. > But PR: https://github.com/apache/pulsar/pull/19559 don't remove all usage of this conf, there is still some logic using this deprecated conf. Meanwhile, there is a try to enhance the memory usage collection by Lari (https://github.com/apache/pulsar/issues/21973), so there is possibilty that we may enable this conf again if the memory usage is proved to be related with the actual load. > Based on info aboved, i think that we have better to make the default value of deprecated loadBalancerMemoryResourceWeight to 0, in such way we can avoid the interference from the memory usage and waiting for Lari's enhancement. > Looking for your feedback! > > Thanks, > Wenzhi Feng(thetumbled). On 2024/05/31 03:16:37 thetumbled wrote: > Hi, Pulsar Community. > I want to start a discussion about changing the default value of deprecated loadBalancerMemoryResourceWeight to 0. We have deprecated this conf in PR: https://github.com/apache/pulsar/pull/19559, because the memory usage increase all the way until the GC reclaim the space, thus there is no relation between the actual load with the memory usage. > But PR: https://github.com/apache/pulsar/pull/19559 don't remove all usage of this conf, there is still some logic using this deprecated conf. Meanwhile, there is a try to enhance the memory usage collection by Lari (https://github.com/apache/pulsar/issues/21973), so there is possibilty that we may enable this conf again if the memory usage is proved to be related with the actual load. > Based on info aboved, i think that we have better to make the default value of deprecated loadBalancerMemoryResourceWeight to 0, in such way we can avoid the interference from the memory usage and waiting for Lari's enhancement. > Looking for your feedback! > > Thanks, > Wenzhi Feng(thetumbled).