You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the PID so that it will recheck the configuration
against its internal state.
Whenever one of the terms changes, the PID resets.
Change-Id: I247f6d9d67fd6ef4c2484077a0fe1091dd22ac6e
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/156244
Tested-by: Build Bot <[email protected]>
Reviewed-by: Dave Rigby <[email protected]>
Copy file name to clipboardExpand all lines: engines/ep/configuration.json
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -356,7 +356,7 @@
356
356
"defragmenter_mode" : {
357
357
"default": "auto_pid",
358
358
"descr": "Determines how the defragmenter controls its sleep interval. When static defragmenter_interval is used. When auto_linear, scale the sleep time using a scored defragmentation when it falls between defragmenter_auto_lower_trigger and defragmenter_auto_upper_trigger. When auto_pid use a PID controller to computer reductions in the sleep interval when scored fragmentation is above defragmenter_auto_lower_trigger.",
359
-
"dynamic": false,
359
+
"dynamic": true,
360
360
"type": "std::string",
361
361
"validator": {
362
362
"enum": [
@@ -369,49 +369,49 @@
369
369
"defragmenter_auto_lower_threshold" : {
370
370
"default": "0.07",
371
371
"descr": "When mode is not static and scored fragmentation is above this value, a sleep time between defragmenter_auto_min_sleep and defragmenter_auto_max_sleep will be used",
372
-
"dynamic": false,
372
+
"dynamic": true,
373
373
"type": "float"
374
374
},
375
375
"defragmenter_auto_upper_threshold" : {
376
376
"default": "0.25",
377
377
"descr": "When mode is auto_linear and scored fragmentation is above this value, the defragmenter will use defragmenter_auto_min_sleep",
378
-
"dynamic": false,
378
+
"dynamic": true,
379
379
"type": "float"
380
380
},
381
381
"defragmenter_auto_max_sleep" : {
382
382
"default": "10.0",
383
383
"descr": "The maximum sleep that the auto controller can set",
384
-
"dynamic": false,
384
+
"dynamic": true,
385
385
"type": "float"
386
386
},
387
387
"defragmenter_auto_min_sleep" : {
388
388
"default": "0.0",
389
389
"descr": "The minimum sleep that the auto controller can set",
390
-
"dynamic": false,
390
+
"dynamic": true,
391
391
"type": "float"
392
392
},
393
393
"defragmenter_auto_pid_p" : {
394
394
"default": "0.3",
395
395
"descr": "The p term for the PID controller",
396
-
"dynamic": false,
396
+
"dynamic": true,
397
397
"type": "float"
398
398
},
399
399
"defragmenter_auto_pid_i" : {
400
400
"default": "0.0000197",
401
401
"descr": "The i term for the PID controller",
402
-
"dynamic": false,
402
+
"dynamic": true,
403
403
"type": "float"
404
404
},
405
405
"defragmenter_auto_pid_d" : {
406
406
"default": "0.0",
407
407
"descr": "The d term for the PID controller",
408
-
"dynamic": false,
408
+
"dynamic": true,
409
409
"type": "float"
410
410
},
411
411
"defragmenter_auto_pid_dt" : {
412
412
"default": "30000",
413
413
"descr": "The dt (interval) term for the PID controller. Value represents milliseconds",
0 commit comments