Github user hsun-cnnxty commented on the issue:

    https://github.com/apache/storm/pull/1591
  
    Tests are done to compare following two code bases:
    - baseline: current head of 1.x-branch 
(62476f5237a72938c1f0d3fe65dbcdc446a2bd12)
    - netty 4.1.x: 1.x-branch-netty4 (dd96d9f4ba5b8da8d68845d7796d29de8bdbe3b8)
    
    In summary:
    - netty 4.1.x is able to sustain higher throughput (20k/sec) than baseline 
(between 15k -20k/sec) 
    - netty 4.1.x has lower GC activity which could be the reason that it has 
higher throughput**
    
    Also tested different netty configurations regarding buffer allocation
    - use direct buffer or heap
    - use pooled or unpooled
    
    Result shows the default setting works best. 
    
    Performance tests are done on my laptop with following config:
    
     Model Name:        MacBook Pro
      Processor Name:   Intel Core i7
      Processor Speed:  2.3 GHz
      Number of Processors:     1
      Total Number of Cores:    4
      L2 Cache (per Core):      256 KB
      L3 Cache: 6 MB
      Memory:   16 GB
     System Version:    OS X 10.10.5 (14F27)
      Kernel Version:   Darwin 14.5.0
    
    The data collected is attached.  
    
[performance_compare_netty_1.x-branch.zip](https://github.com/apache/storm/files/503682/performance_compare_netty_1.x-branch.zip)
    
      


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to