Sitewhere Sitewhere Mongodb

Channel Revision Published Runs on
latest/stable 1 19 Mar 2021
Ubuntu 14.04
latest/edge 1 19 Mar 2021
Ubuntu 14.04
juju deploy sitewhere-sitewhere-mongodb
Show information

Platform:

Ubuntu
14.04

Learn about actions >

  • perf

    The standard mongoperf benchmark.

    Params
    • fileSizeMB integer

      Test file size, in megabytes.

    • mmf boolean

      Set mmf to true to use memory mapped files for the tests.

    • nthreads integer

      Defines the number of threads mongoperf will use in the test. To saturate your system’s storage system you will need multiple threads. Consider setting nThreads to 16.

    • r boolean

      Set r to true to perform reads as part of the tests.

    • recSizeKB integer

      The size of each write operation, in kilobytes.

    • runtime integer

      The time, in seconds, to run mongoperf.

    • sleepMicros integer

      mongoperf will pause for the number of specified sleepMicros divided by the nThreads between each operation.

    • syncDelay integer

      Seconds between disk flushes. mongoperf.syncDelay is similar to --syncdelay for mongod.

      The syncDelay controls how frequently mongoperf performs an asynchronous disk flush of the memory mapped file used for testing. By default, mongod performs this operation every 60 seconds. Use syncDelay to test basic system performance of this type of operation.

      Only use syncDelay in conjunction with mmf set to true.

    • w boolean

      Set w to true to perform writes as part of the tests.