Re: Wierd context-switching issue on Xeon - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Wierd context-switching issue on Xeon
Date
Msg-id 200404211029.43675.josh@agliodbs.com
Whole thread Raw
In response to Re: Wierd context-switching issue on Xeon  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Wierd context-switching issue on Xeon
List pgsql-performance
Dave,

> After some testing if you use the current head code for s_lock.c which
> has some mods in it to alleviate this situation, and change
> SPINS_PER_DELAY to 10 you can drastically reduce the cs with tom's test.
> I am seeing a slight degradation in throughput using pgbench -c 10 -t
> 1000 but it might be liveable, considering the alternative is unbearable
> in some situations.
>
> Can anyone else replicate my results?

Can you produce a patch against 7.4.1?   I'd like to test your fix against a
real-world database.


--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Edoardo Ceccarelli
Date:
Subject: Re: slow seqscan
Next
From: Josh Berkus
Date:
Subject: Re: MySQL vs PG TPC-H benchmarks