Skip to content

Commit

Permalink
scylla_prepare: add --tune system when SET_CLOCKSOURCE=yes
Browse files Browse the repository at this point in the history
perftune.py only run clocksource setup when --tune system specified,
so we need to add it on the parameter when SET_CLOCKSOURCE=yes.

Fixes scylladb#7672
  • Loading branch information
syuu1228 committed Nov 22, 2020
1 parent 3fefa52 commit 95a5ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/common/scripts/scylla_prepare
Expand Up @@ -71,7 +71,7 @@ def create_perftune_conf(cfg):
params += '--tune net --nic "{nic}"'.format(nic=nic)

if cfg.has_option('SET_CLOCKSOURCE') and cfg.get('SET_CLOCKSOURCE') == 'yes':
params += ' --tune-clock'
params += ' --tune system --tune-clock'

if len(params) > 0:
if os.path.exists('/etc/scylla.d/perftune.yaml'):
Expand Down

0 comments on commit 95a5ce8

Please sign in to comment.