From: Ravi Shankar <ravi.v.shankar@oracle.com>
To: dgilbert@interlog.com
Cc: Benjamin ESTRABAUD <be@mpstor.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: mpt2sas: /sysfs sas_address entries do not show individual port sas addresses.
Date: Tue, 23 Aug 2011 12:39:28 -0700 [thread overview]
Message-ID: <4E5401F0.7030303@oracle.com> (raw)
In-Reply-To: <4E5059F5.30908@interlog.com>
>
> spl2r02.pdf section 6.18.2 [link layer, SSP, Full duplex]:
> "SSP is a full duplex protocol. An SSP phy may receive
> an SSP frame or primitive in a connection while it is
> transmitting an SSP frame or primitive in the same
> connection. A wide SSP port may send and/or receive
> SSP frames or primitives concurrently on different
> connections (i.e., on different phys)."
>
> For a SCSI command like READ(10) a connection consumes
> one initiator phy and one target phy plus the pathway
> between them until it is closed. Typically a READ
> would have two connections: one to send the CDB and a
> second connection later to return the data and response
> (SCSI status and possibly sense data). For a spinning
> disk there could be milliseconds between those two
> connections; with an SSD less (do they use only one
> connection?).
>
> Due to the full duplex nature of a connection, DATA
> frames associated with a WRITE could overlap with DATA
> frames associated with an READ CDB sent earlier.
>
> In SAS-2, a single READ's maximum data rate is 6 Gbps.
> If a 2-phy wide link is available (along the whole pathway
> (see Figure 129 in spl2r02.pdf)) then two READs, sent one
> after the other or concurrently, could have their DATA
> frames returned concurrently. So the combined maximum
> data rate of the two READs would be 12 Gbps.
>
> Expanders don't change what is stated above. Pathways
> become an interconnection of links. A small latency is
> added to the opening of connections. And there is the
> possibility that no links are available to establish a
> connection (e.g. target to expander has available link(s)
> but all expander to initiator links are occupied).
>
>> Wondering has anyone measured performance under such scenario ?. It
>> would be
>> great to see Expanders terminating SSP frames to over come
>> some of above limitation. Links between HBA and Expander and Expander
>> to Disk
>> can be still Class 1.
>
> Not sure I follow. Expanders come into play when
> connections are being established.
>
If you've single Expander with multiple initiators and disks then there
are no issue unless multiple initiators/targets
trying to access to same resources. There is no QoS (other than Path way
count and Disconnect/Reconnect mode page)
enforced by the expander. Once you start daisy chaining expanders
pathway between expanders will be bottle neck due
to connection oriented nature of SAS protocol.
next prev parent reply other threads:[~2011-08-23 19:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-17 10:42 mpt2sas: /sysfs sas_address entries do not show individual port sas addresses Benjamin ESTRABAUD
2011-08-17 15:35 ` Douglas Gilbert
2011-08-17 15:50 ` Benjamin ESTRABAUD
2011-08-18 17:57 ` Ravi Shankar
2011-08-18 19:52 ` Douglas Gilbert
2011-08-19 12:30 ` Benjamin ESTRABAUD
2011-08-19 14:58 ` Douglas Gilbert
2011-08-19 17:49 ` Benjamin ESTRABAUD
2011-08-19 19:06 ` Ravi Shankar
2011-08-21 1:05 ` Douglas Gilbert
2011-08-23 19:39 ` Ravi Shankar [this message]
2011-08-24 14:12 ` Benjamin ESTRABAUD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E5401F0.7030303@oracle.com \
--to=ravi.v.shankar@oracle.com \
--cc=be@mpstor.com \
--cc=dgilbert@interlog.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox