Re: futex - Mailing list pgsql-hackers

From Manfred Spraul
Subject Re: futex
Date
Msg-id 412CC90D.5060005@colorfullife.com
Whole thread Raw
In response to Re: futex  (Josh Berkus <josh@agliodbs.com>)
Responses Re: futex
List pgsql-hackers
Josh Berkus wrote:

>Gaetano,
>
>  
>
>>I knew there was an evaluation on the futex vs spinlock,
>>and Josh Berkus on IRC told me that there was only a 20%
>>performance increase, is this increase to throw away ?
>>    
>>
>
>Before we get totally off track here ....
>
>I evaluated futexes strictly as an attempt to solve the context switch storm 
>bug.   I did NOT test whether they improved performance overall.
>
>  
>
What did you test exactly and could you explain a bit about the context 
switch storm?
Did you use the futex interface directly or pthread_rwlock_rdlock?

--   Manfred


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: missing data/global
Next
From: "Serguei A. Mokhov"
Date:
Subject: Typo in a comment in initdb.c