Skip site navigation (1) Skip section navigation (2)

Re: futex results with dbt-3

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: Mark Wong <markw(at)osdl(dot)org>
Cc: neilc(at)samurai(dot)com, pgsql-performance(at)postgresql(dot)org
Subject: Re: futex results with dbt-3
Date: 2004-10-20 17:14:46
Message-ID: 41769D06.7080407@colorfullife.com (view raw or flat)
Thread:
Lists: pgsql-performance
Mark Wong wrote:

>I've heard that simply linking to the pthreads libraries, regardless of
>whether you're using them or not creates a significant overhead.  Has
>anyone tried it for kicks?
>
>  
>
That depends on the OS and the functions that are used. The typical 
worst case is buffered IO of single characters: The single threaded 
implementation is just copy and update buffer status, the multi threaded 
implementation contains full locking.

For most other functions there is no difference at all.
--
    Manfred


In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2004-10-20 17:15:35
Subject: Re: futex results with dbt-3
Previous:From: Matt ClarkDate: 2004-10-20 17:12:38
Subject: Re: OS desicion

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group