Re: [PERFORM] 32 vs 64 bit build on Solaris Sparc

2010-08-12 Thread Dimitri
Hi Joe, the general rule on Solaris SPARC is: - if you need to address a big size of memory (over 4G): compile in 64bit - otherwise: compile in 32bit ;-) It's true that 32bit code will run faster comparing to 64bit ont the 64bit SPARC - you'll operate with 2 times shorter addresses, and in so

Re: [PERFORM] 32 vs 64 bit build on Solaris Sparc

2010-08-11 Thread Tom Lane
Joseph Conway writes: > Also semi-related question: when building from source, using gcc, > enabling debug (but *not* assert) is normally not much of a performance > hit. Is the same true if you build with the Sun CC? Most non-gcc compilers disable optimization altogether if you enable debug :-(.

[PERFORM] 32 vs 64 bit build on Solaris Sparc

2010-08-11 Thread Joseph Conway
With a 16 CPU, 32 GB Solaris Sparc server, is there any conceivable reason to use a 32 bit build rather than a 64 bit build? Apparently the Sun PostgreSQL package includes a README that indicates you might want to think twice about using 64 bit because it is slower -- this seems like outdated advic