Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1733114ybv; Fri, 21 Feb 2020 02:33:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzn2fLF9U9/Hq6pJTMHS9IZD4lOvWtuC5YzyvoroHttVZYOcVdr5uEwd1lqypIjPbWAnwb4 X-Received: by 2002:a54:4895:: with SMTP id r21mr1434332oic.107.1582281201692; Fri, 21 Feb 2020 02:33:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582281201; cv=none; d=google.com; s=arc-20160816; b=zdkkA4a94IxPf3z198kGbWnH87lOWKhd0U7+Lo/cQq4RI7O9mVL2ei+vETFr8HDB/v QvWmARwZxJ2RFd1TNuNJ27oC2bYC0ZiaqP9M/lSa+EHRVsg1JjLc7W95kFNl2nhFTTcJ fA+KHRZvmftTLTpwOu3kHKXyZc6LBFIzkV+q0VOKTaSfWNCpGZv+6ZVA3QJnSd7xZ8IL xVVx+GXshqr3GoRFDvN+9GtWCL7GTx13keis8tbFStOmvFxwVCKfC2DjerCgadEtoX0f PufChf/0rHFit2XP8KyXhL1+oLt2GQ2D81S61UfJkDysctACSo4cFHCDF6ZclvXZz1GO XjNQ== 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=jUWnnXezTcstwyFsniXXJk62r8T6Ys2zxKC4/L+mYjg=; b=tK8jEbQup+PlD7RBJPjA8m6BoFp7Ofm3YJgr4TeIMPR78of38vA9mGTlZy+WBHncXm bpSg82wrHkBb9SflDqGxh+YWaRW88JqkoASqz5THK2LSMmxvycyAStHZzNvJCmvdwQ4g fiSWcxBRn8deA3sofgbozLiCarV3DAKJSx4lVtWEG/r3bKTiPALEJUmm/jYty8YIPR1C nRGKWCyyQObR4B5a7sBeB5tqBI/v4XH/1cReaV+0qbITZyMmT08GMh1T3L55bJMOlt3J 9JKvFpcdkUbByEjCkB/cxQANlIgnvieSVh8vMcbdn1mEtO/Z5ddH7q8o2Q/xNC70iZYd 6DSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u5si1428220otg.66.2020.02.21.02.33.08; Fri, 21 Feb 2020 02:33:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbgBUKdA (ORCPT + 99 others); Fri, 21 Feb 2020 05:33:00 -0500 Received: from foss.arm.com ([217.140.110.172]:36156 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726976AbgBUKc7 (ORCPT ); Fri, 21 Feb 2020 05:32:59 -0500 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 4350131B; Fri, 21 Feb 2020 02:32:59 -0800 (PST) Received: from [10.37.12.243] (unknown [10.37.12.243]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 21EB53F68F; Fri, 21 Feb 2020 02:32:55 -0800 (PST) Subject: Re: [RESEND PATCH v2 0/2] Enable Odroid-XU3/4 to use Energy Model and Energy Aware Scheduler To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, robh+dt@kernel.org, mark.rutland@arm.com, b.zolnierkie@samsung.com, dietmar.eggemann@arm.com References: <20200220095636.29469-1-lukasz.luba@arm.com> <20200220180040.GA8338@kozik-lap> From: Lukasz Luba Message-ID: <597f1475-754c-d77a-b599-0fa07d8ee948@arm.com> Date: Fri, 21 Feb 2020 10:32:53 +0000 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: <20200220180040.GA8338@kozik-lap> 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 Krzysztof, On 2/20/20 6:00 PM, Krzysztof Kozlowski wrote: > On Thu, Feb 20, 2020 at 09:56:34AM +0000, Lukasz Luba wrote: >> Hi all, >> >> This is just a resend, now with proper v2 in the patches subject. >> >> The Odroid-XU4/3 is a decent and easy accessible ARM big.LITTLE platform, >> which might be used for research and development. >> >> This small patch set provides possibility to run Energy Aware Scheduler (EAS) >> on Odroid-XU4/3 and experiment with it. >> >> The patch 1/2 provides 'dynamic-power-coefficient' in CPU DT nodes, which is >> then used by the Energy Model (EM). >> The patch 2/2 enables SCHED_MC (which adds another level in scheduling domains) >> and enables EM making EAS possible to run (when schedutil is set as a CPUFreq >> governor). >> >> 1. Test results >> >> Two types of different tests have been executed. The first is energy test >> case showing impact on energy consumption of this patch set. It is using a >> synthetic set of tasks (rt-app based). The second is the performance test >> case which is using hackbench (less time to complete is better). >> In both tests schedutil has been used as cpufreq governor. In all tests >> PROVE_LOCKING has not been compiled into the kernels. >> >> 1.1 Energy test case >> >> 10 iterations of 24 periodic rt-app tasks (16ms period, 10% duty-cycle) >> with energy measurement. The cpufreq governor - schedutil. Unit is Joules. >> The energy is calculated based on hwmon0 and hwmon3 power1_input. >> The goal is to save energy, lower is better. >> >> +-----------+-----------------+------------------------+ >> | | Without patches | With patches | >> +-----------+--------+--------+----------------+-------+ >> | benchmark | Mean | RSD* | Mean | RSD* | >> +-----------+--------+--------+----------------+-------+ >> | 24 rt-app | 21.56 | 1.37% | 19.85 (-9.2%) | 0.92% | >> | tasks | | | | | >> +-----------+--------+--------+----------------+-------+ >> >> 1.2 Performance test case >> >> 10 consecutive iterations of hackbench (hackbench -l 500 -s 4096), >> no delay between two successive executions. >> The cpufreq governor - schedutil. Units in seconds. >> The goal is to see not regression, lower completion time is better. >> >> +-----------+-----------------+------------------------+ >> | | Without patches | With patches | >> +-----------+--------+--------+----------------+-------+ >> | benchmark | Mean | RSD* | Mean | RSD* | >> +-----------+--------+--------+----------------+-------+ >> | hackbench | 8.15 | 2.86% | 7.95 (-2.5%) | 0.60% | >> +-----------+--------+--------+----------------+-------+ >> >> *RSD: Relative Standard Deviation (std dev / mean) > > Nice measurements! Glad to hear that. > > Applied both, thank you. > > Best regards, > Krzysztof > Thank you for applying this. Regards, Lukasz