68.1.1
by Adam Israel
Add support for benchmarking via juju actions |
1 |
perf: |
2 |
description: The standard mongoperf benchmark. |
|
3 |
params: |
|
4 |
runtime: |
|
5 |
description: The time, in seconds, to run mongoperf. |
|
6 |
type: integer |
|
7 |
default: 180 |
|
8 |
nthreads: |
|
9 |
description: | |
|
10 |
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.
|
|
11 |
type: integer |
|
12 |
default: 1 |
|
13 |
fileSizeMB: |
|
14 |
description: Test file size, in megabytes. |
|
15 |
type: integer |
|
16 |
default: 1 |
|
17 |
sleepMicros: |
|
18 |
description: | |
|
19 |
mongoperf will pause for the number of specified sleepMicros divided by the nThreads between each operation.
|
|
20 |
type: integer |
|
21 |
default: 0 |
|
22 |
mmf: |
|
23 |
description: | |
|
24 |
Set mmf to true to use memory mapped files for the tests.
|
|
25 |
type: boolean |
|
26 |
default: False |
|
27 |
r: |
|
28 |
description: | |
|
29 |
Set r to true to perform reads as part of the tests.
|
|
30 |
type: boolean |
|
31 |
default: False |
|
32 |
w: |
|
33 |
description: | |
|
34 |
Set w to true to perform writes as part of the tests.
|
|
35 |
type: boolean |
|
36 |
default: False |
|
37 |
recSizeKB: |
|
38 |
description: The size of each write operation, in kilobytes. |
|
39 |
type: integer |
|
40 |
default: 4 |
|
41 |
syncDelay: |
|
42 |
description: | |
|
43 |
Seconds between disk flushes. mongoperf.syncDelay is similar to --syncdelay for mongod.
|
|
44 |
||
45 |
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.
|
|
46 |
||
47 |
Only use syncDelay in conjunction with mmf set to true.
|
|
48 |
type: integer |
|
49 |
default: 0 |
|
77.1.1
by mattyw
action/dump: Added an action to run mongodump |
50 |
dump: |
51 |
description: Runs the mongodump command |
|
52 |
params: |
|
53 |
args: |
|
54 |
description: The arguments to pass to the mongodump command |
|
55 |
type: string |
|
56 |
default: "" |
|
57 |
workingDir: |
|
58 |
description: The directory to run the mongodump command from. |
|
59 |
type: string |
|
60 |
default: "/tmp/mongodump" |
|
77.1.2
by mattyw
actions/retore: Added an action for mongorestore |
61 |
restore: |
62 |
description: Runs the mongorestore command |
|
63 |
params: |
|
64 |
args: |
|
65 |
description: The arguments to pass to the mongorestore command |
|
66 |
type: string |
|
67 |
default: "" |
|
68 |
workingDir: |
|
69 |
description: The directory to run the mongorestore command from. |
|
70 |
type: string |
|
71 |
default: "/tmp/mongodump" |