On Wed, May 3, 2017 at 10:32 AM, Blair Bethwaite <blair.bethwaite@xxxxxxxxx> wrote: > On 3 May 2017 at 18:15, Dan van der Ster <dan@xxxxxxxxxxxxxx> wrote: >> It looks like el7's tuned natively supports the pmqos interface in >> plugins/plugin_cpu.py. > > Ahha, you are right, but I'm sure I tested tuned and it did not help. > Thanks for pointing out this script, I had not noticed it before and I > can see now why it isn't helping (on a RHEL7.3 host): > > /usr/lib/python2.7/site-packages/tuned/plugins/plugin_cpu.py:L13 > # TODO: force_latency -> command > # intel_pstate > Seems to work for me, or? # grep force_latency /usr/lib/tuned/latency-performance/tuned.conf force_latency=1 # tuned-adm profile latency-performance # cpupower monitor -m Idle_Stats | head |Idle_Stats PKG |CORE|CPU | POLL | C1-H | C1E- | C3-H | C6-H 0| 0| 0| 0.08| 95.12| 0.00| 0.00| 0.00 0| 0| 16| 0.00| 97.22| 0.00| 0.00| 0.00 0| 1| 1| 0.00| 95.78| 0.00| 0.00| 0.00 0| 1| 17| 0.00| 60.36| 0.00| 0.00| 0.00 0| 2| 2| 0.00| 91.60| 0.00| 0.00| 0.00 0| 2| 18| 0.00| 95.17| 0.00| 0.00| 0.00 0| 3| 3| 0.28| 87.05| 0.00| 0.00| 0.00 0| 3| 19| 0.00| 98.33| 0.00| 0.00| 0.00 # vi /usr/lib/tuned/latency-performance/tuned.conf # grep force_latency /usr/lib/tuned/latency-performance/tuned.conf force_latency=0 # tuned-adm profile latency-performance # cpupower monitor -m Idle_Stats | head |Idle_Stats PKG |CORE|CPU | POLL | C1-H | C1E- | C3-H | C6-H 0| 0| 0| 96.76| 0.00| 0.00| 0.00| 0.00 0| 0| 16| 99.04| 0.00| 0.00| 0.00| 0.00 0| 1| 1| 97.65| 0.00| 0.00| 0.00| 0.00 0| 1| 17| 98.77| 0.00| 0.00| 0.00| 0.00 0| 2| 2| 97.97| 0.00| 0.00| 0.00| 0.00 0| 2| 18| 99.10| 0.00| 0.00| 0.00| 0.00 0| 3| 3| 92.27| 0.00| 0.00| 0.00| 0.00 0| 3| 19| 99.00| 0.00| 0.00| 0.00| 0.00 # rpm -q tuned tuned-2.7.1-3.el7_3.1.noarch -- Dan _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com