| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2022-07-08 | |||
| 08:25:54 | Uggla | :) | |
| 08:34:22 | bauzas | ok, I tuned sar to report my CPU clock freq | |
| 08:34:43 | bauzas | we'll see, I have to join auniyal_'s meeting now :) | |
| 08:39:19 | bauzas | hah ! | |
| 08:39:44 | bauzas | my clock freq turns down to 800MHz while the temperature on the devices is only about 50°C | |
| 08:39:44 | bauzas | my clock freq turns down to 800MHz while the temperature on the devices is only about 50°C | |
| 08:40:05 | gibi | that sounds bad | |
| 08:40:19 | bauzas | when I playing gmeet I mean | |
| 08:40:21 | gibi | mine can sustain 1.8GHz while hot | |
| 08:41:12 | bauzas | sar reports the frequency constantly flipping between 866MHz and 1.5GHz | |
| 08:41:19 | bauzas | every second | |
| 08:42:48 | bauzas | yeah, found a direct correlation | |
| 08:42:50 | bauzas | huzzah | |
| 08:43:05 | bauzas | between the CPU clock freq and the CPU usage | |
| 08:47:29 | bauzas | https://paste.opendev.org/show/bHWo1z8ElaEDqW2b95fZ/ | |
| 08:51:35 | bauzas | [sbauza@sbauza ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | |
| 08:51:35 | bauzas | powersave | |
| 08:51:38 | bauzas | hmmmpfff | |
| 08:56:45 | kashyap | bauzas: What laptop is yours? | |
| 09:04:29 | bauzas | 11:02:30 CPU MHz | |
| 09:04:29 | bauzas | 11:02:31 all 410,34 | |
| 09:04:33 | bauzas | t14s | |
| 09:05:21 | kashyap | I see | |
| 09:30:47 | Uggla | bauzas, maybe you can run sudo fwupdmgr get-devices it will give you fw revision on your laptop. So we could compare with mine and gibi's. | |
| 09:31:18 | bauzas | on a meeting with auniyal_ | |
| 09:31:23 | bauzas | will reply later | |
| 09:31:43 | bauzas | but I think this is a the CPU governor's fault | |
| 09:33:12 | gibi | I have a ThinkPad T14s Gen 1 | |
| 09:33:48 | gibi | hm, the powersave governor could be a problem | |
| 09:34:01 | Uggla | bauzas from release note latest system relase note: • Updated includes thermal optimization. | |
| 09:35:55 | Uggla | clearly mine is not at the latest version 0.1.15 vs 0.1.21 | |
| 09:38:52 | Uggla | so bauzas has you have received this laptop first maybe maybe your fws are really "old". | |
| 09:39:55 | Uggla | My current version: https://paste.openstack.org/show/b9cnjsnSNOqzjw52AA8L/ | |
| 09:47:45 | gibi | this is mine https://paste.opendev.org/show/b48RVDFNHGRaeHUq2qMg/ | |
| 10:10:11 | sean-k-mooney1 | bauzas: powersave keep the cpu at the minium frequency | |
| 10:10:42 | sean-k-mooney | you should set it to the hardware pstate dirver or use ondemand | |
| 10:10:56 | sean-k-mooney | also i recommend not using tuned | |
| 10:11:14 | sean-k-mooney | i have had severl issue with it in the past so i dont trust it anymore | |
| 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 ~]$ rpm -qa | grep tuned | |
| 10:24:35 | bauzas | [sbauza@sbauza ~]$ | |
| 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 | |