Re: [PERFORM] probably cause (and fix) for floating-point assist faults on itanium

2011-11-19 Thread Greg Matthews
Looks good to me. I built PG with this change, no kernel warnings after ~10 minutes of running. I'll continue to monitor but I think this fixes the syndrome. Thanks Tom. -Greg On Fri, 18 Nov 2011, Tom Lane wrote: Claudio Freire writes: On Thu, Nov 17, 2011 at 10:07 PM, Greg Matthews wrot

Re: [PERFORM] probably cause (and fix) for floating-point assist faults on itanium

2011-11-18 Thread Tom Lane
Greg Matthews writes: > Looks good to me. I built PG with this change, no kernel warnings after > ~10 minutes of running. I'll continue to monitor but I think this fixes > the syndrome. Thanks Tom. Patch committed -- thanks for checking it. regards, tom lane -- Sent v

Re: [PERFORM] probably cause (and fix) for floating-point assist faults on itanium

2011-11-18 Thread Tom Lane
Claudio Freire writes: > On Thu, Nov 17, 2011 at 10:07 PM, Greg Matthews > wrote: >>if (smoothed_alloc <= (float) recent_alloc) >>smoothed_alloc = recent_alloc; >>else if (smoothed_alloc >= 0.1) >>smoothed_alloc += ((float) recent_alloc - smooth

Re: [PERFORM] probably cause (and fix) for floating-point assist faults on itanium

2011-11-18 Thread Claudio Freire
On Thu, Nov 17, 2011 at 10:07 PM, Greg Matthews wrote: >        if (smoothed_alloc <= (float) recent_alloc) >                smoothed_alloc = recent_alloc; >        else if (smoothed_alloc >= 0.1) >                smoothed_alloc += ((float) recent_alloc - smoothed_alloc) / >                  

[PERFORM] probably cause (and fix) for floating-point assist faults on itanium

2011-11-17 Thread Greg Matthews
Hi folks, I'm running PG 8.3.15 on an itanium box and was seeing lots of floating-point assist faults by the kernel. Searched around, found a couple references/discussions here and there: http://archives.postgresql.org/pgsql-general/2008-08/msg00244.php http://archives.postgresql.org/pgsql-pe