Beruflich Dokumente
Kultur Dokumente
General overview
by Rob Elliott
HP Industry Standard Servers
Server Storage Advanced Technology
elliott@hp.com http://www.hp.com
30 September 2003
Notice
Configuration
Flexibility & Simplicity
SAS SATA
SSP (Serial SCSI physical physical
SATA (Serial ATA)
Protocol) used to links links
used to
communicate with communicate with
SAS drives SATA drives over SAS
SAS
Drive SATA
SATA physical links SAS
Drive SATA
Drive
SAS
Drive SATA
Drive
Drives Drives
May 2002
Serial
Attached
SCSI Serial Attached SCSI Serial Attached SCSI Serial Attached SCSI
introduced Product Test and Product
to T10 Design Integration Availability
Serial
SerialAttached
Attached
SCSI
SCSI
Serial
Serial SAS
SAS1200
1200
Attached
AttachedSCSI
SCSI
Serial Attached
Serial Attached SAS 600
SAS 600
SCSI
SCSI
SAS
SAS300300
Parallel
ParallelSCSI
SCSI
Ultra 320
Ultra 320
2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012
• 3/18/2003 Adaptec
– Adaptec First Host Bus Adapter Provider to Transmit Serial Attached SCSI Protocol Packet
• 3/25/2003 Hitachi/LSI Logic
– Hitachi and LSI Logic to Accelerate Delivery of Serial Attached SCSI
• 4/15/2003 Emulex/Intel
– Emulex and Intel to Develop first Storage Processors for Serial ATA, SAS and Fibre
Channel within a Single Architecture
• 4/21/2003 Adaptec/Fujitsu/Hitachi/Maxtor/Seagate
– Adaptec Teams with Fujitsu, Hitachi, Maxtor and Seagate to Bring First Serial Attached
SCSI Solutions to Market
• 4/29/2003 LSI Logic/Seagate/Tabernus
– Tabernus, LSI Logic and Seagate Technology Work Together for Serial Attached SCSI
• 5/9/2003 LSI Logic
– LSI Logic First To Demonstrate Serial Attached SCSI Initiator-to-Target Functionality with
Full Read/Write Validation
• 6/11/2003 Adaptec/Maxtor/Tabernus
– Tabernus, Adaptec, and Maxtor Work to Ensure Compatibility of Serial Attached SCSI
Solutions, Speed Time to Market
• 6/16/2003 Adaptec/HP/Seagate
– Adaptec, HP and Seagate Technology Team to Debut Compatibility of Serial Attached
SCSI and Serial ATA at CeBIT America
• 6/24/2003 LSI Logic/Maxtor
– LSI Logic and Maxtor Extend Testing of Serial Attached SCSI Prototypes
• 6/26/2003 LSI/Seagate
– LSI Logic Teams With Seagate to Drive Serial Attached SCSI Interoperability
• 6/30/2003 Maxtor
– Maxtor Demonstrates Early Success with Serial Attached SCSI Interface
• to be continued…
• No external
connectors/cables
Signal host plug Signal cable receptacle
Device plug connector
connector connectors
Internal backplane
environment
SATA
SATA host
device
Host receptacle
connector Device plug connector
in comparison…
Parallel
3.5”
Host receptacle
connector
parallel ATA signals 4-pin power
defines internal
vendor-specific
• Cables mainly
support one phy SATA-style SAS internal cable SAS plug connector
(for debug, two host plug
connector
receptacle connector
(1 physical link plus power)
(2 physical links plus power)
• HP proposing 4x SAS
internal connector initiator
SAS target
for SAS-1.1
device or
device
expander
device
SAS Port 1
SAS primary physical link
Power
Power
SATA/
SATA/SAS
Power SAS Port 2 primary
SAS Port 1
SATA Port Power
SATA physical link physical link
SAS secondary physical link
Note: SATA backplane connectors
Note: SATA backplane connectors
Will NOT accept SAS drives
Will NOT accept SAS drives
9/30/2003 SAS general overview page 29
SAS cables and connectors - external
+Signal
+Signal
Positive signal
1500 mV
(single-ended) Common mode
(non-inverted) 1200 mV voltage (the
level is not very
900 mV
important)
0V
1 0 1 0 1 1
Negative signal
1500 mV
(single-ended) Common mode
(inverted) 1200 mV
voltage
900 mV
0V
1 0 1 0 1 1
Differential signal 600 mV Differential
positive - negative signal is
1500-900 = 600 mV 0V immune to
or noise common
900-1500 = -600 mV to both single-
-600 mV ended signals
1 0 1 0 1 1
9/30/2003 SAS general overview page 34
Physical link rate
• 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
phy phy
• 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
• 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 general overview page 41
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 general overview page 42
SAS devices in multiple SAS domains
Edge Edge
expander Edge expander
device expander device
set device set Maximum
Any of the
of 128
physical links Edge Edge
Edge expander device SAS
could be wide expander expander addresses
device device per
edge
expander
device
set
• 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
Edge Edge
expander Edge expander
device expander device
set device set
1-wide link 2-wide link
Edge Edge
Edge expander device
expander expander
The green device device
request is
blocked
until the red
connection
finishes
End device End device End device End device
communicate End
device
Expander device Expander device End
device
Gbps initiators
and 1.5 Gbps
SATA drives (inserts
ALIGNs)
(removes
ALIGNs)
(inserts
ALIGNs)
(removes
ALIGNs)
primitives to slow Sample dwords on physical links (from left to right) during a 1,5 Gbps connection:
connection
Physical
dword ALIGN dword ALIGN dword 0 ALIGN dword 1 ALIGN
link C
– DC balance
– Special characters 255
– Error detection
• Mapping done with two simple logic blocks
– 5b6b and 3b4b
– Full table in SAS and SATA
• Invented by IBM in 1983
• Used by Fibre Channel, Gigabit Ethernet,
1394b, and many other standards 1023
• Slow-to-fast
• Both phys run
same set of
speed
negotiation
windows
• 1.5, then 3.0,
then 6.0 (if
needed), etc.
until they find:
– a supported
rate; then
– a (faster) non-
supported rate
• Last window
returns to the
highest
supported rate
detected
9/30/2003 SAS general overview page 61
Link layer
• Exchange CLOSE
primitive sequences
end-to-end to close a
connection
• SSP and SMP require
traffic be stopped first
– CLOSE ignored by
SAS phy state
machines if not at
the correct time
• STP connection
should be idle before
closing
– Not enforced by SL
state machine
• Expanders always
honor CLOSE
regardless of
connection state
9/30/2003 SAS general overview page 67
SSP overview
Wait for …
ACK or ACK or NAK
NAK
idle dwords
…
SOF
Send Interlocked frame
frame EOF
idle dwords
…
Wait for
ACK or
NAK ACK or NAK
CLOSE
Idle Idle
SATA_SYNC SATA_SYNC
Request SATA_X_RDY
permission
SATA_R_RDY
Grant
SATA_SOF permission
Send
Data dwords
frame
SATA_EOF Receipt in
SATA_R_IP
SATA_WTRM progress
Wait for
termination
SATA_R_OK or SATA_R_ERR
Acknowledge
Idle SATA_SYNC frame receipt
SATA_SYNC Idle
Information
Command Unit field Direction Description
size
COMMAND 28 to 284 I to T Send a command
TASK 28 I to T Send a task management function
XFER_RDY 12 T to I Request write data
I to T or Write data (I to T) or read data (T
DATA 1 to 1024
T to I to I)
Send SCSI status (for commands) or
24 to
RESPONSE T to I task management response (for task
1024
management functions)
9/30/2003 SAS general overview page 77
SSP task management frame sequence
time time