Re: [HACKERS] patch postgresql for AMD64 (Opteron)

2006-07-03 Thread Sven Geisler
Hi Tom, I remember that you provide a small SQL script to force the context switch storm. Can you provide a similar script for Pg 8.1.4? It looks to me that you get context switch storm if you access with SELECT one table from multiple clients. I have a customer which has an current XEON MP Dual

[HACKERS] patch postgresql for AMD64 (Opteron)

2006-06-09 Thread Sven Geisler
Hi all, I created a patch for PostgreSQL and x86 architecture. This patch address a Opteron-specific behavior regarding some assembler statements. The patch based on a patch to PostgreSQL 8.0.3 which was worked out by RedHat. Tom did change src/include/storage/s_lock.h for PostgreSQL 8.1.x. Th

Re: [HACKERS] patch postgresql for AMD64 (Opteron)

2006-06-09 Thread Tom Lane
Sven Geisler <[EMAIL PROTECTED]> writes: > I created a patch for PostgreSQL and x86 architecture. > This patch address a Opteron-specific > behavior regarding some assembler statements. AFAICT this patch essentially proposes that we should allow the single case of an Opteron running in 32-bit mode