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=-6.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 D40C1C433E0 for ; Fri, 3 Jul 2020 12:35:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A545C20936 for ; Fri, 3 Jul 2020 12:35:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mhsu9uT5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eYoe86Aq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A545C20936 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JLpyLNxrkb7czxmq9Lt9f2zp0ts6+m5Z4MDkCkfr8p8=; b=Mhsu9uT5gD6Ft/qxXuEW8BCzg VJhhRJep9dlPxXAgwYmcAfBxcrHhi49zC+xvMbUGDPykZE4vPemMw/h8XYmAPenrCuzWYVrJ4OoFl BA+LF0v8OEPNGv8W3z/uYx2BmLvfLHWAXsW9xxXv5hXNxpJC97qwhYD0yh4Hpb7q6dhIfgtN9oBbF b8qmq/UZm0HGLR5NhuqxvVckoUvJGd6EHYiEnpkFNvMfbjtIiGFiV30V406tHK6Q1G1dP9QbYcQ66 dNEg2xwSgg5Y0wdMSs81CylQBtYGaDXlcqlSrhC6JcD/HCKYmEE2rZtef2t/swUTLbL7HtH1Fub5G EMrVmBLuA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrKt7-0005Lb-Lo; Fri, 03 Jul 2020 12:33:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrKt4-0005KL-DG for linux-arm-kernel@lists.infradead.org; Fri, 03 Jul 2020 12:33:51 +0000 Received: by mail-wr1-x441.google.com with SMTP id q5so32465220wru.6 for ; Fri, 03 Jul 2020 05:33:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YWChRI8U5bql1vd+LjhcuGDJidA2Y+nrVW69k/TqKfM=; b=eYoe86Aq3092+g8H38oZiqt99elOVS4MoiOjphvAWqqYBA/PQlpSx1orjs/kxGvdHH S6Rfw6c7V1AXmEmDQRSvGRgQk6poNEE4iUDwyHOYJdILTvBwtej70+stDofMtxR1T+NH M7IMHFtBRWbzhk7wfGMp/JVtx9jlG91ZptUclVdfND0jcjXPkkaqKJHgTKQuJK4Udgt5 hE0fDw2vI9yP014m9M4wL3h15ciKQzo12fVdIWj0+IdXoRWhHkXKwjfGdC0LddutzTCF /yBvvPFMBhd15wV4caEZllD25LZCgWf4qO3F142/83sK1ODiG9xQuq6FonSNFHEdzZoG KNzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YWChRI8U5bql1vd+LjhcuGDJidA2Y+nrVW69k/TqKfM=; b=AdplGSXB3GHZG94qq2AyFOd4ptPU+qdWOizSBDoADjlC8T6wD/h/ZUyWAeVzOWuTBB jUjoyQ1bDvwC6tuxVoSb8V30kQ40/yuQZ0BFbt/JeGrcaKRtoZsx9z+1DoRWHPreq/57 bbofcCoAURfT4j/kTToU02F/vq9paO3mcFzb6ZsN54UAcUINxkMhf9sNjk1BSvIzRAKF zZebzb659BfYGKE/KraYtWoBMMjSLL+gFsHaJGvwRwMR+YNrblFXCBCXnIwL8h0q0Qy9 KEIw642asKjgndr6CODFREnB+RamM/Yj1k2hf3ZkSaYVl0jcaRH9/VEr2X9sbOFh3oEp CgAg== X-Gm-Message-State: AOAM533y8fJamRp4dsgwiIyVoOAczwEk664JKUJfHRtGH+iaHHA2YVrA CLGzgtU/SIhH9W9RbZsmIfCVvt+h X-Google-Smtp-Source: ABdhPJwId5pwOgLxvZeA3ibhyN3Y+1w1NlrODeEKmyNzl20XnLaQ2ZKRszG8w9ZVwtoqDjhX2uPt7Q== X-Received: by 2002:a5d:5642:: with SMTP id j2mr36401397wrw.19.1593779627773; Fri, 03 Jul 2020 05:33:47 -0700 (PDT) Received: from macmini.local (181.4.199.77.rev.sfr.net. [77.199.4.181]) by smtp.gmail.com with ESMTPSA id f12sm14292219wrw.53.2020.07.03.05.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 05:33:47 -0700 (PDT) Date: Fri, 3 Jul 2020 14:33:46 +0200 From: Willy Wolff To: Chanwoo Choi Subject: Re: [RFC PATCH 0/2] PM / devfreq: Add delayed timer for polling Message-ID: <20200703123346.6fy6i33ks6nox46a@macmini.local> References: <20200703062622.11773-1-cw00.choi@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200703062622.11773-1-cw00.choi@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200703_083350_460685_56ACB747 X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, chanwoo@kernel.org, b.zolnierkie@samsung.com, k.konieczny@samsung.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, krzk@kernel.org, kyungmin.park@samsung.com, kgene@kernel.org, myungjoo.ham@samsung.com, s.nawrocki@samsung.com, lukasz.luba@arm.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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