Received: by 10.223.185.116 with SMTP id b49csp6062428wrg; Wed, 28 Feb 2018 03:24:16 -0800 (PST) X-Google-Smtp-Source: AH8x2244nd7Npch1DlowCuBFv5GfniNSxi5VBXLLWYgePLYsrMEK0kwCywkEYzwlFGC4gQkYkWtq X-Received: by 10.101.100.214 with SMTP id t22mr14186826pgv.333.1519817056425; Wed, 28 Feb 2018 03:24:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519817056; cv=none; d=google.com; s=arc-20160816; b=1JL8tRK7ryoJPyCCwXIXHcWgs9Il3SbcBXhir8+us8JE76E20cuAPj4BMewHwfcjjl MYWA2odK7yqU5+WQh3PnNptI1AFSlSv+HMzzEqc8keLyVpK11sl3p7FKiAq/9fcYgS/L GKcdcwb5B4hbQdWUFCde1PI+Iujjgq/yZN6kQuhqpYvA6NSU+E1I4qjLuOkJJcm0W0M/ r5FJA2QNYJ33DPNRkzP+l/oV7tFIG3CGUPdVUlVUJ5MDt7Tqg9XDDolSNtm2vJ1LosVL sujydSUzeqdoQ601O23T0F3DpEywQB+cwCPoZGpjXoVnhRw8029UJ2ehWs3ouWJkMsOB w8uw== 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:dkim-signature :arc-authentication-results; bh=tpNyH5q8nRWM/OfDrWIbAp8nNS/KjbEf/JKzUojCkWQ=; b=O+R5pxy76G2TbJK/CmHGvReDe1wMTPDyvbTnJHy1cOdQ/4/9KQcUjPnpF1zlm2AlHn qoWzsoAub+e4+aD6FITy2fBanZkdTSLHWbwlAQBWFeFX8eBykAVWEuCX5xICmEsCyWn8 pDHxJ3NK43Fo0hZyjHRIABb94euEHIj2K0zTXlbEGjc/arQ9Lbn2OZJbq2EmW/nfYLLW 7cvnqQXNpYw20iF8RzhrN3hJD8datqL6+oNbaAXjP7UxB1E92wE9X7hv8ybdLwlA+Sbf U5KCDqoYiaiu9GjezM28ZR64EoSxDkIdCkrM8JXvLsSiQq/f4yavmfFACr6Hxp/ujQic +uHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@evidence-eu-com.20150623.gappssmtp.com header.s=20150623 header.b=HnYU9s5z; 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 t4si894760pgr.205.2018.02.28.03.23.51; Wed, 28 Feb 2018 03:24:16 -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; dkim=pass header.i=@evidence-eu-com.20150623.gappssmtp.com header.s=20150623 header.b=HnYU9s5z; 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 S1752223AbeB1LP7 (ORCPT + 99 others); Wed, 28 Feb 2018 06:15:59 -0500 Received: from mail-wr0-f179.google.com ([209.85.128.179]:33986 "EHLO mail-wr0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbeB1LP6 (ORCPT ); Wed, 28 Feb 2018 06:15:58 -0500 Received: by mail-wr0-f179.google.com with SMTP id m5so1985730wrg.1 for ; Wed, 28 Feb 2018 03:15:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evidence-eu-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tpNyH5q8nRWM/OfDrWIbAp8nNS/KjbEf/JKzUojCkWQ=; b=HnYU9s5zEA+oVh3QfvT6zr29Os/s9eekZTsediqkpazY6US7RS7/DIR7zGVzjAbHTC heOSzuPOtw9pItqjAZy2P6tLhVmrbbd7FvH2yLYW27eARKNHL13bEV1tE07aqNv7sZfo ovgd1KtZGaW8yBdacddzRRM4BRiAWB9nQJVjgrzH3H3pPxj9xhfimtATaDYbNcBQNezh 8AnRpZXw6o6jpp1iMfDaNIvv3IyEP6DqSd73h1BDwDt2SDpX09+eokEJFiTZtNdj7g5T kwHJ0AjAlGr46F3eEeBdNROVxEpVHeaBZUUzE6KYuszFzjR8ZPCgkG922xga+RKNr2Kk EAXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tpNyH5q8nRWM/OfDrWIbAp8nNS/KjbEf/JKzUojCkWQ=; b=dFdPurMQYl+1bfHNUXuictjDblfz0qeveLPfSNfUvP4aOY/7kwgohmcI/fl0bLE1y3 N453jBrYv7GnwygWYYy466jHzxXPRz9t/sH1YC3hEXfga21Cav4cMSk4MHTi0Y3UV/pe hK3b4LK8UvBi9z8FAWRP8c03qJm+84udJNzgULyck/0eMl/O/27KCSlkaZJPG8IIJQDF AC3AKgzr4lzpc5lvOou9mfJvTtlHY4iM2rE8QluY83XA91vVIdbSaPyJ52z5G3TZae6S 9J2WDKy0/wQykDmDBupJBZWexZJpRNDNK4Xj4MNBIWImwHln7WHW7HWKiURQOOw60wrS s4UQ== X-Gm-Message-State: APf1xPCeAdwPEE7Cw6EA5XJSlODxpBJYCb5OBdeLkIkbVy71aDgj6NTP akouZZ5ZhDMtMT236rGTCSFDLm50 X-Received: by 10.223.163.222 with SMTP id m30mr6297038wrb.30.1519816556571; Wed, 28 Feb 2018 03:15:56 -0800 (PST) Received: from [192.168.10.157] (host92-93-static.8-79-b.business.telecomitalia.it. [79.8.93.92]) by smtp.gmail.com with ESMTPSA id l10sm927406wrf.37.2018.02.28.03.15.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Feb 2018 03:15:55 -0800 (PST) Subject: Re: [PATCH v2] cpufreq: schedutil: rate limits for SCHED_DEADLINE To: "Rafael J . Wysocki" , Viresh Kumar Cc: Peter Zijlstra , Ingo Molnar , Patrick Bellasi , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Vincent Guittot , Todd Kjos , Joel Fernandes , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1519815970-5686-1-git-send-email-claudio@evidence.eu.com> From: Claudio Scordino Message-ID: <870e5cb6-bb3b-7d51-93b3-db4928f700b4@evidence.eu.com> Date: Wed, 28 Feb 2018 12:15:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519815970-5686-1-git-send-email-claudio@evidence.eu.com> Content-Type: text/plain; charset=iso-8859-15; 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 Dear Rafael, dear Viresh, Il 28/02/2018 12:06, Claudio Scordino ha scritto: > When the SCHED_DEADLINE scheduling class increases the CPU utilization, > we should not wait for the rate limit, otherwise we may miss some > deadline. > > Tests using rt-app on Exynos5422 with up to 10 SCHED_DEADLINE tasks have > shown reductions of even 10% of deadline misses with a negligible > increase of energy consumption (measured through Baylibre Cape). As a follow up of the previous thread, I've put some figures here: https://gist.github.com/claudioscordino/d4a10e8b3ceac419fb0c8b552db19806 In some cases, I've noticed the patch to even reduce the energy consumption (due to a mix of factors plus DL tasks entering the inactive state sooner). I've also tried to create the "ramp-up" scenario by allocating 10 DL tasks on the same core, but it didn't produce any significant increase of consumption. IMHO, the overall behavior looks better. Best regards, Claudio