pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Scott Carey <scott@richrelevance.com>
Cc: Ireneusz Pluta <ipluta@wp.pl>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: 3ware vs. MegaRAID
Date: Thu, 08 Apr 2010 02:13:32 -0400
Message-ID: <4BBD740C.7020308@2ndquadrant.com> (raw)
In-Reply-To: <23D26E38-9852-4EB6-9DF9-FCB2EAE1EE6C@richrelevance.com>
References: <4BB1FAAF.7050406@wp.pl>
	<4BB23254.2040109@2ndquadrant.com>
	<4BBB662C.8030102@wp.pl>
	<23D26E38-9852-4EB6-9DF9-FCB2EAE1EE6C@richrelevance.com>

Scott Carey wrote:
> * Change the linux 'readahead' block device parameter to at least 4MB (8192, see blockdev --setra) -- I don't know if there is a FreeBSD equivalent.
>   
I haven't tested them, but 3ware gives suggestions at 
http://www.3ware.com/kb/Article.aspx?id=14852 for tuning their cards 
properly under FreeBSD.  You cannot get good sequential read performance 
from 3ware's cards without doing something about this at the OS level; 
the read-ahead on the card itself is minimal and certainly a bottleneck.

As for your comments about drives being faster at the front than the 
end, the zcav tool that comes with bonnie++ is a good way to plot that 
out, rather than having to split partitions up and do a bunch of manual 
testing.

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




view thread (16+ messages)  latest in thread

Message-ID: <4BBD740C.7020308@2ndquadrant.com>
Permalink:  ../4BBD740C.7020308@2ndquadrant.com/
Also on:    postgresql.org/message-id/4BBD740C.7020308@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, scott@richrelevance.com, ipluta@wp.pl
  Subject: Re: 3ware vs. MegaRAID
  In-Reply-To: <4BBD740C.7020308@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