public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Persistent module storage - modutils design
Date: Wed, 08 Nov 2000 09:52:20 +1100	[thread overview]
Message-ID: <17582.973637540@ocs3.ocs-net> (raw)
In-Reply-To: Your message of "Tue, 07 Nov 2000 16:30:22 MDT." <200011072230.QAA304551@tomcat.admin.navo.hpc.mil>

On Tue, 7 Nov 2000 16:30:22 -0600 (CST), 
Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil> wrote:
> From: Keith Owens <kaos@ocs.com.au> 
>> No need for a separate size field.  Note that MODULE_PARM is built at
>> compile time so all persistent data must have a fixed compile time
>> size.
>
>I'll buy that - but it does mean that if there are 300 items then it
>will get LONG... but then, that can be handled. I was thinking of the
>"parameter" to possibly being a full data structure that could be updated
>in an atomic manner, with a minimum of overhead (no number conversions
>in the kernel).

Irrelevant.  Remember that persistent module data is only set when the
module is loaded and retrieved when it removed.  Atomicity and speed
are not an issue at those points.

>> Pure binary immediately runs into kernel version skew problems.
>
>The identification of data version should be left up to the userspace
>utility that retrieves the data.

The userspace utilities are insmod and rmmod.  No, I am not going to
put version numbers into the saved data.

>For some things, yes. I was thinking of things like automatically changing
>the scheduling priorities for batch+interactive use. Also things like
>fair-share scheduler parameters, resident set size/swap resource control,
>(other large system capabilities, I admit).

All of which are system level tuning parameters that vary based on time
and/or load.  My MVS sysprog hat says that there is no point in saving
these parameters across a reboot.  Instead you have global targets
which rarely change and let the system tue to meet the targets - like
MVS Work Load Manager.  These settings are nothing to do with modules.

>I know it wasn't considered, but batch schedulers may have their parameters
>changed hourly. My site currently works with one that has parameters changed
>to reflect available resources for future scheduling cycles that use updated
>job priorities to determine how the system should respond.

And what is the point of saving those parameters?  Firstly they will
not be implemented via modules.  Secondly the values just before
shutdown and at startup will not be useful for the peak hour load, nor
for the overnight backup window.  Again, set targets and let the system
auto tune.  The only thing you save are the overall targets, those are
already in text files with their own specific format.

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

  reply	other threads:[~2000-11-07 22:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-07 22:30 Persistent module storage - modutils design Jesse Pollard
2000-11-07 22:52 ` Keith Owens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-07 16:01 Jesse Pollard
2000-11-07 21:51 ` Keith Owens
2000-11-07  4:00 Keith Owens
2000-11-07  4:45 ` Keith Owens
2000-11-07 12:45 ` Horst von Brand
2000-11-07 13:30   ` Horst von Brand
2000-11-07 13:51     ` Keith Owens
2000-11-09  4:52       ` Rusty Russell
2000-11-09  5:09         ` H. Peter Anvin
2000-11-09  5:25           ` Keith Owens
2000-11-09  5:21         ` Keith Owens
2000-11-07 13:55     ` Alan Cox
2000-11-09 12:22       ` Ralf Baechle
2000-11-07 13:33   ` Keith Owens
2000-11-07 14:47     ` Horst von Brand
2000-11-07 15:19       ` Keith Owens

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=17582.973637540@ocs3.ocs-net \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pollard@tomcat.admin.navo.hpc.mil \
    /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