pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Christiaan Willemsen <cwillemsen@technocon.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Using high speed swap to improve performance?
Date: Mon, 05 Apr 2010 10:55:10 -0400
Message-ID: <4BB9F9CE.1020106@2ndquadrant.com> (raw)
In-Reply-To: <vmime.4bb64234.61d6.751839cb97a3e6d@yoda.dhcp.tecnocon.com>
References: <vmime.4bb64234.61d6.751839cb97a3e6d@yoda.dhcp.tecnocon.com>

Christiaan Willemsen wrote:
>
> So I was thinking: Why not make a big fat array using 14 disks (raid 
> 1, 10 or 5), and make this a big and fast swap disk. Latency will be 
> lower than the SAN can provide, and throughput will also be better, 
> and it will relief the SAN from a lot of read iops.
>

Presuming that swap will give predictable performance as things go into 
and out of there doesn't sound like a great idea to me.  Have you 
considered adding that space as a tablespace and setting 
temp_tablespaces to point to it?  That's the best thing I can think of 
to use a faster local disk with lower integrity guarantees for.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




view thread (10+ messages)  latest in thread

Message-ID: <4BB9F9CE.1020106@2ndquadrant.com>
Permalink:  ../4BB9F9CE.1020106@2ndquadrant.com/
Also on:    postgresql.org/message-id/4BB9F9CE.1020106@2ndquadrant.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: greg@2ndquadrant.com, cwillemsen@technocon.com
  Subject: Re: Using high speed swap to improve performance?
  In-Reply-To: <4BB9F9CE.1020106@2ndquadrant.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