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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19757C43334 for ; Sat, 2 Jul 2022 11:42:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D1F318AF5F; Sat, 2 Jul 2022 11:42:09 +0000 (UTC) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6CEC718AF40; Sat, 2 Jul 2022 11:42:07 +0000 (UTC) Received: by mail-ej1-x62b.google.com with SMTP id d2so8412974ejy.1; Sat, 02 Jul 2022 04:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WhjM8Dp4mS9IBPn4kroy2wdgNNIdUgixClIV/mTih4M=; b=G5aRF3FDYzEYd2OJ5K35vT+eFEdkrmjc4c7Eyr428zyoAOxx1WuwoNBVxL5OykT9Lu RexthZ66BUxwMN9n+wsoTcNXyZfAWPmJtVqp8TW1NBR0a0fgCWytzFhLUCOCAAfzoi/y EPTkROUbArwuiq64voho2IYwp5VGYM1UQW5d7qK0MhzACkhycCA4xNkh3wfBjqpi4ZDq knyLD82Xsy8Q3GNqABz6Kqqd3MqaucKwLepqBbevKFMi3DBzmifbOTj8j5y4N3gQdF2A 8hwR7Cjop8kQXTMOF5hNlmszW/Rtada7eBDmlBxAAeoxCjfRH68icS46M6HcvSmBoBuh C2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WhjM8Dp4mS9IBPn4kroy2wdgNNIdUgixClIV/mTih4M=; b=fz14tV3y4F0sFpMhKd8q09C9EYiCruJw5jrVIbh0vOo2MRO5vNk8o9kArk0pWQam2m 8TppBR6iNzFIIErm4L2jVao4aU2nwU9nzEQj6EaegoYjAyI+WOTgt+hTJyhfYtHOul4y 5Hn3AKf8efQTreLE6w2LkBEkd1Cf5HXCq73lGvwbKAppwjRAbDJfa0r+YqrVSfKXogZL rzTxkvXEoNIdVWW4mC0f8Ev8qW/AKto2ObhPWLYQ/3FBvR/BtO3qIXexXpLM24HDIeUc D58QlqZJqzJtWXhtbgBDVTBMygW2EOog2raXR10cfdK8n6oXnMwAbiiTtdCcIO3PdMmD 6j8g== X-Gm-Message-State: AJIora/hu+WRt535/cAqML8i/VVShMtPGzd5/NuAjTMYltNBuJw8XtTW xNtetR36UL+8A9RpNSEI+7TM2MzzMC4ITpZqOOo= X-Google-Smtp-Source: AGRyM1sMKM+Zutej2Lk/Zoiz7uwcW9yWj8/qcDHkuNHPs5bqlatUV3f7qzNzERj7fejcIgDRX7YVW7CkMZKXqYYhmYk= X-Received: by 2002:a17:906:4e91:b0:722:f996:fa20 with SMTP id v17-20020a1709064e9100b00722f996fa20mr19148286eju.733.1656762125876; Sat, 02 Jul 2022 04:42:05 -0700 (PDT) MIME-Version: 1.0 References: <20220621072050.76229-1-christian.gmeiner@gmail.com> <20220621072050.76229-2-christian.gmeiner@gmail.com> <1a694037c631c298c6952cdf4bf54fcc6d2f08e9.camel@pengutronix.de> In-Reply-To: <1a694037c631c298c6952cdf4bf54fcc6d2f08e9.camel@pengutronix.de> From: Christian Gmeiner Date: Sat, 2 Jul 2022 13:41:54 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] drm/etnaviv: add simple moving average (SMA) To: Lucas Stach Content-Type: text/plain; charset="UTF-8" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , LKML , "open list:DRM DRIVERS FOR VIVANTE GPU IP" , "moderated list:DRM DRIVERS FOR VIVANTE GPU IP" , Russell King Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Lucas > > Am Dienstag, dem 21.06.2022 um 09:20 +0200 schrieb Christian Gmeiner: > > This adds a SMA algorithm inspired by Exponentially weighted moving > > average (EWMA) algorithm found in the kernel. > > > Still not sure about this one. I _feel_ that a simple moving average > over a period of one second does not do a good job of reflecting the > real GPU load for a bursty workload, where EWMA might be better suited. > But then I also don't have a real informed opinion to offer on this. > I will play with EWMA and see what happens. -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EF6CC43334 for ; Sat, 2 Jul 2022 11:42:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232020AbiGBLmN (ORCPT ); Sat, 2 Jul 2022 07:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiGBLmJ (ORCPT ); Sat, 2 Jul 2022 07:42:09 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 544D3DFE3 for ; Sat, 2 Jul 2022 04:42:07 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id ay16so8363017ejb.6 for ; Sat, 02 Jul 2022 04:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WhjM8Dp4mS9IBPn4kroy2wdgNNIdUgixClIV/mTih4M=; b=G5aRF3FDYzEYd2OJ5K35vT+eFEdkrmjc4c7Eyr428zyoAOxx1WuwoNBVxL5OykT9Lu RexthZ66BUxwMN9n+wsoTcNXyZfAWPmJtVqp8TW1NBR0a0fgCWytzFhLUCOCAAfzoi/y EPTkROUbArwuiq64voho2IYwp5VGYM1UQW5d7qK0MhzACkhycCA4xNkh3wfBjqpi4ZDq knyLD82Xsy8Q3GNqABz6Kqqd3MqaucKwLepqBbevKFMi3DBzmifbOTj8j5y4N3gQdF2A 8hwR7Cjop8kQXTMOF5hNlmszW/Rtada7eBDmlBxAAeoxCjfRH68icS46M6HcvSmBoBuh C2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WhjM8Dp4mS9IBPn4kroy2wdgNNIdUgixClIV/mTih4M=; b=v1jnvPBUIlfzkWYliNJ+JAjwPtbEaLuuccJHj3nRiwkVsN/QGJcL1Sm6CyiuPUY/iB 6GGN8LrY3xSrGhcV6RIiU1kPbNR1VhaGKXAqyda2g2YjiX93MY01NKA97NxC4VMd91pj o7GsDg4oZuempzv0Jviu1on1fe92qGiGQwmIbdjpllO44E4RzeOhs7fE5Adda61+4flP 3b5AHEj31T6oIwp9+48eg9Y7ghs5lD5rCz46m62k1Gzrp5Q5XLKSyGXeYF20FN3rQur3 RgqlTsWjJmHkjwrojD/SxvxwMWXqDB0h/qOdJQaacWuSen1RfJwxjF9+sVtL6OAhqBTE zd0Q== X-Gm-Message-State: AJIora+1nnG9c6bgWbWB13WmvLXGVrZXPdiCbnI2G+HlF61hdWUZzHap oJgMA4BY7I1h/2TKTCBPQmyYsREyXpXGpppEkAc= X-Google-Smtp-Source: AGRyM1sMKM+Zutej2Lk/Zoiz7uwcW9yWj8/qcDHkuNHPs5bqlatUV3f7qzNzERj7fejcIgDRX7YVW7CkMZKXqYYhmYk= X-Received: by 2002:a17:906:4e91:b0:722:f996:fa20 with SMTP id v17-20020a1709064e9100b00722f996fa20mr19148286eju.733.1656762125876; Sat, 02 Jul 2022 04:42:05 -0700 (PDT) MIME-Version: 1.0 References: <20220621072050.76229-1-christian.gmeiner@gmail.com> <20220621072050.76229-2-christian.gmeiner@gmail.com> <1a694037c631c298c6952cdf4bf54fcc6d2f08e9.camel@pengutronix.de> In-Reply-To: <1a694037c631c298c6952cdf4bf54fcc6d2f08e9.camel@pengutronix.de> From: Christian Gmeiner Date: Sat, 2 Jul 2022 13:41:54 +0200 Message-ID: Subject: Re: [PATCH v2 1/4] drm/etnaviv: add simple moving average (SMA) To: Lucas Stach Cc: LKML , David Airlie , "moderated list:DRM DRIVERS FOR VIVANTE GPU IP" , "open list:DRM DRIVERS FOR VIVANTE GPU IP" , Daniel Vetter , Russell King Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lucas > > Am Dienstag, dem 21.06.2022 um 09:20 +0200 schrieb Christian Gmeiner: > > This adds a SMA algorithm inspired by Exponentially weighted moving > > average (EWMA) algorithm found in the kernel. > > > Still not sure about this one. I _feel_ that a simple moving average > over a period of one second does not do a good job of reflecting the > real GPU load for a bursty workload, where EWMA might be better suited. > But then I also don't have a real informed opinion to offer on this. > I will play with EWMA and see what happens. -- greets -- Christian Gmeiner, MSc https://christian-gmeiner.info/privacypolicy