From owner-freebsd-hackers Mon Mar 12 15:50:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gandalf.vi.bravenet.com (gandalf.bravenet.com [139.142.105.50]) by hub.freebsd.org (Postfix) with SMTP id 8FA2D37B719 for ; Mon, 12 Mar 2001 15:50:37 -0800 (PST) (envelope-from dphoenix@bravenet.com) Received: (qmail 12645 invoked by uid 1000); 12 Mar 2001 23:47:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Mar 2001 23:47:43 -0000 Date: Mon, 12 Mar 2001 15:47:43 -0800 (PST) From: Dan Phoenix To: freebsd-hackers@FreeBSD.ORG Subject: optimizing apache with php and nfs mounts In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" could some c guru tell me if this would be bad to use to an apache optimization? I need to compile apache on my own not with ports.... looking at makefile in apache13 in ports collection i see these optimization flags. along with --mmap-static module. can you use both -06 and -02 for optmization at the same time? -fomit-frame-pointer as well? this is my full config line so far CC="gcc -O6 -fomit-frame-pointer" OPTIM="-O2 -DBUFFERED_LOGS" ./configure --prefix=/usr/local/apache --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a alot of other crap modules get thrown into httpd.conf as well i have noticed....slowly researching each and disabling what i don;t need. INterested in talking with some c experts and apache experts on this issue. -- Dan +------------------------------------------------------+ | BRAVENET WEB SERVICES | | dan@bravenet.com | | make installworld | | ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail | | ln -s /var/qmail/bin/newaliases /usr/sbin/newaliases | +______________________________________________________+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message