[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <58ef264448eb3ea75f846513210a5430b75b44c6.camel@pengutronix.de>
Date: Fri, 10 Jul 2020 10:31:33 +0200
From: Lucas Stach <l.stach@...gutronix.de>
To: Christian Gmeiner <christian.gmeiner@...il.com>,
linux-kernel@...r.kernel.org
Cc: cphealy@...il.com, Russell King <linux+etnaviv@...linux.org.uk>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>, etnaviv@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH 0/4] Add support for GPU load values
Hi Christian,
Am Freitag, den 10.07.2020, 09:41 +0200 schrieb Christian Gmeiner:
> This patch series add support for loadavg values for GPU
> sub-components. I am adding a SMA algorithm as I was not
> really sure if EWMA would be a good fit for this use case.
1 second is a pretty long window in GPU time. Why do you feel that a
simple moving average is more appropriate than a exponentially
weighted one here? Note that I haven't given this any thought myself
and haven't made up my mind yet, so this is a honest question to
understand the reasoning behind your choice.
Regards,
Lucas
> Christian Gmeiner (4):
> drm/etnaviv: add simple moving average (SMA)
> drm/etnaviv: add loadavg accounting
> drm/etnaviv: show loadavg in debugfs
> drm/etnaviv: export loadavg via perfmon
>
> drivers/gpu/drm/etnaviv/etnaviv_drv.c | 14 ++++
> drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 44 ++++++++++++-
> drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 29 +++++++++
> drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 79 +++++++++++++++++++++++
> drivers/gpu/drm/etnaviv/etnaviv_sma.h | 53 +++++++++++++++
> 5 files changed, 218 insertions(+), 1 deletion(-)
> create mode 100644 drivers/gpu/drm/etnaviv/etnaviv_sma.h
>
Powered by blists - more mailing lists