Professional Documents
Culture Documents
2002
2003
2004
Interoperability
Testing &
Plugfests
Hosts
(Initiators)
Expanders
Technology Comparison
Serial ATA
Serial Attached
SCSI
Fibre Channel AL
Half-duplex
Full-duplex with
Link Aggregation
(Wide ports)
Full Duplex
1.5 Gb/sec
(3.0 Gb/s announced)
2.0 Gb/sec
(4Gb/s announced)
1m internal cable
One device
(fan-out devices
demonstrated)
>128 devices
Expanders
(16k Phys. max)
127 devices
Loop or loop switch
SATA only
Single-port HDDs
Dual-port HDDs
Dual-port HDDs
Availability
Single-host
Point to point
Multi-initiator
Point to point
Multi-initiator
Shared media or point to
point
Driver
Model
Software transparent
with Parallel ATA
Software transparent
with SCSI
Software transparent
with SCSI
Performance
Connectivity
Physical link
Phy
receiver
-Signal
receiver
transmitter
-Signal
Differential signal pair
+Signal
Narrow link
Physical link
Port
phy
phy
Physical link
phy
Port
Wide link
phy
Wide port
Wide port
Physical link
phy
phy
Device
HDD
Port
phy
phy
Port
Exp.
Device
phy
Wide port
phy
Exp.
phy
Wide port
phy
Device
phy
Wide port
phy
phy
Wide port
phy
Host
Expander port
A
Initiator
port
Phy
Phy
B
Host
Phy
Phy
Expander
port
Phy
Phy
Phy
Phy
Expander
Phy
port
Phy
Phy
Expander
Phy
port
Phy
Phy
Subsystem
Target device
Target
Phy
port
B
HDD
Target device
Target
port
Phy
D
HDD
Target device
Phy
Phy
Phy
Phy
Expander
port
F
Target
port
Expander port
Initiator
port
E
Target device
Expander device
Phy
Phy
Phy
Target
port
Subsystem
Phy
F
SAS port
Single physical link
Connection
Fanout
Expander
(routing tables)
Up to 128 Phys
Expanders per
Fanout Expander
Up to 128 Phys
per Fanout Expander
10
A maximum of two
Edge Expanders can be
connected without the
use of a Fanout
Expander
11
Initial implementations
are expected to support
40-80 devices per Edge
Expander Set
Edge
Expander
Edge
Set
Expander
Device
Edge
Expander
Device
Edge
Expander
Device
12
SCSI application
layer
ATA application
layer
Hardware
Digital Logic
High Speed
Analog
Transfer of
Commands
Connection
to a link
Commands
Establishing
and maintaining
connections,
transferring
frames on a link
Encoding, bit
ordering
Physical:
Signaling &
13
connectors
SAS RAID
Controller
SAS RAID
Controller
Wide Ports (typ. 4 wide)
SAS Expanders
SAS Expanders
SAS
Drive
SAS
Drive
SATA
Drive
SATA
Drive
Link
Primitives
Scrambling
Wide and narrow links
Connections
Rate matching
15
Device side
connector
Serial
2.5
power data
Serial ATA
Interface
Connector
Serial
Serial ATA
Power
Connector
power data
Parallel
Host side
connector
3.5
Legacy Power
(vendor specific)
3.5
4-pin power
Note: SATA defines the exact connector location on a drive, AND, the
connector location is identical between 2.5 & 3.5 HDDs
16
SAS Port 1
Power
SAS Port 2
(on backside)
Power
SATA Port
Power
SAS Port 2
SATA/
SAS Port 1
External cabled
environment
SAS device
SAS device
18
1.5 Gbit/sec
3.0 Gbit/sec (targeted)
19
If both sides assert COMSAS, then the link is a SAS link rather than a
SATA link
20
Step 1
Step 3
COMSAS
Detect
Timeout
Time=0
Step 2
Phy A Rx/
X
Phy B Tx
COMINIT
SATA phy responds to COMSAS with COMINIT
COMINIT
Step 4
Time=z
Time=0
COMSAS
Phy A Tx/
Phy B Rx
Phy A Tx/
X
Phy B Rx
Step 1
Time=0
Step 3
Step 2
Step 4
Phy A Rx/ X
Phy B Tx
COMINIT
COMINIT
X : Power-on
Time 0 : SAS phy reset sequence begins
Time z : Post-COMRESET/COMINIT SASSATA reset sequence begins
Time=z
Time=z
COMINIT
COMINIT
COMSAS
Time=z
Time=0
Phy A Rx/
Phy B Tx
COMSAS
If drive
generates
COMSAS
BSAS Drive
Step 5
COMSAS
Detect
Timeout
COMSAS
B
COMINIT
COMSAS
A : SAS A Power-on
B : SAS B Power-on
Time 0: SAS phy reset sequence begins
21
Phy - Encoding
8b10b coding
Dword = 4 characters
22
Link - Primitives
Primitive is a dword starting with a control character
Primitives have no endianness; just first, second, third, and
last bytes
ALIGN starts with K28.5
All other SATA primitives start with K28.3
All SAS primitives start with K28.5
Primitives may start/end with any disparity
23
Link - Scrambling
Scrambling tries to randomize data
XOR data with the contents of a linear feedback shift register at
both sender and receiver
changes constant 000000 and 111111 patterns into pseudorandom patterns of 1s and 0s
Constant patterns occur more often than other patterns,
including the worst case pattern that undoes the scrambling
effect
24
Link - Connections
All I_T communication occurs
within an SSP, SMP or STP
connection
Establishing connection through
an expander involves arbitration
OPEN address frame to make
connection request
Open timeout timer
OPEN_ACCEPT means connection
is active
Expander
Initiator
Targets
(SAS or
SATA)
25
keep waiting
wins
Accepted - OPEN_ACCEPT
Rejected - OPEN_REJECT
Cancel - BREAK
No response - timeout and send
BREAK
Initiator device
A
Initiator
port
Phy
Phy
B
Phy
Phy
Phy
Phy
Phy
Phy
Phy
Expander
port
Phy
Expander
Phy
port
Expander
Phy
port
Phy
Phy
Target device
Target
port
B
Phy
Target device
Target
port
Phy
D
Target device
Phy
Phy
Phy
Phy
Phy
Phy
Expander
port
F
Target
port
Expander port
Initiator
port
E
Target device
Expander device
Expander port
Phy
Phy
Target
port
SAS port
Connection
26
Arbitration Fairness
Least recently used arbitration fairness
Deadlock Prevention
27
Phy
1,5 Gbps
negotiated
physical link
rate
Time
dword 0
Expander
device
added
ALIGN(0)
Phy
dword 1
added
dword 0
ALIGN(1)
dword 2
added
dword 1
ALIGN(2)
dword 2
3,0 Gbps
negotiated
physical link
rate
28
SMP
Used to manage Expanders
Expanders are required to support SMP
Target do not support SMP
Functions
REPORT (GENERAL, SATA CAPABILITIES,
MANUFACTURER INFORMATION, PHY ERROR LOG, PHY
SATA, ROUTE INFORMATION), PHY CONTROL,
CONFIGURE ROUTE INFORMATION, DISCOVER
Time
SOF
SMP
frame
dword 0
SMP
frame
dword 1
...
CRC
EOF
29
SSP (SCSI)
Expander
Full duplex
OPEN address frame to make connection request
SOF, frame dwords, CRC, EOF
Each frame acknowledged with ACK, NAK
Credit with RRDY
Initiator
SSP link layer state machine
1KB (1024) max frame length
Error recovery defined for COMMAND TASK,RESPONSE
frames
Errors in DATA frames results in termination of the
command
SAS
Target
Time
SOF
SSP
frame
dword 0
SSP
frame
dword 1
...
last SSP
frame
dword
CRC
EOF
30
HBA
SATA
SAS
Mgmt.IF
STP
SSP
SMP
Connection remains
fixed until terminated
by a CLOSE
SAS Link
SSP Frames
Exp.
C
R
C
OPEN
H
C
R
C
Exp.
OPEN
ACCEPT
H
C
R
C
SAS Frames
SAS
Drive
C
R
C
STP (ATA)
STP (ATA) connection
Expander
SATA
Target
Time
SATA_SOF
SATA
frame
dword 0
SATA
frame
dword 1
...
SATA
CRC
SATA_EOF
32
SAS
Mgmt.IF
STP
SSP
SMP
SAS Link
Payload FIS
(Regular FIS to be transmitted)
Exp.
C
R
C
OPEN
H
C
R
C
OPEN
ACCEPT
Exp.
Connection remains
fixed until terminated
by a CLOSE
H
C
R
C
Payload FIS
(Regular FIS to be transmitted)
SATA
Drive
5
Drive sees only
standard SATA
1.0 frames
C
R
C
Summary
Serial Attached SCSI meets the needs of mainstream
enterprise class storage systems
Its point to point architecture will provide performance,
configuration capability and scalability beyond what is
available from todays device level interconnects
Provides a choice of devices use
application needs
www.scsita.org
www.maxtor.com
34