Public bug reported: For processors on which it works, turbostat is a very very good diagnostic tool. For many upstream escalations, it is the preferred tool. However the Ubuntu implementation doesn't actually execute turbostat directly, but rather goes to some script with incredibly tight, and unnecessary, kernel version dependency checks. This makes it difficult when trying to help others when we want them to try a newer or older kernel, and often we have to get them to override this and use turbostat directly.
While turbostat is part of the kernel source tree, it does not depend on the kernel version at all. Here is an excerpt from a recent e-mail [1] from the turbostat maintainer: > FWIW, > > The latest turbostat and x86_energy_perf_policy utilities > in the upstream kernel tree should always be backward compatible > with all old kernels. If that is EVER not the case, I want to know about it. > > Yes, I know that some distros ship old versions of these utilities built > out of their matching kernel tree snapshots. > Yes, applying upstream fixes to .stable for such distros is a good thing. > > However, the better solution for these particular utilities, is that they > simply always use upstream utilities -- even with old kernels. > > When somebody reports a problem and I need them to run these tools, > 100% of the time, I start by sending them the latest upstream version > to replace the old version shipped by the distro. I have been using turbostat for several years, minus the Ubuntu part, and never had a problem with any version of turbostat with any kernel. This bug report is to request the deletion of the dependency check for Ubuntu. I am not saying it always has to be the latest version, but it should not be crippled by the dependency check. [1] https://marc.info/?l=linux-pm&m=156770359620861&w=2 ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1844201 Title: turbostat is over constrained by dependencies Status in linux package in Ubuntu: New Bug description: For processors on which it works, turbostat is a very very good diagnostic tool. For many upstream escalations, it is the preferred tool. However the Ubuntu implementation doesn't actually execute turbostat directly, but rather goes to some script with incredibly tight, and unnecessary, kernel version dependency checks. This makes it difficult when trying to help others when we want them to try a newer or older kernel, and often we have to get them to override this and use turbostat directly. While turbostat is part of the kernel source tree, it does not depend on the kernel version at all. Here is an excerpt from a recent e-mail [1] from the turbostat maintainer: > FWIW, > > The latest turbostat and x86_energy_perf_policy utilities > in the upstream kernel tree should always be backward compatible > with all old kernels. If that is EVER not the case, I want to know about it. > > Yes, I know that some distros ship old versions of these utilities built > out of their matching kernel tree snapshots. > Yes, applying upstream fixes to .stable for such distros is a good thing. > > However, the better solution for these particular utilities, is that they > simply always use upstream utilities -- even with old kernels. > > When somebody reports a problem and I need them to run these tools, > 100% of the time, I start by sending them the latest upstream version > to replace the old version shipped by the distro. I have been using turbostat for several years, minus the Ubuntu part, and never had a problem with any version of turbostat with any kernel. This bug report is to request the deletion of the dependency check for Ubuntu. I am not saying it always has to be the latest version, but it should not be crippled by the dependency check. [1] https://marc.info/?l=linux-pm&m=156770359620861&w=2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1844201/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp