From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 13:50:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D845516A4CE for ; Tue, 2 Dec 2003 13:50:12 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89E4743FE0 for ; Tue, 2 Dec 2003 13:50:11 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id hB2LhGkX085391; Tue, 2 Dec 2003 13:43:16 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3FCD0774.60807@acm.org> Date: Tue, 02 Dec 2003 13:43:16 -0800 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Daniel C. Sobral" References: <200311250106.hAP16qNp018512@realtime.exit.com> <200311251212.59933.doconnor@gsoft.com.au> <3FCCF094.5040006@tcoip.com.br> In-Reply-To: <3FCCF094.5040006@tcoip.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: Andrew Gallatin Subject: Re: 40% slowdown with dynamic /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 21:50:13 -0000 Daniel C. Sobral wrote: > Now, my machines usually get by themselves, but all *I* do on them is > sh(1) intensive, so I'll probably be using the static root option when > it comes time to upgrade them to 5.x. The static root option exists for people with special requirements: * Use a lot of shell scripts * Have very high performance requirements for those scripts * Does not use LDAP, NIS, or other networked directory services (I want to move NIS out of libc. Its privileged position relative to LDAP and other services is rather dated.) E.g., someone with a standalone server that's using /bin/sh to run CGIs would be well advised to compile a static /bin/sh. Fortunately, that's easy to do. > And if you are using FreeBSD on desktop you should use bash or some > other ports-shell, instead of slowing down _the_ shell for shell > scripts. User shell scripts do rely on tilde expansion. Having that break in any environment relying on networked directory services is a pretty serious loss of functionality. Tim Kientzle