From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751730AbbEYBfG (ORCPT ); Sun, 24 May 2015 21:35:06 -0400 Received: from m13-133.163.com ([220.181.13.133]:47201 "EHLO m13-133.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbbEYBfE (ORCPT ); Sun, 24 May 2015 21:35:04 -0400 X-Greylist: delayed 916 seconds by postgrey-1.27 at vger.kernel.org; Sun, 24 May 2015 21:35:03 EDT X-Originating-IP: [222.73.125.68] Date: Mon, 25 May 2015 09:19:43 +0800 (CST) From: "Chao Xie" To: morten.rasmussen@arm.com, linux-kernel@vger.kernel.org Subject: Question about "Make sched entity usage tracking scale-invariant" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20150119(59087.7062) Copyright (c) 2002-2015 www.mailtech.cn 163com Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <2a0eaec4.2cae.14d88a76c40.Coremail.xiechao_mail@163.com> X-CM-TRANSID: hcGowADn7bmveGJVEbzZAA--.15238W X-CM-SenderInfo: p0lhux5drbztllo6il2tof0z/1tbiqxICF1UL4Wtz7gABsk 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 nfs id t4P1ZHRM003275 hi I saw the patch ¡°sched: Make sched entity usage tracking scale-invariant¡± that will make the usage to be freq scaled. So if delta period that the calculation of usage based on cross a frequency change, so how can you make sure the usage calculation is correct? The delta period may last hundreds of microseconds, and frequency change window may be 10-20 microseconds, so many frequency change can happen during the delta period. It seems the patch does not consider about it, and it just pick up the current one. So how can you resolve this issue? Thanks.ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥