Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?

From: Greg Smith <greg(at)2ndQuadrant(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: VX_CONCURRENT flag on vxfs( 5.1 or later) for performance for postgresql?
Date: 2011-04-29 00:14:16
Message-ID: 4DBA02D8.4050705@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice pgsql-performance

On 04/27/2011 11:33 PM, HSIEN-WEN CHU wrote:
> When database files are on a VxFS filesystem, performance can be
> significantly improved by setting the VX_CONCURRENT cache advisory on
> the file according to vxfs document,
>

That won't improve performance, and it's not safe either. VX_CONCURRENT
switches the filesystem to use direct I/O. That's usually slower for
PostgreSQL. And it introduces some requirements for both block
alignment and the application avoiding overlapping writes. PostgreSQL
doesn't do either, so I wouldn't expect it to be compatible with
VX_CONCURRENT.

--
Greg Smith 2ndQuadrant US greg(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vlad Arkhipov 2011-04-29 03:11:14 Re: Predicate locking
Previous Message David E. Wheeler 2011-04-28 22:41:44 Re: Explain Nodes

Browse pgsql-novice by date

  From Date Subject
Next Message siva kiran balijepalli 2011-05-02 07:18:23 error regarding creating a database
Previous Message John Payne 2011-04-28 22:57:59 Re: silence and failure of SQL commands

Browse pgsql-performance by date

  From Date Subject
Next Message Tomas Vondra 2011-04-29 00:22:09 Re: Performance
Previous Message Jeff Janes 2011-04-28 15:56:10 Re: reducing random_page_cost from 4 to 2 to force index scan