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

why 500m-btree-populate.wtperf (test wtperf), At 2 threads, performance is lower than 1 threads.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 3.0.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Description

      @Keith Bostic 

      @Githook User 

      I do not understand . can you help me

       

      when populate_threads=1, wtperf result is:

      ./wtperf -O 500m-btree-populate.wtperf

      root@dprofiler-jvm-00.gz01:/data1/yyz/wtperf-test$ tail -f WT_TEST/test.stat
      Starting 1 populate thread(s) for 50000000 items
      6535954 populate inserts (6535954 of 50000000) in 10 secs (10 total secs)
      6549742 populate inserts (13085696 of 50000000) in 10 secs (20 total secs)
      6542966 populate inserts (19628662 of 50000000) in 10 secs (30 total secs)
      6550718 populate inserts (26179380 of 50000000) in 10 secs (40 total secs)
      6542726 populate inserts (32722106 of 50000000) in 10 secs (50 total secs)
      6548944 populate inserts (39271050 of 50000000) in 10 secs (60 total secs)
      6567166 populate inserts (45838216 of 50000000) in 10 secs (70 total secs)
      Finished load of 50000000 items
      Load time: 76.75
      load ops/sec: 651423
      Compact after populate
      Compact completed in 2 seconds
      Run completed

       

       

       

      when populate_threads=2, wtperf result is:

      ./wtperf -O 500m-btree-populate.wtperf

      root@dprofiler-jvm-00.gz01:/data1/yyz/wtperf-test$ tail -f WT_TEST/test.stat -n 20
      Starting 2 populate thread(s) for 50000000 items
      3773018 populate inserts (3773018 of 50000000) in 10 secs (10 total secs)
      3780940 populate inserts (7553958 of 50000000) in 10 secs (20 total secs)
      3744032 populate inserts (11297990 of 50000000) in 10 secs (30 total secs)
      3779129 populate inserts (15077119 of 50000000) in 10 secs (40 total secs)
      3775295 populate inserts (18852414 of 50000000) in 10 secs (50 total secs)
      3757941 populate inserts (22610355 of 50000000) in 10 secs (60 total secs)
      3785446 populate inserts (26395801 of 50000000) in 10 secs (70 total secs)
      3751557 populate inserts (30147358 of 50000000) in 10 secs (80 total secs)
      3778364 populate inserts (33925722 of 50000000) in 10 secs (90 total secs)
      3775817 populate inserts (37701539 of 50000000) in 10 secs (100 total secs)
      3721417 populate inserts (41422956 of 50000000) in 10 secs (110 total secs)
      3776400 populate inserts (45199356 of 50000000) in 10 secs (120 total secs)
      3772712 populate inserts (48972068 of 50000000) in 10 secs (130 total secs)
      Finished load of 50000000 items
      Load time: 133.50
      load ops/sec: 374529
      Compact after populate
      Compact completed in 2 seconds

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-execution Backlog - Execution Team
                Reporter:
                wocuocuo yxyxz123456
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: