Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuna? You really want to verify tuna? #594

Open
rlovell3 opened this issue Feb 4, 2024 · 0 comments
Open

tuna? You really want to verify tuna? #594

rlovell3 opened this issue Feb 4, 2024 · 0 comments

Comments

@rlovell3
Copy link

rlovell3 commented Feb 4, 2024

PopOS 22.04LTS.
I edited /etc/tuned/realtime-virtual-host-variables.conf to isolate 4 cores like this:
isolated_cores=20-23

After changing the active profile to realtime-virtual-host, I ran the verification:
sudo tuned-adm verify
which produced

Verification failed, current system settings differ from the preset profile. You can mostly fix this by restarting the Tuned daemon, e.g.: systemctl restart tuned

which did not fix the error. It persisted through the restart.

cat /var/log/tuned/tuned.log:
ERROR tuned.plugins.plugin_script: script '/usr/lib/tuned/realtime/script.sh' error output: '/usr/lib/tuned/realtime/script.sh: line 14: tuna: command not found'

My first thought was, what? tuna? So I went and looked at the realtime/script.sh and sure enough, it says "verify() {tuna....".

I didn't have anything to do with the "realtime" profile. I only tweaked the "realtime-virtual-host-variables.conf" file.

For the record, I went back into the conf file and commented out my isolated_cores statement. I then went back and made "balanced" the active profile (which was the default before I even thought about changing anything). The restart and subsequent verify steps produced errors (on the purely default configuration). A look at the logs indicated that tuned is trying to manipulate my grub configuration, but hello: this machine doesn't use grub. Grub is not even installed, but your stuff doesn't even check to see if Grub is the bootloader. It just assumes...... It is also showing errors about various device hosts 'alpm' = 'None' expected 'medium_power'. There are a lot of those. In all, there are a lot of errors in the default configuration, and my one little change resulted in this new tuna adventure.

As it stands, the default tuned configuration never verifies as a success. It fails directly from the default settings, and then gets really funky about tuna when I try to follow the example in the /etc/tuned/realtime-virtual-host-variables.conf to isolate a few cores for when I spin up any virtual machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant