linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Valente <paolo.valente@linaro.org>
To: Tejun Heo <tj@kernel.org>, linux-block <linux-block@vger.kernel.org>
Subject: iocost_monitor.py tells that iocost is not enabled
Date: Tue, 4 Feb 2020 11:56:10 +0100	[thread overview]
Message-ID: <8FD4B865-5984-476F-BE47-98938D162749@linaro.org> (raw)

Hi Tejun,
the following:

$ cd linux/tools/cgroup
$ sudo python3 iocost_monitor.py sda

tells:

The kernel does not have iocost enabled

Yet:
$ cat /sys/fs/cgroup/unified/io.cost.qos 
8:0 enable=1 ctrl=user rpct=95.00 rlat=2500 wpct=95.00 wlat=5000 min=1.00 max=10000.00
$ cat /sys/block/sda/dev
8:0

If useful:
$ cat io.cost.model 
8:0 ctrl=user model=linear rbps=528156881 rseqiops=73442 rrandiops=72800 wbps=386453414 wseqiops=79718 wrandiops=73186

What am doing wrong?

Thanks,
Paolo

             reply	other threads:[~2020-02-04 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-04 10:56 Paolo Valente [this message]
2020-02-12 21:20 ` iocost_monitor.py tells that iocost is not enabled Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8FD4B865-5984-476F-BE47-98938D162749@linaro.org \
    --to=paolo.valente@linaro.org \
    --cc=linux-block@vger.kernel.org \
    --cc=tj@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).