Re: [PATCH] new CSA patchset for 2.6.8

From: Guillaume Thouvenin
Date: Mon Aug 30 2004 - 07:29:41 EST


On Fri, Aug 27, 2004 at 05:27:19PM -0800, Arthur Corliss wrote:
> On Thu, 26 Aug 2004, Jay Lan wrote:
>
> > I do like to see a common data collection method in the kernl. Kernel
> > does not need to decide how the data to be presented to the
> > user space. An accounting loadable module such as CSA or ELSA will
> > take care of how the data to be presented to meet the needs of
> > different users.
> >
> > Sounds reasonable?
>
> Seconded.

Thus, to be clear, the enhanced accounting can be divided into
three parts:

1) A common data collection method in the kernel.
We could start from BSD-accounting and add CSA information. Could
it be something like BSD version4?

2) A module that will manage a job history. I mean, it will manage a
structure in which we will keep the relationship between processes and
"containers" and also between process and its children. The
property needed here is that a child belongs to the same "job"
as its parent. This allows to do per-job accounting. I will have
a look to PAGG and JOB.

Can it be done in userspace? Is the lost of data (as observed by
Arthur Corliss with SAR) can be avoided?

3) Finally we need module that will be in charge of datas
presentation. This will allow to be easily compatible with other
applications.

I will have a look to the per-job accounting patch. If I understand
well, this patch falls into the second requirement (manage groups of
processes).

Regards,
Guillaume
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/