From owner-freebsd-stable Tue Jun 5 20:31:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hobbits.brel.com (hobbits.brel.com [203.127.231.61]) by hub.freebsd.org (Postfix) with ESMTP id EE61437B405 for ; Tue, 5 Jun 2001 20:31:23 -0700 (PDT) (envelope-from calvinng@hobbits.brel.com) Received: by hobbits.brel.com (Postfix, from userid 1001) id 65E7C3329; Wed, 6 Jun 2001 11:31:19 +0800 (SGT) Date: Wed, 6 Jun 2001 11:31:19 +0800 From: Calvin NG To: Mike Meyer Cc: "Karsten W. Rohrbach" , freebsd-stable@FreeBSD.ORG Subject: Re: building apache from /usr/ports Message-ID: <20010606113119.B54034@brel.com> References: <20010605140629.B15206@leviathan.inethouston.net> <20010605152718.A21889@localhost> <20010606034917.D97958@mail.webmonster.de> <15133.37451.23934.758674@guru.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15133.37451.23934.758674@guru.mired.org>; from mwm@mired.org on Tue, Jun 05, 2001 at 09:15:39PM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings, Correct me if I m wrong. For in-core web server , every copy of server loaded has the perl and/or php in it. For modules, its a shared library, the server is smaller size, and only a copy of the module is loaded in memory. However, in-core is slightly faster then modules, IIRC. I remember reading the performance pages of mod_perl, they recommend running mod_perl in-core servers separately as a application server. Thats my understanding of the difference between in-core and modules. Regards, /calvin lines with :> are quotes from Mike Meyer's email :> Karsten W. Rohrbach types: :> > you won't recognize it until you have to implement a heavily loaded :> > server with php or perl in-core. position independent code is know to be :> > slower, but it outperforms monolithic compiles by saving a lot of ram. :> :> Ok, where does the savings come from? You get one copy of the code, :> shared by all the processes running the binary, whether or not the :> code is in a shared library. COW for data should mean that data should :> be shared pretty much the same. So what have I missed? :> :> Thanx, :> -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message