From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AE210C433DF for ; Wed, 8 Jul 2020 14:25:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8BE6A206E9 for ; Wed, 8 Jul 2020 14:25:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729613AbgGHOZK (ORCPT ); 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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