Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934244AbcKOVbh (ORCPT ); Tue, 15 Nov 2016 16:31:37 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:37094 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933577AbcKOVbd (ORCPT ); Tue, 15 Nov 2016 16:31:33 -0500 Date: Tue, 15 Nov 2016 13:31:10 -0800 From: Shaohua Li To: Bart Van Assche CC: "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Kernel-team@fb.com" , "axboe@fb.com" , "tj@kernel.org" , "vgoyal@redhat.com" Subject: Re: [PATCH V4 00/15] blk-throttle: add .high limit Message-ID: <20161115213108.GA28069@shli-mbp.local> References: <986ada43-3217-3277-724a-5c76f8dad74e@sandisk.com> <20161115000529.GA15160@shli-mbp.local> <20161115004922.GA16173@shli-mbp.local> <1bf8605a-9920-19ea-e2ab-2f3d747e55be@sandisk.com> <20161115012857.GA17239@shli-mbp.local> <6f33c69f-f382-1515-d83d-f1109f982ab3@sandisk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <6f33c69f-f382-1515-d83d-f1109f982ab3@sandisk.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [2620:10d:c090:180::1:2f4c] X-ClientProxiedBy: BY2PR04CA0018.namprd04.prod.outlook.com (10.255.247.28) To SN1PR15MB0413.namprd15.prod.outlook.com (10.163.205.147) X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;2:FHCJvAH4pqDNI29KytdebaqtJ29MXS5B3o3+gWUCwcwNbyRGU/W3RUqR8+Ei36f39sH/5DRNxhq75/h9MO7pk0fZIgwNbbEo4XQMVYkalGrQ3ZyRGzx6HJpAvnHbomgcCno0hR8ynSSu8IqGpVEgEGIRtxPJO0YnjtpYyaXliu0=;3:At6tBV4Ai7HmYciuq2eigl6oQEHji0C2ytLrsNBxyyKltqyxKXdeFY2y/3DjsYVUxPJOuGcoZ4jTFSbZrkD8n8pEBK4WU0kiJ/WbBIGyA6LDtC/K7YyVYpd/g0yOMxswBEMDhwrdQo8ytfB3/h0JhWdZxrDbxzK0Yo9x5icx59s= X-MS-Office365-Filtering-Correlation-Id: 94b28fad-c6ce-45c9-fd41-08d40d9ebe12 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN1PR15MB0413; X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;25:G2x55812ggmyNWlqVSEEFBTl89QgRtT04nb4qd9hyzA9y17bUkpb2CmsBS32V8a5sYE4+91msLvRx8AyxiU6QOtDiopjOqsvDIt5wy/kggFRNlliRwDebZO+vUoerBQeS/wpb1bwmL2Q1999F0n8tRhqJVyB6jV1fldAvbOBStH6jAY4nMCvU2npei12NwOj7Nr9NXz6W/ByIWLERGpP0V/2hyn/V31jWRo0/Y0+PN8GdNca9KLeK0NSBIEfAqoT4H0pWAL7UiXadpE7dViIlPPZl6l7RTdqn9F3Ytud1KxuWfPbEcP26N/thPAlsb/s6lC5PksIEtJVl6KBFM2oml+3jYA5Uq1Ks1mRNAnCtPjY25Kr3Jb8cd8RZh8DTFAaAVP31/GjCxw+Cu+bLqFOJGhGYTRnqwmsXkhBg3msRNjN+Y4EfRvnFuzyhd8ywwkHuVilfawPuufLAlo53F+QVRMG+QST0gqxcphR0CcooxHqYYfJmWOK7RnmZOBIPAYYzfwMGhGoP72l6Xym2x+jXQVgSdNjX2OqiSrazEN2SN5mKjubZd1jntkPLPh/uhCBma6l6MDG1ued5Mxx+FJ+Ct7H+hR56PxYSdX514iX3vVJGweWqS4ecOLkZliFdP2HzofnV2jWN2FHDUCNEK6A/QXfwBMY1tgWs9L3qD98KLzQpLzzSf0c++wuO6DlUislVv5tqHOcbgpNpZNgeNMYf497NVYBeSgjp6C1z+VKrXtwJKx/xqcP7KOZgJvkaVuKlvP8rFFRelS1/Ix8hofodzx4iWjXqlctrrdHEpRJkC5GkH9Tt0ZQfotiqnydG3ZPbYxgB12KmgK0v5kvDRMEzA== X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;31:2UEo8H0qowV3TqugcvctccbKxWP49gOsts3vdQeOdOWXFuGj+vPS8rMCs8Ik5Ww3AF3NwPFM+CyxMhceKyr/42IC6v179AszQnlVNS9O+6osvzQm25Y9Rd6ogQNdwp3jAgWKXKfScmOWVW6Ek+EdlwyKBYPZ8Z6ByYp3EG+53eE21dA3P+1iKF+QdSWpILEcCLU2p+AnG01I+4l5dwfARcO4ap+aBrCsuPq2vURtKAngeczzVoxx1cBGS+w/PUXODTMNkzOcsnbiMwcg/uRQjw==;20:HRY8TcRnQL/SEPCMeaCdMNh9h6awizW7gNEUC19KyjKh5TlwM3jGVvnEkpOi/0RIXPDTt0V0yG5y0iC30Bbmm6e4xd/PfZPkxNGmd3MTLDWZwV61XuUbls0uXonodCTG1idvLQOATzTUaeSiS1ftLXZjiBoSKCrYMU4BvYbN1zJtfZ4CC0ystUpG+Fl/2xD+wCEgjG6KiQ6xC78fyRcdhGNJRFryv+EBN+TBA+FwHiZpM6q5S/mJWJEBw6aSbWPc X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060326)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6061324);SRVR:SN1PR15MB0413;BCL:0;PCL:0;RULEID:;SRVR:SN1PR15MB0413; X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;4:BZXmXX343mQM6TXqy4sI8O/w7wCM0kE0QisGhF/jUuEVdOEpGMwfUIl0247fxI76qGJSjpGzq84WH/tPppoZU3fi65mk0XHY+n+l1pp2OtlfZ4SZDZxcjax13xVB8IcEz35/lMfZfyhi1XQ+ebP7SE8fUC9HUr6+R5fGcLljZPa5XVPHqnoLfiUWbOWr+XR4XaPam2jiX8n5H/5NOQ1Qk3golaBmRdBdV+WYGWYLT0YF+BBmp9IDsFmg3vXLn4reDZKHSMSJ0pNa1ohmbhN5yaIstmRrS6KQwBVRm8iZxNYL1EOgyUaC8R2yjplOzrVd0UFUFv9vLNY0+O6VMuwCuUnjnXFjt897k1hOtkkh1fAjfBVeUyPFdfY7L5q+qJ8E0/dTmCirW5ECAqU7SiGj5F/SX/WAC4R3VqFhjdC5dnA= X-Forefront-PRVS: 012792EC17 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(209900001)(189002)(377454003)(24454002)(51444003)(199003)(46406003)(47776003)(2950100002)(8676002)(97736004)(4001350100001)(6916009)(110136003)(77096005)(189998001)(68736007)(83506001)(1691005)(6666003)(101416001)(305945005)(7736002)(8666005)(2906002)(7846002)(92566002)(76176999)(54356999)(42186005)(23726003)(6116002)(1076002)(4326007)(15395725005)(229853002)(86362001)(5660300001)(33656002)(98436002)(81156014)(106356001)(81166006)(50466002)(50986999)(105586002)(93886004)(97756001)(9686002)(18370500001)(7059030)(142923001)(6606295002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR15MB0413;H:shli-mbp.local;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR15MB0413;23:UMt+RwAkTB5yACaO+Dr8/qvJPqEi5qv4ebHp+jVz7?= =?us-ascii?Q?jT9EnkryjRLyDEJDfMSmgaI470JKk+Rzs6yhZg2MYeZ/o77YLhdAk/rW86zi?= =?us-ascii?Q?IpOVmalTAoDBJQMAWjPNrILM5pJh1g+JmIDkTcRo67MMSxha9RDILo/E/sY7?= =?us-ascii?Q?0XDjngpPXf7x0rjPBLEcLSP7cwjcRCafhmF5ELitCRZ6Geeb1W2xb4s3VLVx?= =?us-ascii?Q?5XwHhOfovVeOsZSwc2UPOQQcgyQPwcJdBDz5cml0MnMP5Z89L0hskO50pcAA?= =?us-ascii?Q?AAmn0Wcw/8L54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-ascii?Q?XaP7Fa3td+9CqrpN5f5pCysPArM6LhBIVfejsKMDpKqRTIno7iKNmurKG5cf?= =?us-ascii?Q?6Nyrr7W+XPKi7YwUYWAULIzBssBr7C6XnoUOXUlxE9JlRLwG7IGWqktY5jcc?= =?us-ascii?Q?Eon9LdpJZqVKbhA1grQV7gYTwHXNzhOnp+H689MnOpc67v5YaUsDbOoviM80?= =?us-ascii?Q?XOMjT0REB8xVyXS+C9a5Z8LzRE=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;6:OS3icIClAbxX0ThAkHoAjiKSqsT1S52+OZClUqHqwTfz4f6H9d8+JoS9iMMKxVRIShTGNTr9EGcar7P27ftyQ7lt3UtEOA9oxrrSvJXr+xTDoYkWHGtyvvee9A59CzpXp5Nlq+KTLDm9FARKHkir4bwMdOY+TAd2FHCl/JBraZuZGyDlwXSPjIdbrZZZigpNIZI1gobtHkwqxBkqtF6JQaVEqejj/15MvYP0eUqbzAfvXReTOoFy8hl91l9Wid7vJzrf12CI30ahMRlFrKgbqaTuPZ/wF9IctrlWQgS4JCrJhWhcP8TwjW2xycWVmXvWsjNivXbiUYXNG21HIaWbHN77Dwv1syNPO9qn3YkOcqY=;5:x06spZj9OhIRvDAVWK5Rv/bzy05jHfipe9ZpJErENEXcEJi68iogScWD5LSXr444yAd77Wz2gjASlKGfhdVg8eBjJjICeMrFTAyy27PueSbLrcW5faI/B5A9Rkvzg4azuiNV9/7qFZ8N1vph89jt/w==;24:juuKNUqdBsPHKQINHzCBfHw2myQNKXCjcN0kQeqdKGryg+4YXiHBLfYV6N1DpkmxyYdLEwiyvRKcOphlNR94GWyx2NzQ1H+vF1DG8/Cmja0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN1PR15MB0413;7:UGST8aRhW0aOmCjdRSocKt5A94Ipjs+5j2VS9o4XhLhOafKkLkZWpmT2hC8nQGcME9XAa7By9qOt8SbWCcQ9BdeGP4A5XitrkxTRjvO6X6mjmpmIu7D1ZtaRy93O4u2XyN1LhHkxV9aSEk/vv3hKeqJdnl2+0B3xwR4rWPyBG64UPIMA5fi9nEJOX5nVEq25E07sjeToDw9ZQc/bYkAXiDBnM+1jG4DSAwOAJEZALMXYeREql0T9Ohvd4crBUFj6z9zlORSevS51mxX/L58BUumIEJa3Bh07hPjoFYVmSrRSYu7YFSb4k9pbyjFTbmnkHhArMRqeROyjwwKoaKUd78Oe19ZdP5vgbwPopdWxslA=;20:rhzIQRQsHyUxJZO25ytoWjAlBzJXmsDuun1fcOpaUJ4vSrKlrgkxN9T0GXxd+gJuu/ELqQ4xlLsptaST1THPisFjhxvXnG4U56vfgEySHvD+Tb/7GLzi8FcLbTxJV0Im2X6j1fpYlOI/b5+bsTtk7TPOlk4lHIXuMmJpCIxrgOg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2016 21:31:20.2374 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR15MB0413 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-15_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 18 On Tue, Nov 15, 2016 at 11:53:39AM -0800, Bart Van Assche wrote: > On 11/14/2016 05:28 PM, Shaohua Li wrote: > > On Mon, Nov 14, 2016 at 05:18:28PM -0800, Bart Van Assche wrote: > > > Unless someone can convince me of the opposite I think that coming up with > > > an algorithm for estimating I/O cost is essential to guarantee I/O fairness > > > without requesting users to perform complicated parameter configurations. > > > > That's what I tried before: > > http://marc.info/?l=linux-kernel&m=145617863208940&w=2 > > That URL refers to v2 of this patch series. Sorry but I have not found the > I/O cost estimation algorithm I was referring to in v2 of this patch series. It's a v2, but not the v2 of this series. There is no algorithm to estimate I/O cost, that one just uses IOPS or bandwidth to determine I/O cost. Thanks, Shaohua