lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160720153052.GE4574@htj.duckdns.org>
Date:	Wed, 20 Jul 2016 11:30:52 -0400
From:	Tejun Heo <tj@...nel.org>
To:	张真 <zhangzhen507@....com>
Cc:	aaronlee0817@....com, axboe@...nel.dk, mlin@...nel.org,
	shli@...nel.org, linux-kernel@...r.kernel.org,
	cgroup@...r.kernel.org, linux-block@...r.kernel.org,
	zhen1.zhang@...sung.com, yanzi.zhang@...sung.com,
	jiale0817.li@...sung.com
Subject: Re: Cgroup: iops throttle problem

Hello,

On Mon, Jul 18, 2016 at 09:35:12PM +0800, 张真 wrote:
> Hello
> My name is Zhen Zhang , me and Jiale Li recently test and analyze the cgroup
> blkio functions.
> We tested the buffered read a file using bio when the 
> blkio.throttle.read_iops_device is set 1000.
> The fio result file displays the iops is 13720 larger than 1000 when blocksize 
> is 4K in fio.

blk-throttle does allow bursts so the iops might go over the set limit
for a short period.  Over time, it shouldn't be over the set limit.

> We set different blocksize in fio:
> 4K, 8K , 16K, 32K, 64K, 128K, 256K, 512K, 1024K
> 
> The iops in fio:
> 13035, 7258, 3711, 1698, 907, 460, 228, 102, 54

Looks like you were hitting the natural bandwidth limit of the device.

> When bs is less than 64K, the iops is larger than 1000, when bs is larger than
> 64K, the iops is less than 1000.
> We tested it on ubuntu 16.04 with kernel 4.4.0
> 
> Dose this a problem of blkio iops throttle?

I don't know how the test was run but consistently going over the set
limit isn't the expected behavior.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ