From 661e33ac4b20cab30cb1d18075ed335f42b28042 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 20 Nov 2012 18:09:57 +0100 Subject: [PATCH] document on how to speed up shell execution Signed-off-by: Nico Schottelius --- docs/man/man7/cdist-best-practice.text | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/man/man7/cdist-best-practice.text b/docs/man/man7/cdist-best-practice.text index a8851f7f..818c423a 100644 --- a/docs/man/man7/cdist-best-practice.text +++ b/docs/man/man7/cdist-best-practice.text @@ -30,6 +30,15 @@ Host * ControlPersist 10 -------------------------------------------------------------------------------- +SPEEDING UP SHELL EXECUTION +---------------------------- +On the source host, ensure that /bin/sh is *not* bash: bash is quite slow for +script execution. Instead, you could use dash after installing it: + +-------------------------------------------------------------------------------- +ln -sf /bin/dash /bin/sh +-------------------------------------------------------------------------------- + MULTI MASTER OR ENVIRONMENT SETUPS ----------------------------------