From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751773AbcGRNvL (ORCPT ); Mon, 18 Jul 2016 09:51:11 -0400 Received: from m13-148.163.com ([220.181.13.148]:32837 "EHLO m13-148.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbcGRNvI (ORCPT ); Mon, 18 Jul 2016 09:51:08 -0400 X-Greylist: delayed 920 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 Jul 2016 09:51:07 EDT X-Originating-IP: [36.46.232.185] Date: Mon, 18 Jul 2016 21:35:12 +0800 (CST) From: =?GBK?B?1cXV5g==?= To: tj@kernel.org, aaronlee0817@163.com, axboe@kernel.dk, mlin@kernel.org, shli@kernel.org, linux-kernel@vger.kernel.org, cgroup@vger.kernel.org, linux-block@vger.kernel.org, zhen1.zhang@samsung.com, yanzi.zhang@samsung.com, jiale0817.li@samsung.com Subject: Cgroup: iops throttle problem X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160420(83524.8626) Copyright (c) 2002-2016 www.mailtech.cn 163com Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <3aad6640.14fc7.155fe37ba10.Coremail.zhangzhen507@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: lMGowABXwQ0R24xXwjoGAA--.31466W X-CM-SenderInfo: x2kd0wx2kh0kiqx6il2tof0z/xtbBURWqfVaDqyXmRAACso X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u6IDpIVj009198 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. 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 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?