Re: [patch] Job - inescapable job containers

From: Guillaume Thouvenin
Date: Thu Jan 20 2005 - 04:35:30 EST


Andrew wrote:

> Limin Gu wrote:
>>
>> Could you consider this for inclusion in the mm tree?
>> The Job patch has been posted a few times, and I've addressed
>> the issues others raised.
>
> A similar thing happened last year with the "enhanced system
> accounting" patch.

I have a different approach than PAGG. My goal is to minimize kernel
modifications to perform enhanced accounting (and only that). I'm using
a kernel module and a user space daemon to provide enhanced system
accounting. The only thing I need to manage "jobs" is a hook in the
do_fork() routine, everything else is done outside the kernel. Thus, I'm
not offering a real framework as PAGG does because PAGG is used not only
for accounting (I think... Limin?).

I submitted small patches that relay fork information (it was the
relay_fork module + a hook in the do_fork() routine). It seems that some
people, like Erich Focht, were interested by this kind of feature for
others applications but unfortunately I didn't receive (yet) any
feedbacks from him.

IMHO, I think that most of job management can be done outside the Linux
kernel tree so I've worked on a user space solution. The solution I'm
working on is specific to accounting and can not be considered as a
framework. I think that SGI's jobs is a good framework and if it is
integrated in the development tree then it will be a good solution to
enhance Linux accounting but I don't know if such framework is needed in
the kernel if the goal is only accounting. If the goal is more around
global resources management, then SGI's framework should be compared
with CKRM.

Thus to be clear, ELSA is a specific solution for enhanced linux system
accounting with a very small kernel modification but it's only for
accounting. I used a relay fork module which can be used by some others
applications (Erich?). PAGG is a generic framework that allows ,with
CSA, to do accounting. PAGG is more to compare with CKRM and as a
framework, it implies deeper kernel integrations and modifications than
my solution. So, if the relay fork module is interesting and is used by
others applications, ELSA is a good solution, otherwise, the discussion
is which framework to integrate, PAGG, CKRM,...

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/