diff --git a/pkg/hostman/hostinfo/hostinfo.go b/pkg/hostman/hostinfo/hostinfo.go index 40b7c1b76d..ecf93be5de 100644 --- a/pkg/hostman/hostinfo/hostinfo.go +++ b/pkg/hostman/hostinfo/hostinfo.go @@ -367,6 +367,12 @@ func (h *SHostInfo) prepareEnv() error { return errors.Wrap(err, "Execute 'ethtool -h'") } + // setup tuned-adm + _, err = procutils.NewRemoteCommandAsFarAsPossible("tuned-adm", "profile", "virtual-host").Output() + if err != nil { + log.Errorf("tuned-adm profile virtual-host fail: %s", err) + } + supportedSchedulers, _ := fileutils2.GetAllBlkdevsIoSchedulers() // IoScheduler default to none scheduler ioParams := make(map[string]string, 0)