| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2022-07-08 | |||
| 10:12:11 | sean-k-mooney | by issue i mean putting one or both ports in a bond to sleep or disabling my mouse/keyboard randomly | |
| 10:14:55 | bauzas | sean-k-mooney1: yup, was considering to use ondemand | |
| 10:15:14 | bauzas | sean-k-mooney1: but I'd like a governor different between being plugged or not | |
| 10:15:24 | bauzas | I thought Fedora was managing it but apparently not | |
| 10:15:46 | sean-k-mooney | bauzas: i used to use udev rules to do that | |
| 10:15:57 | bauzas | yup, that's what I thought I need to do | |
| 10:16:02 | sean-k-mooney | ill see if i have them but i dont know if i have it on this laptop since i reinstalled | |
| 10:16:04 | bauzas | but this sucks for users | |
| 10:16:19 | bauzas | how many people know about udev rules ? | |
| 10:16:24 | bauzas | and systemctl ? | |
| 10:16:34 | sean-k-mooney | well gnome/cinanamon/kde often can | |
| 10:16:55 | sean-k-mooney | its normally built into the destop envionment | |
| 10:16:56 | bauzas | why can't we have a standard behaviour to be ondemand when plugged and powersave when unplugged ? | |
| 10:16:58 | sean-k-mooney | with a nice gui | |
| 10:17:07 | bauzas | sean-k-mooney: yup, and I saw it | |
| 10:17:23 | bauzas | sean-k-mooney1: but now with F35 and F36, this is stuck to powersave apparently | |
| 10:17:38 | bauzas | I still have the GUI but clicking makes no result | |
| 10:17:39 | sean-k-mooney | have you tried removing tuned | |
| 10:17:53 | sean-k-mooney | its not using tuned to implement this | |
| 10:17:56 | bauzas | and I can't define a plugged/unplugged strategy like before | |
| 10:17:58 | sean-k-mooney | so it could be fighting with it | |
| 10:18:19 | bauzas | I haven't investigated it | |
| 10:18:34 | sean-k-mooney | https://linux.die.net/man/1/gnome-power-manager | |
| 10:18:37 | bauzas | I'm already glad I found the root cause... | |
| 10:18:45 | sean-k-mooney | that is what shoudl be doing it on the gnome side | |
| 10:19:11 | bauzas | but again, how many users are knowing how to collect power metrics with sar ? | |
| 10:19:20 | bauzas | and even knowing what sar is ? | |
| 10:19:44 | sean-k-mooney | well your not going to find me defending fedroa | |
| 10:19:51 | sean-k-mooney | you know i stongly dislike it | |
| 10:19:55 | bauzas | if you want MHO, Fedora is too much opiniated about what people should do | |
| 10:20:02 | sean-k-mooney | just pointing out its probaly tuned that is the issue | |
| 10:20:11 | bauzas | I'll look into it | |
| 10:20:17 | bauzas | thanks | |
| 10:21:08 | sean-k-mooney | i havenet used fedora since f33 or f32 but it did not used to have tuned installed so i wonder whne that got added | |
| 10:22:58 | kashyap | sean-k-mooney: I'm on F36, and I don't have 'tuned' installed by default (mine is a 'Workstation' install) | |
| 10:23:34 | sean-k-mooney | ack | |
| 10:23:40 | sean-k-mooney | i wonder why bauzas has it then | |
| 10:23:52 | bauzas | I haven't said I have tuned | |
| 10:24:01 | sean-k-mooney | oh i tought you did | |
| 10:24:19 | sean-k-mooney | ignore the noise then | |
| 10:24:35 | bauzas | [sbauza@sbauza ~]$ | |
| 10:24:35 | bauzas | [sbauza@sbauza ~]$ rpm -qa | grep tuned | |
| 10:24:57 | bauzas | I'll continue on it this afternoon | |
| 10:25:06 | bauzas | looks like an Hack&Hustle session | |
| 10:26:31 | sean-k-mooney | ya maybe | |
| 10:26:46 | sean-k-mooney | let us know if you figure it out either way | |
| 10:27:06 | bauzas | my sar figures are explicit | |
| 10:27:13 | bauzas | my temperature was still fine | |
| 10:27:31 | bauzas | but I was struggling with CPU clock freq at 400Mhz | |
| 10:27:44 | bauzas | and my audio was then choppy as the load was spiking up to 8.0 | |
| 10:27:54 | bauzas | (8 CPUs, which is normal) | |
| 10:28:21 | bauzas | when the CPU clock was about 1500MHz, then the audio was better (and the load down to 4.0) | |
| 10:28:42 | bauzas | f**** governor | |
| 10:28:53 | sean-k-mooney | wisely or not im using tlp to manage my power https://paste.opendev.org/show/b01fBUjtb7EA4fQDmvuM/ | |
| 10:29:22 | sean-k-mooney | https://linrunner.de/tlp/index.html | |
| 10:30:24 | bauzas | power-profiles-daemon.service loaded active running Power Profiles daemon | |
| 10:31:01 | sean-k-mooney | ya that is one of the things you have to remove if you are using tlp | |
| 10:31:25 | sean-k-mooney | just notifced im actully using schedutil for my govoner | |
| 10:31:40 | sean-k-mooney | if you are not using the intel pstate driver thats actully the better option vs ondemand | |
| 10:31:48 | bauzas | Conflicts=tlp.service shutdown.target auto-cpufreq.service system76-power.service tuned.service | |
| 10:31:56 | bauzas | huhuh | |
| 10:32:04 | bauzas | I'll have to dig into it | |
| 10:32:09 | bauzas | but... lunch | |
| 10:32:11 | sean-k-mooney | yep its one of the ones i tried | |
| 10:32:37 | sean-k-mooney | it didnt work well for me when i use the power-profiles-daemon | |
| 10:33:44 | sean-k-mooney | i think my issue was mainly fan noise and it was not really goign down form max cpu | |
| 10:34:15 | sean-k-mooney | like idling on ac was full non turbo/bost clock speeed | |
| 10:40:15 | opendevreview | Merged openstack/python-novaclient master: Imported Translations from Zanata https://review.opendev.org/c/openstack/python-novaclient/+/848804 | |
| 12:01:55 | bauzas | found the guilty https://fedoraproject.org/wiki/Changes/Power_Profiles_Daemon | |
| 12:02:13 | bauzas | "The "performance" mode is only available on select systems and is implemented by different "drivers" based on the system or systems it targets. " | |
| 12:10:21 | bauzas | that's maybe me but I thought we were having different power management profiles whether the laptop was docked or not, previously | |
| 12:10:32 | bauzas | (in Gnome, I mean) | |
| 12:20:16 | bauzas | https://forums.lenovo.com/t5/Other-Linux-Discussions/Lenovo-L14-Gen1-AMD-Lap-Mode-Throttling/m-p/5154197 | |
| 12:20:51 | bauzas | but my surface is steady... | |
| 12:25:21 | sean-k-mooney | bauzas: so ya i would jsut remove that and go with one of the many other tools | |
| 12:25:35 | bauzas | checked, I'm not in lap mode | |
| 12:25:52 | bauzas | but there are a ton of issues with PPD with Thinkpads https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues | |
| 12:26:40 | bauzas | and that's the issue I hit when changing the PPD profile to 'perf' https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues/72 | |
| 12:28:32 | bauzas | sean-k-mooney: any power management tool you'd recommend that could set the power based on charging vs. discharging ? | |
| 12:28:59 | bauzas | powersave seems reasonable to me if I'm running on battery | |
| 12:29:20 | bauzas | but I don't want to clockdown if I'm plugged | |
| 12:30:58 | opendevreview | Merged openstack/nova master: Retry attachment delete API call for 504 Gateway Timeout https://review.opendev.org/c/openstack/nova/+/845543 | |
| 12:33:15 | sean-k-mooney | bauzas: i use tlp | |
| 12:33:33 | sean-k-mooney | i dont actully use power save on battery but i configure it to limit the max frequency | |
| 12:33:55 | sean-k-mooney | but you can certenly set the profile to power save too if you prefer | |
| 12:34:23 | sean-k-mooney | https://paste.opendev.org/show/bPVClbF8MnuFjrhBE2z3/ | |
| 12:34:27 | sean-k-mooney | that is my tlp config | |
| 12:34:54 | sean-k-mooney | bauzas: so you could change line 6 two powersaver | |
| 12:35:03 | sean-k-mooney | or liek i do on line 11 | |
| 12:35:16 | sean-k-mooney | limite the cpu frequency | |
| 12:36:17 | sean-k-mooney | bauzas: tlp also has a tlp-stats tool which is kind of nice | |
| 12:37:22 | sean-k-mooney | you can see that i still have 90% capasity on my battery after 4 years | |
| 12:37:25 | sean-k-mooney | https://paste.opendev.org/show/bNtQTQ0T2Tx4Bd2nFyLu/ | |
| 12:37:37 | sean-k-mooney | partly becasue i only let it chagne to 80% | |
| 12:38:39 | sean-k-mooney | so i went with tlp since i coudl use it to do more then save power it can also extend battry life by contoling change and i cloud have a little more contol over all | |
| 12:39:37 | sean-k-mooney | https://termbin.com/ic06r is the full set of stats it has | |
| 12:39:47 | sean-k-mooney | and you can twek many of the paramters if you care about it | |
| 12:49:55 | opendevreview | Amit Uniyal proposed openstack/nova master: Adds check, if admin has set compute service down https://review.opendev.org/c/openstack/nova/+/848886 | |
| 12:49:56 | opendevreview | Amit Uniyal proposed openstack/nova master: add regression test case for bug 1978983 https://review.opendev.org/c/openstack/nova/+/849104 | |
| 12:50:58 | bauzas | ok, eventually fixed my issue, upgraded the firware | |