On Sat, Jan 28, 2012 at 2:21 PM, Jayashankar K B <Jayashankar.KB@xxxxxxxxxx> wrote: > > ./configure CC=/opt/freescale/usr/local/gcc-4.4.54-eglibc-2.10.54/m68k-linux/bin/m68k-linux-gnu-gcc CFLAGS='-fmessage-length=0 -fpack-struct -mcpu=54418 -msoft-float' --host=i686-pc-linux-gnu --target=m68k-linux-gnu --prefix=/home/jayashankar/databases/Postgre_8.4.9_relocatable/ > > Any other special flags that could be of help to us? Well, it's a tough issue, because you'll have to test every change to see if it really makes a difference or not. But you might try --disable-float8-byval, --disable-spinlocks. On the compiler front (CFLAGS), you should have -mtune=54418 (or perhaps -mtune=cfv4) (-march and -mcpu don't imply -mtune), and even perhaps -O2 or -O3. I also see you're specifying -msoft-float. So that's probably your problem, any floating point arithmetic you're doing is killing you. But without access to the software in order to change the data types, you're out of luck in that department. -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance