kangkaisen opened a new pull request #243: Skip unnecessary stream init and 
decrease the TCMalloc pressure (#242)
URL: https://github.com/apache/incubator-doris/pull/243
 
 
   Partially Fix [242](https://github.com/apache/incubator-doris/issues/242)
   
   After this PR, the perf result for SQL2 is below:
   ```
      7.75%  palo_be  palo_be             [.] palo::memory_copy
      5.47%  palo_be  [kernel.kallsyms]   [k] clear_page_c_e
      5.47%  palo_be  palo_be             [.] 
palo::VectorizedRowBatch::dump_to_row_block
      3.80%  palo_be  palo_be             [.] SpinLock::SpinLoop
      2.54%  palo_be  palo_be             [.] operator new[]
      2.38%  palo_be  palo_be             [.] LZ4_decompress_safe
      2.36%  palo_be  palo_be             [.] palo::OlapScanner::get_batch
      2.08%  palo_be  palo_be             [.] tc_deletearray_nothrow
      1.93%  palo_be  palo_be             [.] 
tcmalloc::CentralFreeList::FetchFromOneSpans
      1.92%  palo_be  palo_be             [.] palo::Reader::_unique_key_next_row
      1.48%  palo_be  palo_be             [.] 
tcmalloc::ThreadCache::ReleaseToCentralCache
   ```
   The Overhead for SpinLock::SpinLoop reduce obviously.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to