[tuned] #29: error route of tuned-adm profile if tuned isn't running
by fedora-badges
#29: error route of tuned-adm profile if tuned isn't running
-----------------------+-----------------------
Reporter: moriwaka | Owner:
Type: defect | Status: new
Priority: major | Component: utilities
Version: 2.0 | Keywords:
Blocked By: | Blocking:
-----------------------+-----------------------
reproducer:
1. systemctl stop tuned.service
2. tuned-adm profile latency-performance
this shows two type of error.
case 1. invalid pid file
----------------------------
Traceback (most recent call last):
File "/usr/sbin/tuned-adm", line 145, in <module>
tuned_adm.run(args)
File "/usr/sbin/tuned-adm", line 69, in run
self.set_active_profile(args[1])
File "/usr/sbin/tuned-adm", line 129, in set_active_profile
os.kill(pid, signal.SIGHUP)
OSError: [Errno 3] No such process
----------------------------
case 2. no pid file (this caused if /var/run/tuned/tuned.pid isn't there)
-----------------------------------------------------------
Cannot read /var/run/tuned/tuned.pid: [Errno 2] No such file or directory:
'/var/run/tuned/tuned.pid'
-----------------------------------------------------------
description:
- case 1 can be problem if same pid is reused in other process than tuned.
mix with https://bugzilla.redhat.com/show_bug.cgi?id=845336, this can be a
security flaw. pid file should be removed when it found to be invalid.
- case 2 is less problematic, but adding some advisory message is nice to
have. "Please run tuned daemon to configure profile"
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/29>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
10 years, 4 months
[tuned] #32: tuned-adm list, active, profile should work even if the daemon is stopped
by fedora-badges
#32: tuned-adm list, active, profile should work even if the daemon is stopped
-----------------------+--------------------
Reporter: jskarvad | Owner:
Type: defect | Status: new
Priority: major | Component: daemon
Version: 2.0 | Keywords:
Blocked By: | Blocking:
-----------------------+--------------------
Currently it is not possible to set the profile before the daemon is
started. You need to start the daemon (with unwanted profile) and then
change to required profile. There is the same problem if you need to only
observe which profiles are available on your system - you need to start
the daemon. This is weird. Proposal:
- the tuned-adm should query the data on filesystem directly if the dbus
call fail.
- for set_profile there should be locking, i.e. during the initialization
of the daemon, if there is tuned-adm running, the daemon should wait for
tuned-adm completion.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/32>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
10 years, 4 months
[tuned] #36: Create Anaconda plugin
by fedora-badges
#36: Create Anaconda plugin
--------------------------+-----------------------
Reporter: jskarvad | Owner:
Type: enhancement | Status: new
Priority: major | Component: utilities
Version: 2.0 | Keywords:
Blocked By: | Blocking:
--------------------------+-----------------------
Create Anaconda plugin that will allow selecting the tuned profile in the
installer. The Anaconda team will provide us the specs/docs (information
how to write the plugin) later.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/36>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 3 months
[tuned] #35: Add mechanism to show description of the profile
by fedora-badges
#35: Add mechanism to show description of the profile
--------------------------+-----------------------
Reporter: jskarvad | Owner:
Type: enhancement | Status: new
Priority: major | Component: utilities
Version: 2.0 | Keywords:
Blocked By: | Blocking:
--------------------------+-----------------------
The goal is to have description/comment field in the profile definition
and to show it by e.g. 'tuned-adm describe PROFILE'. This feature should
also support the inherited profiles, example:
# tuned-adm describe enterprise-storage
Server profile for high disk throughput performace tuning. Disables disk
barriers. Disk readahead values are increased.
Includes throughput-performance profile:
Profile for typical throughput performance tuning. Disables power saving
mechanisms and enables sysctl settings that improve the throughput
performance of your disk and network IO and switches to the deadline
scheduler. CPU governor is set to performance.
We could re-use the text for automatic man page generation. Or maybe we
could omit the brief description what the plugin do (static text), because
there is ticket #34 - which will show all the details dynamically.
This request probably qualifies to daemon and profiles components as well.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/35>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 3 months
Re: [tuned] #1: Conversion of profiles/functions into plugin
by fedora-badges
#1: Conversion of profiles/functions into plugin
---------------------+-----------------------
Reporter: jskarvad | Owner: somebody
Type: task | Status: new
Priority: major | Component: daemon
Version: | Resolution:
Keywords: | Blocked By:
Blocking: |
---------------------+-----------------------
Comment (by jskarvad):
Mostly done in tuned-2.1.1, only powersave and compat profiles laptop-
powersave, spindown-disk have some small fragments, they will be removed
soon.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/1#comment:2>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 3 months
Re: [tuned] #5: powertop2tuned add support for reverting the tunings
by fedora-badges
#5: powertop2tuned add support for reverting the tunings
------------------------+-----------------------
Reporter: jskarvad | Owner: somebody
Type: enhancement | Status: closed
Priority: major | Component: daemon
Version: | Resolution: fixed
Keywords: | Blocked By:
Blocking: |
------------------------+-----------------------
Changes (by jskarvad):
* resolution: => fixed
* status: new => closed
Comment:
For most of the tunings this should work in tuned-2.1.1
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/5#comment:1>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
11 years, 3 months