[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SplayTime
From: |
Bas van der Vlies |
Subject: |
Re: SplayTime |
Date: |
Thu, 14 Aug 2003 10:28:59 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 |
That is exactly what i want to spread the load on the fileserver. I know
it is one run, but i do not want a bunch of hosts check at the same if
they have the right config for the next run (update.conf). CFengine runs
every 15 minutes and only at midnight is does a daily check. This checks
a lot of files on the fileserver. So that is why i want for normal runs
only to set the SplayTime in update.conf and for the long daily run add
another splaytime, but maybe i have to implemented another solution.
Chip Seraphine wrote:
I think the idea of SplayTime is to decrease the load on the fileserver,
really. It's not a matter of the size of the script so much as a matter
of how much server I/O it may generate as it requests files to be copied
or whatever.
But the main reason you probably don't really want to do this is that
the update.conf runs immediately before the cfagent.conf; putting a
SplayTime in there will have the effect of putting a pause in between
the two. You probably ought to think of the two files as being a single
large job, and set the splay time appropriately. In other words, if you
want to spread the updates over a couple minutes and the main config
over a couple more, just set the whole splay to four minutes.
Hope that makes sense,
Bas van der Vlies wrote:
cfengine 2.0.7p3
I have a question about this variable. I want it to use twice one for
the update.conf and then in cfagent.conf (daily run). But that is not
possible, why? My thought is that i want to spread the load on the
server when update.conf is run. It is a sinple cfengine script and it
runs fast, so a low SplayTime value. Now when i run the daily config a
lot of files are checked so i want to use a different SplayTime value.
Does this make sense?
--
--
********************************************************************
* *
* Bas van der Vlies e-mail: basv@sara.nl *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
- SplayTime, Bas van der Vlies, 2003/08/13
- Re: SplayTime, Chip Seraphine, 2003/08/13
- Re: SplayTime,
Bas van der Vlies <=