wy96f edited a comment on issue #2750: ARTEMIS-2399 Improve performance when 
there are a lot of subscribers
URL: https://github.com/apache/activemq-artemis/pull/2750#issuecomment-511398767
 
 
   @michaelandrepearce I deployed the test without MAX_DEPAGE_NUM limit during 
depage. The performance result as follows:
   1. Running in 51MB size page and 1 page cache in the case of 100 multicast
   queues. The consumer tps dropped to ~11000 compared to ~16000 in pr.
   
![image](https://user-images.githubusercontent.com/7719761/61217429-45120600-a742-11e9-8f52-835b10cbabaf.png)
   
![image](https://user-images.githubusercontent.com/7719761/61217451-4f340480-a742-11e9-8d5a-690b69312d6f.png)
   2. Running in 5MB size page and 100 page cache in the case of 100 multicast
   queues.  The consumer tps dropped to ~10000 compared to ~15000 in pr.
   
![image](https://user-images.githubusercontent.com/7719761/61217513-6e329680-a742-11e9-991e-b90a83f2001e.png)
   
![image](https://user-images.githubusercontent.com/7719761/61217537-74c10e00-a742-11e9-84d1-23c136eaa59a.png)
   3. Running in 51MB size page and 1 page cache in the case of 1 queue. 
Performance results similar.
   
![image](https://user-images.githubusercontent.com/7719761/61217894-4abc1b80-a743-11e9-88ad-c9fa9a1f2a61.png)
   
![image](https://user-images.githubusercontent.com/7719761/61217904-514a9300-a743-11e9-9334-47725ba33773.png)
   
   Seems like paged message removed and re reading file resulted in the 
performance drop particularly in the case of heavy usage of memory(test 1,2). 
Even if there was enough free memory and messages were not gced(test 3), the 
performance didn't make a big difference - instead memory footprint might be 
increased. Considering we've totally relied on the kernel page cache, it seems 
not to need spare messages in memory. I personally assume this is an import 
feature.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to