Beruflich Dokumente
Kultur Dokumente
Architecture
by Rob Elliott
HP Industry Standard Servers
Server Storage Advanced Technology
elliott@hp.com http://www.hp.com
30 September 2003
Notice
Management
SCSI application layer ATA application layer Clause 10
application layer
SSP transport layer STP transport layer SMP transport layer Clause 9
Common SAS
port
port phy
classes of objects
1 SAS domain
1 1
• Diamonds mean 1
Service delivery
“contains”
subsystem
of”
1..* Expander device
SAS address
1
SCSI device
1 1 1
• Examples
SCSI device name
1..* 1..*
1 SAS device
+Signal
+Signal
• Each direction runs 1.5 Gbps or 3.0 Gbps (150 MB/sec or 300
MB/sec)
– Both directions use the same physical link rate
• Dual simplex (full duplex) operation – 600 MB/sec total bandwidth
• Example: peak bandwidth needs of an HBA with 8 phys
– 2400 MB/sec half duplex, 4800 MB/sec full duplex
Wide link
• Each SAS port has a
SAS address B
phy Physical link phy
SAS address SAS address Y
addresses attached to
SAS address Y
• An “expander device” is
not a “SAS device”
Device
phy phy
phy phy
• Each expander
device has a SAS
address STP/SATA
Expander port
• An ATA
domain SSP
SSP STP SMP
ATA
contains a target
SSP
SSP STP SMP
device
SATA host port
initiator
target target target
port
and a SAS port(s)
port(s) port(s) port(s)ATA domain
SATA domain SAS domain (informative)
device Note: When expander devices are present, SAS target ports may be
located in SAS devices contained in expander devices.
9/30/2003 SAS architecture page 16
SAS domain bridged to ATA domains
SSP
SSP STP SMP
initiator
initiator initiator initiator
port(s)
port(s) port(s) port(s)
STP SMP
SSP
Service delivery
subsystem STP STP/SATA SATA ATA device
with expander bridge(s) port
devices
ATA domain
(informative)
SSP STP SMP
SSP
SSP STP SMP
initiator
target target target
port(s)
port(s) port(s) port(s)
SAS domain
9/30/2003 SAS architecture page 17
SAS devices in multiple SAS domains
SAS device
(internal)
Expander port Expander port (optional)
(table routing attribute) (direct routing attribute) SAS port
Edge
Edge
expander Expander port
expander
device (subtractive routing attribute)
device
(internal
Expander port expander ports/
(direct routing attribute) SAS ports may
also be present)
SAS ports
Edge Edge
expander Edge expander
device expander device
set device set Maximum
of 128
Edge Edge SAS
Edge expander device
expander expander addresses
device device per
edge
expander
device
set
Edge Edge
expander Edge expander Edge
device expander device expander
set device set device
End device End device End device End device End device
B SAS
Expander phy Phy target
C port
Phy Expander phy
Expander port
Notes: The expander device has a unique SAS address. Each SAS initiator port and SAS target port
has a unique SAS address. Connections E and F represent a wide SAS initiator port with two
simultaneous connections to a wide SAS target port.
• Each SAS port and expander device has a worldwide unique 64-
bit SAS address
• Same namespace as the Fibre Channel Port_Name
Byte\Bit 7 6 5 4 3 2 1 0
0 NAA (5h)
1
IEEE Company ID (24 bits)
2
5
Vendor-Specific Identifier (40 bits)
6
contains application
layer state machines
SAS port
SSP transport layer STP transport layer SMP transport layer
• Expander phy object contains link layer and phy layer state machines
• Expander port object contains expander phys
• Expander function is architecturally at a lower level than the link layer
Expander device
• SP transmits dwords
during phy reset
sequence
• SL_IR transmits dwords
after phy reset sequence
• SL transmits dwords after
identification sequence,
outside connections
• SSP, STP, or SMP link
layer transmits dwords
during connections Port layer
• SP transmits dwords
SL_IR Clock skew SP (phy layer)
(identification and management state machine
hard reset) state
XL transmitter
Expander function
Expander device
router (ECR)
– Expander connection
manager (ECM)
External expander port - SATA host port
External SATA phy
Expander Expander
STP/SATA transport
Broadcast primitive
Narrow ports connection connection
–
layer
router manager
Expander link layer (XL (ECR) (ECM)
processor (BPP)
and SL_IR)
Phy layer
(SP and DWS)
Broadcast primitive
processor (BPP)
XL state machine in
Source Expander function Destination
• expander
phy
expander
phy
Requests
each expander phy
Request Path
interfaces to the
Responses
Arbitrating Phy Status
Confirmations
expander function
ECM
Arb Won
Arb Lost
• Requests forwarded to
Arb Reject
peer phys as
indications Transmit Open
ECR
Transmit Open
Indications
Requests
• Responses forwarded
Transmit Close Transmit Close
Transmit Break Transmit Break
to peer phys as
Transmit Dword Transmit Dword
Arb Status Arb Status
confirmations
Confirmations
Responses
Open Reject Open Reject
Indications
Requests
• Direct = route requests to the attached SAS port through this phy
• Table = route requests that match in routing table through this phy
• Subtractive = route unresolved requests through this phy
Phy identifier
0
1
2 Expander route entry
... Includes:
! Routed SAS address
M ! Enable/disable bit
domain one
level at a time 1
Expander
device
• When
expander
devices with 2 Expander
device
3 End
device
4 Expander
device
5 Expander
device
configurable
routing tables 6 Expander 7 Expander 8 End 9 Expander 10 End
15 End 16 End
device device
Assume that the lowest phy identifier in each expander device is on the top
right, and the remaining phys are numbered counter-clockwise
9/30/2003 SAS architecture page 40
Expander route table example
No matter
Edge
•
Edge Entries for N
expander expander Entries for U
device ...
which initiator
device
set R Entries for V
Expander
Level 0 (portion) route table Entries for W
entries in the
Level 1 counter-clockwise
(from order) Entries for U
Phy B
device R) ...
same locations
Entries for W
...
Entries for X
Level 4
(from
device R)