On Fri, Jul 18, 2008 at 12:49:20PM +0200, Andrew Beekhof wrote:
> On Fri, Jul 18, 2008 at 12:01, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> > On Thu, Jul 17, 2008 at 12:00:52AM +0200, Lars Marowsky-Bree wrote:
> >> On 2008-07-15T15:18:26, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
> >>
> >> > There's a tool in Debian which finds bashisms:
> >> >
> >> > checkbashisms(1)
> >> >
> >> > It should find most of bash features. Otherwise, I don't know any
> >> > conversion guides. You should be able to find shell references on
> >> > Internet. If in doubt, please ask on the list.
> >>
> >> We pull in XML libraries, python, perl, tls, not to mention that the
> >> cluster will usually be hosting an actual application or several, but
> >> then try to not require bash - a package which is smaller than even the
> >> heartbeat package.
> >
> > The bash shell is also around ten times bigger and more complex
> > then a POSIX compatible shell. That should also be taken into
> > account.
> 
> however given that we already require python, e2fsprogs, libxml2,
> gnutls, libxslt, glade, etc etc, the difference is a comparative drop
> in the ocean

We are talking about different metrics. All monitor operations
require a fork of a shell. And that probably more than once. The
leaner the shell the better the performance. It also looks like,
though I'm not entirely happy with that, that people tend to use
more rather than less monitors and to schedule them very
frequently (once a second? anybody?). And, unfortunately, a
better monitor API/interface is still far away for most
resource types.

bash is excellent as an interactive shell, but there's really no
need to use it to manage resources.

Cheers,

Dejan
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to