holmes07 commented on pull request #13464:
URL: https://github.com/apache/pulsar/pull/13464#issuecomment-1000692148


   > We'd better decrease the weight but should be bigger than 0. Because it 
can reflect the heap usage.
   ### 
   **some gc detail  on my case, it happens about every 10s(this may be 
relevant to  -XX:MaxGCPauseMillis=500) ,only about 25% memory usage 
survivors(maybe 0.25 is one option value). But  as eden space is not a stable 
zone , the memory usage is depends on both the load report moment and the gc 
trigger moment . if the default loadBalancerHistoryResourcePercentage = 0.9 
decrease to a more sensitivity value, it may has higher chance to cause some 
traffic flow from one broker to other broker  frequently .  i think maybe cpu 
&network& directMemory is enough to refect the real  traffic** 
   
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3954.4M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3954.4M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3954.8M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3954.6M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3955.1M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3955.0M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3955.4M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3955.4M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3955.8M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3956.1M(16.0G)]
      [Eden: 9816.0M(9816.0M)->0.0B(9816.0M) Survivors: 8192.0K->8192.0K Heap: 
13.4G(16.0G)->3957.3M(16.0G)]
   


-- 
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]


Reply via email to