pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Mark Wong <markw@osdl.org>
Cc: neilc@samurai.com
Cc: pgsql-performance@postgresql.org
Subject: Re: futex results with dbt-3
Date: Wed, 20 Oct 2004 19:14:46 +0200
Message-ID: <41769D06.7080407@colorfullife.com> (raw)
In-Reply-To: <20041020101001.A13359@osdl.org>
References: <417221B5.1050704@colorfullife.com>
	<20041020101001.A13359@osdl.org>

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




view thread (24+ messages)  latest in thread

Message-ID: <41769D06.7080407@colorfullife.com>
Permalink:  ../41769D06.7080407@colorfullife.com/
Also on:    postgresql.org/message-id/41769D06.7080407@colorfullife.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: manfred@colorfullife.com, markw@osdl.org, neilc@samurai.com
  Subject: Re: futex results with dbt-3
  In-Reply-To: <41769D06.7080407@colorfullife.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox