From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 24 11:40:39 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C426B1065686 for ; Wed, 24 Sep 2008 11:40:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id A9FA98FC12 for ; Wed, 24 Sep 2008 11:40:39 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id JaKe1a00C0S2fkCA6bgfAn; Wed, 24 Sep 2008 11:40:39 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA09.emeryville.ca.mail.comcast.net with comcast id Jbge1a0034v8bD78Vbgeqq; Wed, 24 Sep 2008 11:40:39 +0000 X-Authority-Analysis: v=1.0 c=1 a=YDA77r1Fh2MA:10 a=QycZ5dHgAAAA:8 a=vCiXsZHq6jDZe_JDf9UA:9 a=QoCIHm8ucUowj9o0QyUA:7 a=LLc6nKyNnBTQJinxnAA7fy4QfVIA:4 a=EoioJ0NPDVgA:10 a=STgsBMGmCuoA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 18C6C17B81A; Wed, 24 Sep 2008 04:40:38 -0700 (PDT) Date: Wed, 24 Sep 2008 04:40:38 -0700 From: Jeremy Chadwick To: Daniel Gerzo Message-ID: <20080924114038.GA81573@icarus.home.lan> References: <8185F68B-C443-4891-BEC2-5E3D453DDC93@wheelhouse.org> <5654e5239c4c2cda3aaa56bb7e1acd30@services.rulez.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5654e5239c4c2cda3aaa56bb7e1acd30@services.rulez.sk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Jeff Wheelhouse , freebsd-hackers@freebsd.org Subject: Re: Major SMP problems with lstat/namei X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 11:40:39 -0000 On Wed, Sep 24, 2008 at 09:26:55AM +0200, Daniel Gerzo wrote: > Hello Jeff, > > On Wed, 24 Sep 2008 00:52:59 -0400, Jeff Wheelhouse > wrote: > > > > We have encountered some serious SMP performance/scalability problems > > that we've tracked back to lstat/namei calls. I've written a quick > > this all seems like a reason of very poor performance of PHP when used with > open_basedir and safe_mode enabled. It would be nice to see if there's > something what could be done to make it better. Both of which are features which will, thankfully, be removed in PHP 6. Whoever uses these features in PHP deserves the pain -- they're worthless and provide no security what-so-ever. Consider using suPHP or an MPM like mpm-itk. Also, PHP and performance shouldn't be put in the same sentence. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |