Bug 455149 - Review Request: latency-policy - Policy for system wide latency
Review Request: latency-policy - Policy for system wide latency
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: Package Review (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nobody's working on this, feel free to take it
Fedora Extras Quality Assurance
:
Depends On:
Blocks: FE-DEADREVIEW
  Show dependency treegraph
 
Reported: 2008-07-12 18:16 EDT by Richard Hughes
Modified: 2009-03-12 21:53 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-12 21:53:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard Hughes 2008-07-12 18:16:49 EDT
Spec URL: http://rhughes.fedorapeople.org/latency-policy.spec
SRPM URL: http://rhughes.fedorapeople.org/latency-policy-0.1-1.fc9.hughsie.src.rpm
Description:

Latency is the time delay between the moment something is initiated, and the
moment one of its effects begins or becomes detectable.
Why do you care? Well, some power management modes save a ton of power,
but also increase the time it takes to respond to these interrupts.
Most users don't care as these delays a typically in the microsecond range,
but you might if you're on a server processing financial data.
Comment 1 Richard Hughes 2008-07-14 09:12:35 EDT
Note: I'm the upstream on this trivial project, and I hope to push this into
Fedora 10 as it gives an admin a nice way to configure all the new kernel power
management bits in a central way. I'll do a feature proposal, but need to get
the rpm into rawhide for people to test and give feedback on first.
Comment 2 Bastien Nocera 2008-07-16 11:53:07 EDT
Can't we hide the knobs for default setups?

I doubt that servers processing financial data need:
- ALSA powersave
- WiFi poll powersave

I'd also like to know how this would work with the cpuspeed daemon, which is in
the default installation, and supports more governors/setups.
Comment 3 Richard Hughes 2008-07-16 11:57:00 EDT
Right, the knobs are not meant to be changed, only if an admin knows what they
are doing, or to work round a kernel bug. As for the cpuspeed interaction I'm
not sure. I'll have to do some tests.
Comment 4 Adel Gadllah 2008-07-16 12:45:01 EDT
rpmlint output:
--------------
latency-policy.noarch: E: executable-marked-as-config-file
/etc/rc.d/init.d/latency-policy
latency-policy.noarch: E: executable-marked-as-config-file /etc/sysconfig/latency
latency-policy.noarch: E: executable-marked-as-config-file
/etc/latency-policy/config.d/aspm
latency-policy.noarch: E: executable-marked-as-config-file
/etc/latency-policy/config.d/ondemand
latency-policy.noarch: E: executable-marked-as-config-file
/etc/latency-policy/config.d/alpm
latency-policy.noarch: E: only-non-binary-in-usr-lib
latency-policy.noarch: W: conffile-without-noreplace-flag
/etc/latency-policy/config.d/alpm
latency-policy.noarch: W: conffile-without-noreplace-flag
/etc/latency-policy/config.d/aspm
latency-policy.noarch: W: conffile-without-noreplace-flag
/etc/latency-policy/config.d/ondemand
latency-policy.noarch: W: conffile-without-noreplace-flag
/etc/rc.d/init.d/latency-policy
latency-policy.noarch: W: conffile-without-noreplace-flag /etc/sysconfig/latency
latency-policy.noarch: W: service-default-enabled /etc/rc.d/init.d/latency-policy
latency-policy.noarch: W: no-reload-entry /etc/rc.d/init.d/latency-policy
latency-policy.noarch: E: subsys-not-used /etc/rc.d/init.d/latency-policy
latency-policy.src:53: W: libdir-macro-in-noarch-package %dir
%{_libdir}/latency-policy
latency-policy.src:54: W: libdir-macro-in-noarch-package %{_libdir}/latency-policy/*
2 packages and 0 specfiles checked; 7 errors, 9 warnings.
--------------
Comment 5 John Poelstra 2008-07-16 14:40:09 EDT
Feature page is here: https://fedoraproject.org/wiki/Features/LatencyPolicy
Comment 6 Mark Gross 2008-07-17 10:24:55 EDT
I would rather see add pm_qos knobs and driver changes to use those knobs than
seeing yet another trivial shell script abstraction of sysfs interfaces that
will become difficult to maintain as the number of devices and versions of
devices grows without bound.

I think this design will have problems scaling with numbers of devices as it
stands. 
Comment 7 Jason Tibbitts 2008-12-12 22:06:17 EST
So what ended up happening with this package?  I don't think the feature was accepted, and the rpmlint output in comment 4 includes several review blockers which haven't been addressed.
Comment 8 Jason Tibbitts 2009-01-13 19:03:45 EST
So it's been a month without comment; setting needinfo.  I'll close this soon if there's no further movement.

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