Open honggyukim opened 11 months ago
Hi Honggyu, nice suggestion, thank you. Actually, we have not-yet-official feature for the purpose, namely damo tune
. It receives the usual arguments like damo start
and damo scheme
. You can tune specific DAMON parameters using the subcommand. Note that it doesn't know if you want to change only specific parameter or not. You should put every parameter to the command unless the values are not the default ones.
And damo scheme
might be not a good start command to use damo tune
later. I usually simply do damo start
, and then usd damo tune
to test some schemes. e.g.,
damo start
damo tune --damos_action stat
damo show
damo tune --damos_action stat --damos_access_rate 5% max
Note that you should put --damos_action stat
again for second tune
, because that's not the default value of the parameter.
And sorry again for not making it documented and be official yet. I was unable to sure if that's stable enough to be documented, and can be maintained for long term. But now I start feeling the feature is becoming more stable and ready to be documented, mostly due to increased use of damo
, especially from you. Current ETA is OSSummit Europe.
So, the feature exists, and the usage document has updated (https://github.com/awslabs/damo/blob/next/USAGE.md#damo-tune). Any more remaining question or thing that I could help?
I haven't tested the feature yet but thanks very much. Could you just keep the issue open? I will test it when I can find some time.
No problem. Please take your time to test. :)
Hi SeongJae,
I've been testing using
damo schemes
, but I often need to change the configuration such as-s
,-a
,-u
,--monitoring_nr_regions_range
and-c
option as well.I normally stop
damo schemes
execution then relaunch the scheme after modifying a few fields. But I feel this can be simplified if there is a new commanddamo update
, then use the same options, but only provide a few options that I want to change.Example usage is that the
damo schemes
begins with a simpleconfig.json
file as follows.While running this command, I want to rerun the schemes with
--monitoring_nr_regions_range 100 10000
. The current usage is as follows.I think it'd be useful if the following imaginary use case is supported.
The above
damo update
command only applies the given change, then writecommit
tokdamonds/0/status
. The points are as follows.kdamond
.This might be useful only for me but I would like to hear how you think about this.