[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200814010100.3e9b6423@eug-lubuntu>
Date: Fri, 14 Aug 2020 01:01:00 +1000
From: Eugene Lubarsky <elubarsky.linux@...il.com>
To: Andrei Vagin <avagin@...il.com>
Cc: linux-api@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, adobriyan@...il.com,
dsahern@...il.com
Subject: Re: [RFC PATCH 0/5] Introduce /proc/all/ to gather stats from all
processes
On Wed, 12 Aug 2020 00:51:35 -0700
Andrei Vagin <avagin@...il.com> wrote:
> Maybe we need resurrect the task_diag series instead of inventing
> another less-effective interface...
I would certainly welcome the resurrection of task_diag - it is clearly
more efficient than this /proc/all/ idea. It would be good to find out
if there's anything in particular that's currently blocking it.
This RFC is mainly meant to check whether such an addition would
be acceptable from an API point of view. It currently has an obvious
performance issue in that seq_file seems to only return one page at a
time so lots of read syscalls are still required. However I may not
have the time to figure out a proposed fix for this by myself.
Regardless, text-based formats can't match the efficiency of task_diag,
but binary ones are also possible.
Best Wishes,
Eugene
Powered by blists - more mailing lists