From dfafeb6a89ad584e32f3f10a47ab60023d693a20 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Thu, 9 Oct 2003 17:11:13 +0000 Subject: [PATCH] Update Solaris FAQ to mention -fast. --- doc/FAQ_Solaris | 17 ++++++++++++++--- src/template/bsdi | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/doc/FAQ_Solaris b/doc/FAQ_Solaris index 9c769d5f58b..9d6b8f97b15 100644 --- a/doc/FAQ_Solaris +++ b/doc/FAQ_Solaris @@ -3,7 +3,7 @@ Frequently Asked Questions (FAQ) for PostgreSQL Sun Solaris specific to be read in conjunction with the installation instructions ============================================================ -last updated: $Date: 2002/11/11 20:04:05 $ +last updated: $Date: 2003/10/09 17:11:13 $ current maintainer: Peter Eisentraut <peter_e@gmx.net> @@ -13,8 +13,8 @@ Contents: 1) What tools do I need to build and install PostgreSQL on Solaris? 2) Why do I get problems when building with OpenSSL support? 3) Why does configure complain about a failed test program? -5) Why does my 64-bit build sometimes crash? - +4) Why does my 64-bit build sometimes crash? +5) How can I compile for optimum performance? 1) What tools do I need to build and install PostgreSQL on Solaris? @@ -88,3 +88,14 @@ to read does not matter.) Then build as usual. + + +5) How can I compile for optimum performance? + +Try using the "-fast" compile flag. The binaries might not be portable to +other Solaris systems, and you might need to compile everything that links +to PostgreSQL with "-fast", but PostgreSQL will run significantly faster, +50% faster on some tests. + + + diff --git a/src/template/bsdi b/src/template/bsdi index 16fe9d4b680..acf8dcfc47c 100644 --- a/src/template/bsdi +++ b/src/template/bsdi @@ -1,4 +1,4 @@ -CFLAGS="$CFLAGS -pipe" +#CFLAGS="$CFLAGS -pipe" case $host_cpu in i?86) CFLAGS="$CFLAGS -m486";; -- GitLab