Linux-Block Archive on lore.kernel.org
 help / color / Atom feed
* iocost_monitor.py tells that iocost is not enabled
@ 2020-02-04 10:56 Paolo Valente
  2020-02-12 21:20 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Valente @ 2020-02-04 10:56 UTC (permalink / raw)
  To: Tejun Heo, linux-block

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iocost_monitor.py tells that iocost is not enabled
  2020-02-04 10:56 iocost_monitor.py tells that iocost is not enabled Paolo Valente
@ 2020-02-12 21:20 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2020-02-12 21:20 UTC (permalink / raw)
  To: Paolo Valente; +Cc: linux-block

There was a change to drgn which required a minor update to the script
(9ea37e24d4a9). Can you see whether you see the failure w/ the commit
applied?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 10:56 iocost_monitor.py tells that iocost is not enabled Paolo Valente
2020-02-12 21:20 ` Tejun Heo

Linux-Block Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-block/0 linux-block/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-block linux-block/ https://lore.kernel.org/linux-block \
		linux-block@vger.kernel.org
	public-inbox-index linux-block

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-block


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git