-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/08/2015 02:08 PM, Guy Streeter wrote:
Hello all, I've been thinking about 3 separate issues regarding
the tuna
GUI, and I have some proposals to address them. I'll list each one
separately.
1. The CPU view doesn't scale well to really large numbers of CPUs.
...
2. The tuna GUI ought to be in an RPM package that "Requires" the
necessary graphics packages.
...
3. Tuna now only runs as root.
...
I have continued to play with the ideas I had. I have an application ready
to try, temporarily called "pianofish" to distinguish it from the current
tuna GUI. This is only the original system view tab. I haven't worked on the
tuning profile tabs.
I have builds available for Fedora, in a COPR repo. You can get the yum/dnf
repo file from
https://copr.fedoraproject.org/coprs/streeter/python-hwloc/
and then install pianofish. The unreleased dependencies are there. Note this
will install the upstream version of python-linux-procfs, since I needed a
fix from that.
The --nonroot command-line option will allow it to run unprivileged. Also,
if you search for it from GNOME Shell, you can right-click on it's icon and
select "unprivileged".
There are a lot of changes from the tuna GUI, and some things that are the sam
e.
- - The CPU display is compressed to a button on the header bar. It can be
expanded to its own window by clicking on it. CPUs can be selected from the
expanded window.
- - Selections from the process view or the IRQ view can be dragged to the CPU
overview button to set their affinity.
- - The Search button (or ^F) can be used to narrow the process display by
command-line regex.
- - The process and IRQ attributes dialogs have a check-mark by the attributes
you want to change. (TODO: The check-mark is supposed to automatically get
set if you modify the attribute, but that's not always working)
- - The process attributes dialog doesn't have a way to specify what processes
to modify. It will show the processes that were selected when the dialog was
opened. The search-bar can be used to narrow processes down for selection.
If a collapsed thread is selected, all the threads of that process are
included. If the thread display is expanded, only the selected threads are
included in the dialog. (TODO: The dialog needs to open at a larger size to
show the process list)
- - In the expanded CPU view window, the CPU view is hierarchical. It opens at
the highest-level significant object (e.g., NUMA node or CPU socket), and
you can click on it to drill down to things contained in it, all the way to
processing units.
The check-mark button on the header takes you into selection mode. You can
select or deselect the grouped objects at the displayed level. The check-box
on a group entry will display at dash instead of a check if only some of the
grouped object's children are selected.
One more known bug: The application menu (in the GNOME Shell) is
unresponsive when the app is running privileged. This might be un-fixable,
so I added a Settings button to the header bar.
If you don't have a large, complex system to try it on, the CPU selection
changes might not make sense. It you want to try it on a more complicated
system, I can show you how to run it with a fake topology.
Let me know what you think. This is just a suggestion to be considered.
thanks,
- --Guy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlZp1P8ACgkQ0Bme0QyNhPSTUACfVZ6sxc+q7lRPZS6Xn58SpdvZ
3kwAn2qBD03c1cFEWyn9pPQv1xcFmMW1
=MpHc
-----END PGP SIGNATURE-----