Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp603342ybt; Wed, 8 Jul 2020 07:26:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBLQ2brPyeFQYIBm2SrZwal0KmgDjoK1BrNuPOmk9/u+TwhmK5yAuq9ECSef1qR4TfP20R X-Received: by 2002:a17:906:6ad8:: with SMTP id q24mr45662477ejs.223.1594218411481; Wed, 08 Jul 2020 07:26:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594218411; cv=none; d=google.com; s=arc-20160816; b=mElsL5pxV2aPXa80+E8U3J28ok6dfq9AnlXm+wB8i+2zoGv+RQlHy8oF8bOBdnOGlL pR9kACTMHRoyjAtRE7hKsiTWqUrgmu9sKzK47HIFtF8WykjW6b3WYa6xbbTz4SMx0wFd Vhp7afXNMJ4g0Ptti39bL5EEhAK6P8V3NyMAb+7HflIVmDPVe49Y6R8D81X1vjEnBUAI 31ksF81cYM7ZsMSDjw+mHpnfjrScB0Io0sYSpXMxgfBbPa4OYCwqJt2QWTT0Nw65489E Mz8Mzmh6DGOKvULETkpKuZDz/JL7jvydO5KV4UA6rFE5dMDVkipZlHPzIP4W4GhePxyE G0+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=GK1c2ft+YkqZh6ArJJwQkImRU+tZVGturGGXUYxJ4lQ=; b=Bt/yg5kTlXEotkROa6Oebl2Kr8JPLUEd2P8oret7eN+rN5a9S052IYL0PfG+HLn5qP 5yUgD+zu7tjAT25lZKLy3Zlf861sAgb4Hrg/cfCHLU50KiNgxEe8CGMFTIdsdv9zVipT GWI9dowxAh34lrhxYIycFU/691cNg4MygJqG4DGvNOeVMRv/vtVx6kzB11cmtmb9CQ4M eQIdLAxdvEj/OzuLUl3nWvH4i8V10eUzlldSeQ7qM/B4pMYl9WxttZhujAJsdWbzTXkO woEQpZUxsSLEwEyTQwfGW/nZQ7vObcuprPM4PU0/WxPzLf/9IPxqf8qqmSssmAjfzoFl GGJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g18si16732106ejp.681.2020.07.08.07.26.27; Wed, 08 Jul 2020 07:26:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729809AbgGHOZK (ORCPT + 99 others); Wed, 8 Jul 2020 10:25:10 -0400 Received: from foss.arm.com ([217.140.110.172]:43460 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729541AbgGHOZJ (ORCPT ); Wed, 8 Jul 2020 10:25:09 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3F7F61FB; Wed, 8 Jul 2020 07:25:09 -0700 (PDT) Received: from [10.37.12.67] (unknown [10.37.12.67]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E5A703F237; Wed, 8 Jul 2020 07:25:05 -0700 (PDT) Subject: Re: [RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling To: Willy Wolff , Chanwoo Choi Cc: k.konieczny@samsung.com, krzk@kernel.org, kgene@kernel.org, s.nawrocki@samsung.com, b.zolnierkie@samsung.com, chanwoo@kernel.org, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20200703062622.11773-1-cw00.choi@samsung.com> <20200703123346.6fy6i33ks6nox46a@macmini.local> From: Lukasz Luba Message-ID: Date: Wed, 8 Jul 2020 15:25:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200703123346.6fy6i33ks6nox46a@macmini.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Willy, On 7/3/20 1:33 PM, Willy Wolff wrote: > Hi Chanwoo, > > I think it doesn't help on the benchmark I suggested that is doing only memory > accesses. With both timer, I have the same timing. > > To test the benchmark with these new patches about timer: > > git clone https://github.com/wwilly/benchmark.git \ > && cd benchmark \ > && source env.sh \ > && ./bench_build.sh \ > && bash source/scripts/test_dvfs_mem_patched.sh > > The benchmark is set by default to run for 1s, but you can increase this by > tweaking the script as: > > taskset 8 ./bench_install/bin/microbe_cache 33554431 0 9722222