Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2150

WiredTiger YCSB benchmarks show that most CPU is consumed in eviction and checkpointing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Run the YCSB workloada workload on a MongoDB instance running WT

      Track the MongoD instance with perf and see that much of the CPU is consumed in checkpoining and eviction

      -  23.80%  mongod  mongod               [.] __wt_tree_walk                                        
         - __wt_tree_walk                                                                                
            - 99.05% __evict_server                                                                      
                 start_thread                                                                            
            + 0.95% __wt_cache_op                                                                        
      -  23.55%  mongod  mongod               [.] __rec_txn_read                                        
         - __rec_txn_read                                                                                
            - 99.53% __rec_row_leaf_insert                                                              
                 __wt_reconcile                                                                          
               - __wt_cache_op                                                                          
                  - 99.29% __checkpoint_worker                                                          
                       __checkpoint_apply                                                                
                       __wt_txn_checkpoint                                                              
                       __session_checkpoint                                                              
                       __ckpt_server                                                                    
                       start_thread                                                                      
                  + 0.71% __checkpoint_apply                                                            
      +   2.54%  mongod  mongod               [.] __rec_cell_build_leaf_key                              
      +   1.82%  mongod  [kernel.kallsyms]    [k] find_get_pages                                        
      +   1.70%  mongod  [kernel.kallsyms]    [k] __mem_cgroup_uncharge_common                          
      +   1.67%  mongod  [kernel.kallsyms]    [k] free_pcppages_bulk                                    
      +   1.55%  mongod  libc-2.19.so         [.] __memmove_ssse3_back                                  
      +   1.49%  mongod  [kernel.kallsyms]    [k] mem_cgroup_update_page_stat                            
      +   1.45%  mongod  [kernel.kallsyms]    [k] find_get_pages_tag                                    
      +   1.37%  mongod  [kernel.kallsyms]    [k] release_pages                                          
      +   1.33%  mongod  mongod               [.] __rec_row_leaf_insert                                  
      +   1.23%  mongod  [kernel.kallsyms]    [k] block_invalidatepage                                  
      +   1.17%  mongod  [kernel.kallsyms]    [k] ext4_bio_write_page 
      

        Attachments

          Activity

            People

            Assignee:
            backlog-server-execution Backlog - Storage Execution Team
            Reporter:
            david.hows David Hows
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: