Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14461

Lock percentage reported by mongostat exceeds 100%

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.6.3
    • Fix Version/s: None
    • Component/s: Diagnostics
    • Labels:
    • Environment:
      Linux localhost.localdomain 3.14.4-200.fc20.x86_64 #1 SMP Tue May 13 13:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    • Operating System:
      ALL

      Description

      During the insert phase of LinkBench load it's about 130%:

       84234     *0   1028     *0       0     1|0       0   544m  1.36g   269m      0 linkdb:128.0%          0       4|0     0|1     6m    85k     9   15:23:40 
       93348     *0    589     *0       0     1|0       0   544m  1.36g   282m      0 linkdb:131.0%          0       3|0     0|1     7m    55k     9   15:23:41 
       92694     *0    448     *0       0     1|0       0   544m  1.36g   296m      0 linkdb:134.0%          0       3|0     0|1     7m    45k     9   15:23:42 
       91196     *0    335     *0       0     9|0       0   544m  1.36g   309m      0 linkdb:134.3%          0       1|0     0|1     7m    40k     9   15:23:43 
       93050     *0    366     *0       0     1|0       0   544m  1.36g   324m      0 linkdb:132.9%          0       3|0     0|1     7m    39k     9   15:23:44 
       88198     *0    806     *0       0     1|0       0   544m  1.36g   337m      0 linkdb:130.9%          0       1|0     0|1     7m    70k     9   15:23:45 
       92160     *0    805     *0       0     1|0       0   544m  1.36g   350m      0 linkdb:129.7%          0       1|0     0|1     7m    70k     9   15:23:46 
       90088     *0    473     *0       0     1|0       0   544m  1.36g   363m      1 linkdb:135.1%          0       3|1     0|1     7m    46k     9   15:23:47 
       90136      3    453     *0       0     9|0       0   544m  1.36g   377m      0 linkdb:134.0%          0       1|0     0|1     7m    48k     9   15:23:48 
       87040     *0    369     *0       0     1|0       0   544m  1.36g   391m      0 linkdb:132.6%          0       1|0     0|1     6m    38k     9   15:23:49 

      and during the update phase, 170%:

          *0     *0   1083     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:158.1%          0       0|0     0|1   304k    80k     7   15:25:32 
          *0     *0   1338     *0       0     7|0       0  4.03g  8.36g   1.5g      0 linkdb:171.1%          0       2|0     0|1   376k   100k     7   15:25:33 
          *0     *0   1485     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:168.8%          0       1|0     0|1   417k   108k     7   15:25:34 
          *0     *0    770     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:170.2%          0       1|0     0|1   216k    57k     7   15:25:35 
          *0     *0   1840     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:166.1%          0       0|0     0|1   517k   133k     7   15:25:36 
          *0     *0   1002     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:172.1%          0       2|0     0|1   281k    74k     7   15:25:37 
          *0     *0   1603     *0       0     7|0       0  4.03g  8.36g   1.5g      0 linkdb:169.0%          0       1|0     0|1   450k   119k     7   15:25:38 
          *0     *0   1167     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:171.9%          0       1|0     0|1   327k    86k     7   15:25:39 
          *0     *0   1195     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:168.7%          0       2|1     0|1   335k    88k     7   15:25:40 
          *0     *0   1544     *0       0     1|0       0  4.03g  8.36g   1.5g      0 linkdb:167.0%          0       1|0     0|1   434k   112k     7   15:25:41 

      This is, at least mathematically, wrong.

      Steps to reproduce:

      git clone https://github.com/dcci/linkbench
      cd linkbench
      mvn clean package -DskipTests
      ./bin/linkbench -c config/LinkConfigMongoDb.properties -l

      This expects a single mongod running on localhost:27017. You can modify config/LinkConfigMongoDb.properties to direct the client elsewhere, if you want/need.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-execution Backlog - Storage Execution Team
              Reporter:
              davide.italiano Davide Italiano
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: