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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 9DD0FC433ED for ; Thu, 20 May 2021 14:18:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6130E610A8 for ; Thu, 20 May 2021 14:18:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6130E610A8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 72E6189826; Thu, 20 May 2021 14:18:43 +0000 (UTC) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D0C789AB6; Thu, 20 May 2021 14:18:31 +0000 (UTC) Received: by mail-io1-xd2f.google.com with SMTP id s7so664861iov.2; Thu, 20 May 2021 07:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=nDC85/OdQRNds+ZL2seJ8UZhD8mFSlufxaUYXOTO+uTnLzyG2vAjGK/d/CiIYGKrsd ebNIuwBF748IXzmjbYF+YvYz+JvfV1CoVd7W/QKmKOnHEntY5Be7XdylC1p0cbS4UyIv ibUF2s8L2Oy5MoK9ZTtdFsJIwbCy20TJcrbQMxZcQdDevnMi8ZO38LYKC04QFePPgRfN seZBWNhmzHEijMqtPGj+80HiJGKBFiaF/K3zR3sWHjfqE9JQZWFHoIO4FFlFZ2XciGdb gL44cqmZxYHnMsH1Fhaa/kJoBgxijigKi/AjPU2Le6tfZFcpqiZkCM0MhsDOuqr75xlF I/eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=GWONsK/LtT9ODEXmqAOmgm3WKanmJHCMVcTmL161bYSTPUE/Xx/amWRKby+uIP7y61 0NHcFGLQB/EzniqZHrS8745uSZ//0dyr//DuKGCbZNplhvCTtiSo+kOsQU53jZ66xoUG LDOgUsGvIgB3dvcLJoqmZKk9i3s38aM4Yh/nqMOY7nT4mnt/marioYwJN8mWyDoJzH4k hrSDoWWNbevhl0ie7qJkRt+lWrr2RzwNDPJTrZeIjrbu4a8FCdA8+GN3oG+lkbLFDTVn chQDs16tkZH0v+fpubJMPZqYwaR/HMbMUNawTbGxJOqllbJojx9CDMSgzHLGWBkwe0rT iC8Q== X-Gm-Message-State: AOAM532LoLbL1Ax99WycyjOJC8pTM22O67nDjy3fWzPAHRW7cyVdGXbN j0SeO+cNNB9DXc7PFrG74E+JvWACZy/jBGmXKsY= X-Google-Smtp-Source: ABdhPJxErgeRZBKGIlugn72wxzzF2d6U1bfQQzBUwXW0KqJDYOM6bQaKNq9JS1g+leNaKHufjyGbMF+2sTOkOerjiBo= X-Received: by 2002:a6b:e91a:: with SMTP id u26mr5293102iof.83.1621520310394; Thu, 20 May 2021 07:18:30 -0700 (PDT) MIME-Version: 1.0 References: <7f8fc38a-cd25-aa1f-fa2d-5d3334edb3d2@linux.intel.com> <71428a10-4b2f-dbbf-7678-7487f9eda6a5@linux.intel.com> In-Reply-To: From: arabek Date: Thu, 20 May 2021 16:17:54 +0200 Message-ID: To: =?UTF-8?Q?Christian_K=C3=B6nig?= Subject: Re: [Nouveau] [Intel-gfx] [PATCH 0/7] Per client engine busyness X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tvrtko Ursulin , "nouveau@lists.freedesktop.org" , Intel Graphics Development , Maling list - DRI developers , Daniel Stone , Daniel Vetter , Simon Ser , "Nieto, David M" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" > Well if it becomes a problem fixing the debugfs "clients" file and > making it sysfs shouldn't be much of a problem later on. Why not to try using something in terms of perf / opensnoop or bpf to do the work. Should be optimal enough. ie. http://www.brendangregg.com/blog/2014-07-25/opensnoop-for-linux.html https://man7.org/linux/man-pages/man2/bpf.2.html _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau 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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 D7BC8C433ED for ; Fri, 21 May 2021 06:56:42 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 98802611ED for ; Fri, 21 May 2021 06:56:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98802611ED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 825616F5BC; Fri, 21 May 2021 06:56:35 +0000 (UTC) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D0C789AB6; Thu, 20 May 2021 14:18:31 +0000 (UTC) Received: by mail-io1-xd2f.google.com with SMTP id s7so664861iov.2; Thu, 20 May 2021 07:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=nDC85/OdQRNds+ZL2seJ8UZhD8mFSlufxaUYXOTO+uTnLzyG2vAjGK/d/CiIYGKrsd ebNIuwBF748IXzmjbYF+YvYz+JvfV1CoVd7W/QKmKOnHEntY5Be7XdylC1p0cbS4UyIv ibUF2s8L2Oy5MoK9ZTtdFsJIwbCy20TJcrbQMxZcQdDevnMi8ZO38LYKC04QFePPgRfN seZBWNhmzHEijMqtPGj+80HiJGKBFiaF/K3zR3sWHjfqE9JQZWFHoIO4FFlFZ2XciGdb gL44cqmZxYHnMsH1Fhaa/kJoBgxijigKi/AjPU2Le6tfZFcpqiZkCM0MhsDOuqr75xlF I/eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=GWONsK/LtT9ODEXmqAOmgm3WKanmJHCMVcTmL161bYSTPUE/Xx/amWRKby+uIP7y61 0NHcFGLQB/EzniqZHrS8745uSZ//0dyr//DuKGCbZNplhvCTtiSo+kOsQU53jZ66xoUG LDOgUsGvIgB3dvcLJoqmZKk9i3s38aM4Yh/nqMOY7nT4mnt/marioYwJN8mWyDoJzH4k hrSDoWWNbevhl0ie7qJkRt+lWrr2RzwNDPJTrZeIjrbu4a8FCdA8+GN3oG+lkbLFDTVn chQDs16tkZH0v+fpubJMPZqYwaR/HMbMUNawTbGxJOqllbJojx9CDMSgzHLGWBkwe0rT iC8Q== X-Gm-Message-State: AOAM532LoLbL1Ax99WycyjOJC8pTM22O67nDjy3fWzPAHRW7cyVdGXbN j0SeO+cNNB9DXc7PFrG74E+JvWACZy/jBGmXKsY= X-Google-Smtp-Source: ABdhPJxErgeRZBKGIlugn72wxzzF2d6U1bfQQzBUwXW0KqJDYOM6bQaKNq9JS1g+leNaKHufjyGbMF+2sTOkOerjiBo= X-Received: by 2002:a6b:e91a:: with SMTP id u26mr5293102iof.83.1621520310394; Thu, 20 May 2021 07:18:30 -0700 (PDT) MIME-Version: 1.0 References: <7f8fc38a-cd25-aa1f-fa2d-5d3334edb3d2@linux.intel.com> <71428a10-4b2f-dbbf-7678-7487f9eda6a5@linux.intel.com> In-Reply-To: From: arabek Date: Thu, 20 May 2021 16:17:54 +0200 Message-ID: Subject: Re: [Nouveau] [Intel-gfx] [PATCH 0/7] Per client engine busyness To: =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Fri, 21 May 2021 06:56:34 +0000 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: Tvrtko Ursulin , "nouveau@lists.freedesktop.org" , Intel Graphics Development , Maling list - DRI developers , "Nieto, David M" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" > Well if it becomes a problem fixing the debugfs "clients" file and > making it sysfs shouldn't be much of a problem later on. Why not to try using something in terms of perf / opensnoop or bpf to do the work. Should be optimal enough. ie. http://www.brendangregg.com/blog/2014-07-25/opensnoop-for-linux.html https://man7.org/linux/man-pages/man2/bpf.2.html 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=-0.5 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 2213BC43460 for ; Fri, 21 May 2021 11:55:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E319B613D0 for ; Fri, 21 May 2021 11:55:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E319B613D0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D800A6F61B; Fri, 21 May 2021 11:55:17 +0000 (UTC) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D0C789AB6; Thu, 20 May 2021 14:18:31 +0000 (UTC) Received: by mail-io1-xd2f.google.com with SMTP id s7so664861iov.2; Thu, 20 May 2021 07:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=nDC85/OdQRNds+ZL2seJ8UZhD8mFSlufxaUYXOTO+uTnLzyG2vAjGK/d/CiIYGKrsd ebNIuwBF748IXzmjbYF+YvYz+JvfV1CoVd7W/QKmKOnHEntY5Be7XdylC1p0cbS4UyIv ibUF2s8L2Oy5MoK9ZTtdFsJIwbCy20TJcrbQMxZcQdDevnMi8ZO38LYKC04QFePPgRfN seZBWNhmzHEijMqtPGj+80HiJGKBFiaF/K3zR3sWHjfqE9JQZWFHoIO4FFlFZ2XciGdb gL44cqmZxYHnMsH1Fhaa/kJoBgxijigKi/AjPU2Le6tfZFcpqiZkCM0MhsDOuqr75xlF I/eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DBoE8uvg4daA6egY5B3E868eCtOCNrp/JoVxhqABrd8=; b=GWONsK/LtT9ODEXmqAOmgm3WKanmJHCMVcTmL161bYSTPUE/Xx/amWRKby+uIP7y61 0NHcFGLQB/EzniqZHrS8745uSZ//0dyr//DuKGCbZNplhvCTtiSo+kOsQU53jZ66xoUG LDOgUsGvIgB3dvcLJoqmZKk9i3s38aM4Yh/nqMOY7nT4mnt/marioYwJN8mWyDoJzH4k hrSDoWWNbevhl0ie7qJkRt+lWrr2RzwNDPJTrZeIjrbu4a8FCdA8+GN3oG+lkbLFDTVn chQDs16tkZH0v+fpubJMPZqYwaR/HMbMUNawTbGxJOqllbJojx9CDMSgzHLGWBkwe0rT iC8Q== X-Gm-Message-State: AOAM532LoLbL1Ax99WycyjOJC8pTM22O67nDjy3fWzPAHRW7cyVdGXbN j0SeO+cNNB9DXc7PFrG74E+JvWACZy/jBGmXKsY= X-Google-Smtp-Source: ABdhPJxErgeRZBKGIlugn72wxzzF2d6U1bfQQzBUwXW0KqJDYOM6bQaKNq9JS1g+leNaKHufjyGbMF+2sTOkOerjiBo= X-Received: by 2002:a6b:e91a:: with SMTP id u26mr5293102iof.83.1621520310394; Thu, 20 May 2021 07:18:30 -0700 (PDT) MIME-Version: 1.0 References: <7f8fc38a-cd25-aa1f-fa2d-5d3334edb3d2@linux.intel.com> <71428a10-4b2f-dbbf-7678-7487f9eda6a5@linux.intel.com> In-Reply-To: From: arabek Date: Thu, 20 May 2021 16:17:54 +0200 Message-ID: To: =?UTF-8?Q?Christian_K=C3=B6nig?= X-Mailman-Approved-At: Fri, 21 May 2021 11:55:08 +0000 Subject: Re: [Intel-gfx] [Nouveau] [PATCH 0/7] Per client engine busyness X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "nouveau@lists.freedesktop.org" , Intel Graphics Development , Maling list - DRI developers , Simon Ser , "Nieto, David M" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" > Well if it becomes a problem fixing the debugfs "clients" file and > making it sysfs shouldn't be much of a problem later on. Why not to try using something in terms of perf / opensnoop or bpf to do the work. Should be optimal enough. ie. http://www.brendangregg.com/blog/2014-07-25/opensnoop-for-linux.html https://man7.org/linux/man-pages/man2/bpf.2.html _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx