pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Vincent <pgsql-performance@lusis.org>
To: Tim Allen <tim@proximity.com.au>
Cc: pgsql-performance@postgresql.org
Subject: Re: SAN performance mystery
Date: Mon, 19 Jun 2006 08:54:18 -0400
Message-ID: <c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.com> (raw)
In-Reply-To: <44967C37.3030006@proximity.com.au>
References: <4491D61B.9040507@proximity.com.au>
	<c841561b0606151515l52a630c9l9ca3373e2274bdba@mail.gmail.com>
	<44967C37.3030006@proximity.com.au>

On 6/19/06, Tim Allen <tim@proximity.com.au> wrote:
>
>
> As I noted in another thread, the HBA is an Emulex LP1050, and they have
> a rather old driver for it. I've recommended that they update ASAP. This
> hasn't happened yet.


Yeah, I saw that in a later thread. I would suggest also that the BIOS
settings on the HBA itself have been investigated. An example is the Qlogic
HBAs have a profile of sorts, one for tape and one for disk. Could be
something there.


> OK, thanks, I'll ask the customer whether they've used PowerPath at all.
> They do seem to have it installed on the machine, but I suppose that
> doesn't guarantee it's being used correctly. However, it looks like they
> have just the one HBA, so, if I've correctly understood what load
> balancing means in this context, it's not going to help; right?


If they have a single HBA then no it won't help. I'm not very intimate on
powerpath but it might even HURT if they have it enabled with one HBA. As an
example, we were in the process of migrating an AIX LPAR to our DS6800. We
only had one spare HBA to assign it. The default policy with the SDD driver
is lb (load balancing). The problem is that with the SDD driver you see
multiple hdisks per HBA per controller port on the SAN. Since we had 4
controller ports active on the SAN, our HBA saw 4 hdisks per LUN. The SDD
driver abstracts that out as a single vpath and you use the vpaths as your
pv on the system. The problem was that it was attempting to load balance
across a single hba which was NOT what we wanted.



>
> I've done some dd'ing myself, as described in another thread. The
> results are not at all encouraging - their SAN seems to do about 20MB/s
> or less.


I saw that as well.


> The SAN possibly is over-subscribed. Can you suggest any easy ways for
> me to find out? The customer has an IT department who look after their
> SANs, and they're not keen on outsiders poking their noses in. It's hard
> for me to get any direct access to the SAN itself.


When I say over-subscribed, you have to look at all the active LUNs and all
of the systems attached as well. With the DS4300 (standard not turbo
option), the SAN can handle 512 I/Os per second. If I have 4 LUNs assigned
to four systems (1 per system), and each LUN has a queue_depth of 128 from
each system, I''ll oversubscribe with the next host attach unless I back the
queue_depth off on each host. Contrast that with the Turbo controller option
which does 1024 I/Os per sec and I can duplicate what I have now or add a
second LUN per host. I can't even find how much our DS6800 supports.


> Thanks for all the suggestions, John. I'll keep trying to follow some of
> them up.

view thread (26+ messages)  latest in thread

Message-ID: <c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.com>
Permalink:  ../c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.com/
Also on:    postgresql.org/message-id/c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgsql-performance@lusis.org, tim@proximity.com.au
  Subject: Re: SAN performance mystery
  In-Reply-To: <c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.com>
  References: <4491D61B.9040507@proximity.com.au> <c841561b0606151515l52a630c9l9ca3373e2274bdba@mail.gmail.com> <44967C37.3030006@proximity.com.au> <c841561b0606190554of25d05fgc8b6e3f950910236@mail.gmail.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