mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arthur Corliss <corliss@digitalmages.com>
To: Tim Schmielau <tim@physik3.uni-rostock.de>
Cc: "Andrew Morton" <akpm@osdl.org>, "Jay Lan" <jlan@engr.sgi.com>,
	lkml <linux-kernel@vger.kernel.org>,
	erikj@dbear.engr.sgi.com, limin@engr.sgi.com,
	lse-tech@lists.sourceforge.net,
	=?X-UNKNOWN?Q?Ragnar_Kj=F8rstad?= <kernel@ragnark.vestdata.no>,
	"Yoshitaka ISHIKAWA" <y.ishikawa@soft.fujitsu.com>,
	"Guillaume Thouvenin" <guillaume.thouvenin@bull.net>
Subject: Re: [PATCH] new CSA patchset for 2.6.8
Date: Fri, 27 Aug 2004 17:26:26 -0800 (AKDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0408271714550.1075@bifrost.nevaeh-linux.org> (raw)
In-Reply-To: <Pine.LNX.4.53.0408262133190.8515@broiler.physik3.uni-rostock.de>

On Thu, 26 Aug 2004, Tim Schmielau wrote:

> That's ok, we carefully discussed the changes to make sure no new tools
> are required ;-)

Understood, and appreciated.

> Does this mean you would want to have both in the same kernel, potentially
> turning on both at the same time?

I think that's definitely the route to go.  Not everyone needs the level of
visibility that CSA provides, so I think that with a unified data collection
methodology the users can decide for themselves what they need, and the kernel
stays in good shape with no implementation-specific bloat.

> Ok, let me summarize what I learned until now:
>
> It should be easy to combine the data collection enhancements from
> CSA and ELSA to provide a common superset of information.
>
> Output file formats vary, but might be unified if projects don't insist
> too much.

I don't think we'd necessarly want a unified accounting *file*.  BSD account
files grow pretty damned quick as it is, and that's with a lot less visibility
than if you included the extract counters that CSA provides.  Make the data
available the logging module(s) or what have you via a common struct, but let
each module decide what to actually commit to disk, and when (on job exit,
etc.).

> Main difference between CSA and ELSA on the one hand and BSD acct on the
> other is that the latter writes one record per process, while the former
> write one per job.
> With the new BSD acct v3 format, it should be possible to do per job
> accounting entirely from userspace, using pid and ppid information to
> reconstruct the process tree and some userland database for the
> pid -> job mapping. It would, however, be greatly simplified if the
> accounting records provided some kind of job id, and some indicator
> whether or not this process was the last of a job (group).
>
> CSA and ELSA might even be more lightweight since fewer accounting records
> are actually written.
>
> Sounds like it should be possible to fulfill the different needs by
> having loadable modules for the different output formats, or by a /proc
> entry that controls some aspects like whether records are written per
> job or per process.

On one hand, loadable modules would be more helpful for people doing
side-by-side comparisons of the accounting systems, but the /proc method would
be better for dynamic adjustments of a single system.  I don't think I have a
horse in this race, either way.

	--Arthur Corliss
	  Bolverk's Lair -- http://arthur.corlissfamily.org/
	  Digital Mages -- http://www.digitalmages.com/
	  "Live Free or Die, the Only Way to Live" -- NH State Motto

  parent reply	other threads:[~2004-08-28  1:28 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26  0:25 Jay Lan
2004-08-26  5:18 ` Andrew Morton
2004-08-26 17:15   ` Tim Schmielau
2004-08-26 18:26     ` [Lse-tech] " Jay Lan
2004-08-26 19:44       ` Arthur Corliss
2004-08-26 18:43     ` John Hesterberg
2004-08-27  8:26       ` Tim Schmielau
2004-08-26 19:24     ` Arthur Corliss
2004-08-26 20:05       ` Tim Schmielau
2004-08-26 20:46         ` Jay Lan
2004-08-28  1:27           ` Arthur Corliss
2004-08-30 12:26             ` Guillaume Thouvenin
2004-08-31 14:19               ` Tim Schmielau
2004-08-31 23:01                 ` [Lse-tech] " Jay Lan
2004-09-08 18:32                   ` Jay Lan
2004-08-28  1:26         ` Arthur Corliss [this message]
     [not found]         ` <20040827054218.GA4142@frec.bull.fr>
2004-08-27 19:31           ` John Hesterberg
2004-08-30  8:29             ` Tim Schmielau
2004-08-27 19:55           ` Jay Lan
2004-08-31  9:06             ` Guillaume Thouvenin
2004-08-31 10:29               ` Guillaume Thouvenin
2004-08-31 16:04                 ` Limin Gu
2004-09-01 21:44               ` John Hesterberg
2004-08-28  1:33           ` Arthur Corliss
2004-08-26 18:38   ` [Lse-tech] " John Hesterberg
     [not found]     ` <412EADBC.60607@bigpond.net.au>
     [not found]       ` <20040826205349.0582d38e.akpm@osdl.org>
2004-08-27 20:24         ` Jay Lan
2004-08-30 19:10         ` John Hesterberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408271714550.1075@bifrost.nevaeh-linux.org \
    --to=corliss@digitalmages.com \
    --cc=akpm@osdl.org \
    --cc=erikj@dbear.engr.sgi.com \
    --cc=guillaume.thouvenin@bull.net \
    --cc=jlan@engr.sgi.com \
    --cc=kernel@ragnark.vestdata.no \
    --cc=limin@engr.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=tim@physik3.uni-rostock.de \
    --cc=y.ishikawa@soft.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®