Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 590287 - [PATCH] Enable SMP support in gkrellm-freq
Summary: [PATCH] Enable SMP support in gkrellm-freq
Alias: None
Product: Fedora
Classification: Fedora
Component: distribution
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-08 16:17 UTC by Artem S. Tashkinov
Modified: 2013-01-10 05:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-06-02 15:52:27 UTC

Attachments (Terms of Use)
Complete sources with a patch (deleted)
2010-05-09 07:32 UTC, Artem S. Tashkinov
no flags Details
A patch to enable proper multicore reporting in gkrellm-gkfreq (deleted)
2010-08-07 10:18 UTC, Artem S. Tashkinov
no flags Details

Description Artem S. Tashkinov 2010-05-08 16:17:48 UTC
gkrellm-freq currently works incorrectly if the system has more than one CPU or CPU core.

The attached patch improves gkrellm-freq by calculating average CPU frequency across all CPUs or CPU cores.

Comment 1 Artem S. Tashkinov 2010-05-09 07:32:31 UTC
Created attachment 412602 [details]
Complete sources with a patch

Comment 2 Artem S. Tashkinov 2010-07-07 10:50:04 UTC
CC: ing  Hans de Goede, because I see no activity here for two straight months.

Comment 3 Artem S. Tashkinov 2010-08-01 20:40:07 UTC
Reassigning the component, since gkrellm developers do not care.

Comment 4 Artem S. Tashkinov 2010-08-07 10:18:10 UTC
Created attachment 437317 [details]
A patch to enable proper multicore reporting in gkrellm-gkfreq

Comment 5 Ville Skyttรค 2010-08-08 16:11:07 UTC
Not sure why I was Cc'd here, removing.  FWIW gkrellm-freq 2.0 is available which I suppose has support for up to 8 CPUs, see bug 621503 and

Comment 6 Artem S. Tashkinov 2010-08-08 16:51:46 UTC
(In reply to comment #5)
> Not sure why I was Cc'd here, removing.  FWIW gkrellm-freq 2.0 is available
> which I suppose has support for up to 8 CPUs, see bug 621503 and

What an atrocity, an applet for _every_ CPU core, both virtual and real.

What if I have a system with two six cores Xeon CPUs with HT enabled - that will yield 24 virtual cores, so an end user should then have 24 indicators. No, thank you.

Comment 7 Hans de Goede 2010-08-13 13:43:12 UTC

First of all thanks for the patches and sorry for the lack of response. As yuo may have guessed gkrellm-freq is pretty much unsupported in Fedora atm. Matthias has not been really active lately. He is still around and sometimes does some stuff, so hence his packages have not been orphaned but he is not really active either.

So as you are interested in gkrellm-freq, maybe you want to maintain it ? If you are already a Fedora packager, picking up another package is easy. If not I can help you become a Fedora packager if you want.

About the patch, as said a newer upstream release already has support for this, so it seems to make more sense to upgrade to this new upstream release. I understand you don't like the upstream implementation of this support, but I think this is best discussed with the upstream author. Have you send your patch upstream? I think it would be best if upstream would add an option to make multiple cpu support use either one applet per core, or use your methodology so that the user can easily configure which one he wants. But that is something to discuss with upstream.



Comment 8 Bug Zapper 2011-06-02 14:20:29 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here:

Comment 9 Artem S. Tashkinov 2011-06-02 15:52:27 UTC
My approach and upstream approach are both very inconvenient - mine is not very informative, theirs requires too much vertical space.

CPU speed IMO should be represented graphically, e.g. using bars.

1-2 pixels wide green bar 3-4 pixels high may represent the lowest frequency, 7-9 pixels high red bar could mean the maximum frequency. Yellow in between.

Note You need to log in before you can comment on or make changes to this bug.