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 DEF16C433DF for ; Tue, 23 Jun 2020 17:14:41 +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 A291F20780 for ; Tue, 23 Jun 2020 17:14:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ao0oSPTF"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XaG5IS7m" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A291F20780 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:List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe :List-Id:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=P6nD5QcYYnNTpRv+9jpu5aVJ2Sn/G3JBwYy03LdSVf0=; b=ao0oSPTF3zERa15gpgeuL/Kh2T 4H9kuwlvx4C8ql1wNAhgfrFy3XxMqVssOi1Cgm7+KaN0Bg+VpvuLWr1rwZXZxS0SWFPbqAZlrq0c/ WMNm3/OUJELgZzwkH/CNu4VOKXMxRhfvNCIAqws3HM9taBvdya6/319Q0/o4Xp1LxM2dfJ2wTjd9Q sYcu7JyJ3jw7/3jLBNwTwI03ktuUCjAFOgU3RSpdaUXk9e1PtkfCMrki1Z9WvrEeA6vfxeKpDNRwg Yk7g83R4/QTop/3PCaYd4Tzf2GVrHRCVCr41M01nfkOJVRz/mhpXGRPxLKvFiK6uOnExsq6hgENK3 +xSjJ/Xg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnmSX-0003cN-Pm; Tue, 23 Jun 2020 17:11:45 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnm5B-0006RG-UK for linux-arm-kernel@lists.infradead.org; Tue, 23 Jun 2020 16:47:39 +0000 Received: by mail-wm1-x341.google.com with SMTP id g75so3588384wme.5 for ; Tue, 23 Jun 2020 09:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=2a8A3SZ7tBOcfEqWak8yyvM0vR1xvbK/AAfn7XUHse8=; b=XaG5IS7m1eA+gI4FIsCp1abY5EaS5J4F++5cxdUwUG2r6Oj46qpLOXkCiesfyQ+75z 5e1kVESZ1WPd+WbF1ptJigMflNi8z0SqXlT85/Jy2hBzcQKK56SkP6qFr77pZHnkTVHU og9a64+MImwd6LMEHElbEuslUPh57AbB7GqvCWjqbdwrAXyD/tMgKzx2DTeu64K4cUjJ Ab295T4L4df3dCYNjJNyGD2Bnz58dIMwlJemGRZLq668ic4/wmCEsew/Di9V5GbP0z7T bR7srReGDI5xCZ0am81PqoKq18wXCcaE/d9u27k0n0AMwjBJhcxh88BWphAs7Yz5thUe IbsA== 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:subject:message-id:mime-version :content-disposition; bh=2a8A3SZ7tBOcfEqWak8yyvM0vR1xvbK/AAfn7XUHse8=; b=inoshKiGsYDYP6XdGhsYx2M8wiSKvYwA5O+f/dBIk/duVIlU3tnXHE499Ks9uv+t/4 MddYo/oWp1SArmqSFzCaPxgs/ebtl6VHS0UUH40zH2G/lWaYa3LhhKei93A54gFsdGP8 MHzBygA9h74+5qdy0w8XaKcEIHLkbA27O9hZp9OuonoBprIf2i23EeZ1GbgPgyI1erqR az1dN3K+sL3oQz1FnetlKeHzfGsycFexe9s4soUKZvR3HqrbHlpcuGvm6rX7a9bAcgSa axGxICazXDz0P2hsUxR/cX07JhOZWigAXbkn6a1lmOopS6FAH8XcK1I+AwejtcB1Lyjz 8FcQ== X-Gm-Message-State: AOAM533ryV2zKSE8CuJ+oacOqcLH3ma15TTJKXY1MO57HuFoMezJWI8W /1TDerPCImfnbpE8KiQEjiQ= X-Google-Smtp-Source: ABdhPJxSuhZVggr1/EQ+Jrz7f0zu6OuFXAZICwjiL3Xfp9K7vXfwNBCxLQtiBy6U5aX7CEwNsEZHRQ== X-Received: by 2002:a1c:2485:: with SMTP id k127mr22257875wmk.138.1592930855034; Tue, 23 Jun 2020 09:47:35 -0700 (PDT) Received: from macmini.local (181.4.199.77.rev.sfr.net. [77.199.4.181]) by smtp.gmail.com with ESMTPSA id d28sm25319430wrc.50.2020.06.23.09.47.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 09:47:34 -0700 (PDT) Date: Tue, 23 Jun 2020 18:47:33 +0200 From: Willy Wolff To: Chanwoo Choi , MyungJoo Ham , Kyungmin Park , Kukjin Kim , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: brocken devfreq simple_ondemand for Odroid XU3/4? Message-ID: <20200623164733.qbhua7b6cg2umafj@macmini.local> MIME-Version: 1.0 Content-Disposition: inline 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: , 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 everybody, Is DVFS for memory bus really working on Odroid XU3/4 board? Using a simple microbenchmark that is doing only memory accesses, memory DVFS seems to not working properly: The microbenchmark is doing pointer chasing by following index in an array. Indices in the array are set to follow a random pattern (cutting prefetcher), and forcing RAM access. git clone https://github.com/wwilly/benchmark.git \ && cd benchmark \ && source env.sh \ && ./bench_build.sh \ && bash source/scripts/test_dvfs_mem.sh Python 3, cmake and sudo rights are required. Results: DVFS CPU with performance governor mem_gov = simple_ondemand at 165000000 Hz in idle, should be bumped when the benchmark is running. - on the LITTLE cluster it takes 4.74308 s to run (683.004 c per memory access), - on the big cluster it takes 4.76556 s to run (980.343 c per moemory access). While forcing DVFS memory bus to use performance governor, mem_gov = performance at 825000000 Hz in idle, - on the LITTLE cluster it takes 1.1451 s to run (164.894 c per memory access), - on the big cluster it takes 1.18448 s to run (243.664 c per memory access). The kernel used is the last 5.7.5 stable with default exynos_defconfig. Cheers, Willy _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel