[go: nahoru, domu]

SATA: Difference between revisions

Content deleted Content added
m →‎eSATA: replaced: "L"-shaped → L-shaped
Reinstate the "data segment" title, even though rev3.1 now uses "Signal Segment"
(30 intermediate revisions by 23 users not shown)
Line 1:
{{Short description|Computer bus interface for storage devices}}
{{For|others|SATA (disambiguation)}}
{{Use American English|date=February 2024}}
 
{{Lead too short|date=January 2022}}
 
Line 56:
[[Advanced Host Controller Interface]] (AHCI) is an open host controller interface published and used by Intel, which has become a [[de facto]] standard. It allows the use of advanced features of SATA such as [[hotplug]] and [[native command queuing]] (NCQ). If AHCI is not enabled by the motherboard and chipset, SATA controllers typically operate in "IDE{{Efn|Integrated Drive Electronics}} emulation" mode, which does not allow access to device features not supported by the ATA (also called IDE) standard.
 
Windows device drivers that are labeled as SATA are often running in IDE emulation mode unless they explicitly state that they are AHCI mode, in [[RAID]] mode, or a mode provided by a proprietary driver and command set that allowed access to SATA's advanced features before AHCI became popular. Modern versions of [[Microsoft Windows]], [[macOS|Mac OS X]], [[FreeBSD]], [[Linux kernel|Linux]] with version 2.6.19 onward,<ref>{{cite web |url=http://linux-ata.org/driver-status.html#ahci|archive-url=https://web.archive.org/web/20070312010549/http://linux-ata.org/driver-status.html#ahci|archive-date=2007-03-12 |title=Serial ATA (SATA) Linux hardware/driver status report |website=linux-ata.org |access-date=2010-01-26}}</ref> as well as [[Solaris (operating system)|Solaris]] and [[OpenSolaris]], include support for AHCI, but earlier operating systems such as [[Windows XP]] do not. Even in those instances, a proprietary driver may have been created for a specific chipset, such as [[Intel]]'s.<ref>{{cite web|url=http://www.intel.com/support/chipsets/imst/sb/cs-020825.htm|title=Intel® Matrix Storage Technology - Unattended Installation Instructions Under Windows* XP|date=2 March 2007|publisher=[[Intel]]|url-status=bot: unknowndead|archive-url=https://web.archive.org/web/20070302101422/http://www.intel.com/support/chipsets/imst/sb/cs-020825.htm|archive-date=2 March 2007}}</ref>
 
==Revisions==
SATA revisions are typically designated with a dash followed by [[Roman numerals]], e.g. "SATA-III",<ref>{{cite web|url=http://kb.sandisk.com/app/answers/detail/a_id/8142/~/difference-between-sata-i,-sata-ii-and-sata-iii| archive-url=https://web.archive.org/web/20211129075859/https://kb.sandisk.com/app/answers/detail/a_id/8142/~/difference-between-sata-i%2C-sata-ii-and-sata-iii|archive-date=2021-11-29| website=www.sandisk.com| access-date=2023-08-17| title=Difference between SATA I, SATA II and SATA III}}</ref> to avoid confusion with the speed, which is always displayed in [[Arabic numerals]], e.g. "SATA 6 [[Gigabit|Gbit]]/[[Second|s]]". The speeds given are the ''[[Data signaling rate|raw interface rate]]'' in Gbit/s including [[line code]] overhead, and the ''[[Goodput|usable data rate]]'' in [[Megabyte|MB]]/s without overhead.
 
==={{Anchor|1.0}}SATA revision 1.0 (1.5&nbsp;Gbit/s, 150&nbsp;MB/s, Serial ATA-150)===
Revision 1.0a<ref name="SATA1a" /> was released on January 7, 2003. First-generation SATA interfaces, now known as SATA 1.5&nbsp;Gbit/s, communicate at a rate of 1.5&nbsp;Gbit/s,{{Efn|{{BDprefix|p=D}}}} and do not support [[Native Command Queuing]] (NCQ). Taking [[8b/10b encoding]] overhead into account, they have an actual [[uncoded transfer rate]] of 1.2&nbsp;Gbit/s (150&nbsp;MB/s). The theoretical burst throughput of SATA 1.5 &nbsp;Gbit/s is similar to that of [[Parallel ATA|PATA]]/133, but newer SATA devices offer enhancements such as NCQ, which improve performance in a multitasking environment.
 
During the initial period after SATA 1.5&nbsp;Gbit/s finalization, adapter and drive manufacturers used a "bridge chip" to convert existing PATA designs for use with the SATA interface. Bridged drives have a SATA connector, may include either or both kinds of power connectors, and, in general, perform identically to their native-SATA equivalents.<ref>{{cite web
Line 74:
|archive-url = https://web.archive.org/web/20150325001151/http://techreport.com/review/6390/western-digital-raptor-wd740gd-sata-hard-drive
|archive-date = 2015-03-25
}}</ref>
}}</ref> However, most bridged drives lack support for some SATA-specific features such as NCQ. Native SATA products quickly took over the bridged products with the introduction of the second generation of SATA drives.{{Citation needed|date=July 2007}}
 
{{As of|2010|4}}, the fastest 10,000&nbsp;rpm SATA [[hard disk drive]]s could transfer data at maximum (not average) rates of up to 157&nbsp;MB/s,<ref name="Tom2010HardDrives">{{Cite news|title=VelociRaptor Returns: 6Gbit/s, 600GB, And 10,000 RPM |website=tomshardware.com |author=Patrick Schmid and Achim Roos |url=http://www.tomshardware.com/reviews/wd6000hlhx-velociraptor-600gb,2600-5.html |date=2010-04-06 |access-date=2010-06-26}}</ref> which is beyond the capabilities of the older PATA/133 specification and also exceeds the capabilities of SATA 1.5&nbsp;Gbit/s.
Line 90:
 
===={{Anchor|2.6}}SATA revision 2.6====
Announced in February 2007, SATA revision 2.6 introduced the following features:<ref name="sata26">{{cite web |title=Serial ATA Revision 2.6 |url=http://read.pudn.com/downloads157/doc/project/697017/SerialATA_Revision_2_6_Gold.pdf |url-status=live |archive-url=https://web.archive.org/web/20141006104140/http://read.pudn.com/downloads157/doc/project/697017/SerialATA_Revision_2_6_Gold.pdf |archive-date=2014-10-06 |publisher=Serial ATA International Organization |page=115}}</ref>
* [[#Slimline connector|Slimline connector]].
* [[#Micro connector|Micro connector (initially for 1.8” HDD)]].
Line 112:
}}</ref> and ratified its physical layer specification on August 18, 2008.<ref>{{cite web|url=http://www.sata-io.org/technology/6Gbdetails.asp|publisher=[[SATA-IO]]|title=SATA Revision 3.0|date=27 May 2009|access-date=4 December 2009|url-status=live|archive-url=https://web.archive.org/web/20130202075739/http://www.sata-io.org/technology/6Gbdetails.asp|archive-date=2 February 2013}}</ref> The full 3.0 standard was released on May 27, 2009.<ref>{{cite press release |url=http://www.sata-io.org/documents/SATA-Revision-3.0-Press-Release-FINAL-052609.pdf |title=SATA-IO Releases SATA Revision 3.0 Specification |publisher=Serial ATA International Organization |date=May 27, 2009 |access-date=3 July 2009 |url-status=live |archive-url=https://web.archive.org/web/20090611174913/http://www.sata-io.org/documents/SATA-Revision-3.0-Press-Release-FINAL-052609.pdf |archive-date=11 June 2009 }}</ref>
 
Third-generation SATA interfaces run with a native transfer rate of 6.0&nbsp;Gbit/s; taking [[8b/10b encoding]] into account, the maximum uncoded transfer rate is 4.8&nbsp;Gbit/s (600&nbsp;MB/s). The theoretical burst throughput of SATA 6.0&nbsp;Gbit/s is double that of SATA revision 2.0. It is backward compatible with SATA 3&nbsp;Gbit/s andearlier SATA 1.5&nbsp;Gbit/simplementations.<ref name="SATA-600 announce"/>
 
The SATA&nbsp;3.0 specification contains the following changes:
Line 155:
|archive-date = 2016-03-04
}}</ref>
* The [[SATA Express]] specification defines an interface that combines both SATA and [[PCI Express]] buses, making it possible for both types of storage devices to coexist. By employing PCI Express, a much higher theoretical throughput of 1969 &nbsp;MB/s is possible.<ref>[http://www.sata-io.org/technology/sataexpress.asp Enabling Higher Speed Storage Applications with SATA Express] {{webarchive|url=https://web.archive.org/web/20121127010238/http://www.sata-io.org/technology/sataexpress.asp |date=2012-11-27 }}, Serial ATA International Organization.</ref><ref>[http://www.bit-tech.net/news/hardware/2013/08/13/sata-32/1 SATA-IO announces 16Gb/s SATA 3.2 specification] {{webarchive|url=https://web.archive.org/web/20140330051453/http://www.bit-tech.net/news/hardware/2013/08/13/sata-32/1 |date=2014-03-30 }}.</ref>
* The [[M.2|SATA M.2]] standard is a small form factor implementation of the SATA Express interface, with the addition of an internal [[USB 3.0]] port; see the [[#M.2|M.2 (NGFF)]] section below for a more detailed summary.<ref>{{cite web |url=https://www.sata-io.org/sata-m2-card |title=SATA M.2 Card |publisher=SATA-IO |access-date=2014-01-16 |url-status=live |archive-url=https://web.archive.org/web/20131003103042/https://www.sata-io.org/sata-m2-card |archive-date=2013-10-03 }}</ref>
* ''microSSD'' introduces a [[ball grid array]] electrical interface for miniaturized, embedded SATA storage.<ref>[http://www.sata-io.org/technology/ussd.asp SATA µSSDμSSD] {{webarchive|url=https://web.archive.org/web/20130508023414/http://www.sata-io.org/technology/ussd.asp |date=2013-05-08 }}, Serial ATA International Organization.</ref>
* ''USM Slim'' reduces thickness of Universal Storage Module (USM) from {{Convert|14.5|mm|in|abbr=off|sp=us}} to {{Convert|9|mm|in|abbr=off|sp=us}}.<ref>{{cite web |url=https://www.sata-io.org/system/files/member-downloads/SATA-IO%20USM%20SLIM%20PR_Final_0.pdf |title=SATA-IO Rolls Out USM Slim Specification for Thinner, Lighter External Storage |publisher=SATA-IO |access-date=2014-02-12 |url-status=live |archive-url=https://web.archive.org/web/20140222150433/https://www.sata-io.org/system/files/member-downloads/SATA-IO%20USM%20SLIM%20PR_Final_0.pdf |archive-date=2014-02-22 }}</ref>
* [[DevSleep]] enables lower power consumption for always-on devices while they are in low-power modes such as [[InstantGo]] (which used to be known as Connected Standby).<ref>{{cite web |url=https://www.sata-io.org/power-management |title=SATA Enables Life Unplugged |publisher=SATA-IO |access-date=2014-01-16 |url-status=live |archive-url=https://web.archive.org/web/20140207100518/https://www.sata-io.org/power-management |archive-date=2014-02-07 }}</ref>
* ''Hybrid Information'' provides higher performance for [[solid-state hybrid drive]]s.<ref>{{cite web
Line 192:
|archive-date = 2016-12-26
}}</ref>
* [[Shingled magnetic recording]] (SMR) host-control support that(device-controlled SMR HDDs are the same as standard CMR HDDs with respect to SATA compatibility). SMR provides a 25 percent or greater increase in hard disk drive capacity by overlapping tracks on the media.
* ''Power Disable'' feature (see PWDIS pin) allows for remote power cycling of SATA drives and a Rebuild Assist function that speeds up the rebuild process to help ease maintenance in the data center.
* Transmitter Emphasis Specification increases interoperability and reliability between host and devices in electrically demanding environments.
Line 224:
 
===={{Anchor|3.5}}SATA revision 3.5====
Released in July 2020, SATA revision 3.5 Introducesintroduces features that enable increased performance benefits and promote greater integration of SATA devices and products with other industry I/O standards:<ref name="sata-3.5-announcement">{{cite web
|url = https://sata-io.org/sites/default/files/documents/SATA%20Spec%20Rev%203%205%20FINAL.pdf
|title = SATA-IO Increases Interoperability Features with Revision 3.5 Specification
Line 237:
* Defined Ordered NCQ Commands: allows the host to specify the processing relationships among queued commands and sets the order in which commands are processed in the queue.
* Command Duration Limit Features: reduces latency by allowing the host to define quality of service categories, giving the host more granularity in controlling command properties. The feature helps align SATA with the "Fast Fail" requirements established by the Open Compute Project (OCP) and specified in the INCITS T13 Technical Committee standard.
 
SATA revision '''3.5a''' was released in March 2021.
 
=={{Anchor|CONNECTORS}}Cables, connectors, and ports==
Line 252 ⟶ 254:
}}</ref>
 
Standard SATA connectors for both data and power have a conductor pitch of {{Convert|1.27|mm|in|abbr=in|sp=us}}. Low insertion force is required to mate a SATA connector. A smaller mini-SATA or mSATA connector is used by smaller devices such as 1.8-inch SATA drives, some DVD and Blu-ray drives, and mini SSDs.<ref>{{cite web |url=http://techreport.com/discussions.x/17624 |title=Get ready for mini-SATA |publisher=The Tech Report |date=2009-09-21 |access-date=2010-01-26 |url-status=live |archive-url=https://web.archive.org/web/20090925002619/http://www.techreport.com/discussions.x/17624 |archive-date=2009-09-25 }}</ref>
 
A special eSATA connector is specified for external devices, and an optionally implemented provision for clips to hold internal connectors firmly in place. SATA drives may be plugged into [[Serial Attached SCSI|SAS]] controllers and communicate on the same physical cable as native SAS disks, but SATA controllers cannot handle SAS disks.
Line 263 ⟶ 265:
 
{| class="wikitable" style="float:right; margin-left:1em; margin-right:0; margin-top:0;"
|+ Standard connector, data segment, host side signal naming
|+ Standard connector, data segment<ref>{{cite web |url=http://pinoutsguide.com/HD/serialATA_pinout.shtml |title=Serial ATA (SATA) pinout diagram |website=pinoutsguide.com |date=2013-12-16 |access-date=2014-04-02 |url-status=live |archive-url=https://web.archive.org/web/20140220013243/http://pinoutsguide.com/HD/serialATA_pinout.shtml |archive-date=2014-02-20 }}</ref>
|-
! colspan="2"| Pin # !! Mating !! Function
Line 303 ⟶ 305:
|}
 
The SATA standard defines a data cable with seven conductors (three grounds and four active data lines in two pairs) and 8&nbsp;mm wide wafer connectors on each end. SATA cables can have lengths up to {{convert|1|m|ft|sp=us}}, and connect one motherboard socket to one hard drive. PATA [[ribbon cable]]s, in comparison, connect one motherboard socket to one or two hard drives, carry either 40 or 80 wires, and are limited to {{convert|45|cm|in|sp=us}} in length by the PATA specification; however, cables up to {{convert|90|cm|in|sp=us}} are readily available. Thus, SATA connectors and cables are easier to fit in closed spaces and reduce obstructions to [[air cooling]]. Some cables even include a locking feature, whereby a small (usually metal) spring holds the plug in the socket.
 
SATA connectors may be straight, right-angled, or left-angled. Angled connectors allow lower-profile connections. Right-angled (also called 90-degree) connectors lead the cable immediately away from the drive, on the circuit-board side. Left-angled (also called 270-degree) connectors lead the cable across the drive towards its top.
Line 317 ⟶ 319:
{{Clear}}
 
===SATA Power connectors{{Anchor|SATA power}}===
 
====Standard power connector (15 pins)====
{| class="wikitable" style="float:right; margin-left:1em; margin-right:0; margin-top:0;"
|+ Standard connector, power segment
Line 401 ⟶ 403:
* Two ground pins and one pin for each supplied voltage support [[hot swapping|hot-plug]] precharging. Ground pins 4 and 12 in a hot-swap cable are the longest, so they make contact first when the connectors are mated. Drive power connector pins 3, 7, and 13 are longer than the others, so they make contact next. The drive uses them to charge its internal bypass capacitors through current-limiting resistances. Finally, the remaining power pins make contact, bypassing the resistances and providing a low-resistance source of each voltage. This two-step mating process avoids glitches to other loads and possible arcing or erosion of the SATA power-connector contacts.
* Pin 11 might be used (often by chassis or backplane hardware independent from SATA host controller and its data connection) for [[staggered spinup]], activity indication, emergency head parking, or other vendor defined functions in various combinations. It is an [[open-collector]] signal, which may be pulled down by the connector or the drive.
** Host signaling: If pulled down at the connector (as it is on most cable-style SATA power connectors), the drive spins up as soon as power is applied. If left floating, the drive waits until it is spoken to. This prevents many drives from spinning up simultaneously, which might draw too much power.
** Drive signaling: The pin is also pulled low by the drive to indicate drive activity. This may be used to give feedback to the user through an [[LED]]. Relevant definitions of pin operation have changed multiple times in published revisions of SATA standard, so the observed behavior may be dependent on device version, host version, firmware and software configuration.<ref>{{cite web |author1=Samsung Electronics |title=Device Activity Signal (DAS) Application Note |url=https://semiconductor.samsung.com/resources/others/Samsung_SSD_845DC_01_Device_Activity_Signal_DAS.pdf |access-date=27 April 2023 |date=26 May 2014}}</ref><ref>{{cite web |author1=SATA-IO |title=Serial ATA Revision 3.2 Technical Proposal #058: DAS/DSS/DHU Changes |url=https://sata-io.org/sites/default/files/TPR058v3_SATA32_DAS%2BDSS%2BDHU_Changes.pdf |access-date=27 April 2023 |date=2 June 2014}}</ref><ref>{{cite web |author1=SATA-IO |title=Serial ATA Revision 3.2 Error Correction #089: DAS/DSS support clarifications |url=https://sata-io.org/sites/default/files/ECN089v6_SATA32_DSS_DAS_SupportClarifications.pdf |access-date=27 April 2023 |date=11 August 2015}}</ref> There is also a specification for transmission of drive temperature and other status values with activity signal pulses routinely used to make LED blink.<ref>{{cite web |author1=SNIA SFF TWG |title=SFF-8609: Management Interface for Drive Conditions |url=https://members.snia.org/document/dl/27389 |access-date=27 April 2023 |date=7 July 2017}}</ref>
 
Line 407 ⟶ 409:
{{Clear}}
 
====Slimline power connector (6 pins)====
{| class="wikitable" style="float:right; margin-left:1em; margin-right:0; margin-top:0;"
|+ Slimline connector, power segment
Line 445 ⟶ 447:
|}
 
<gallery widths="200">
SATA&nbsp;2.6 is the first revision that defined the slimline connector, intended for smaller form-factors such as notebook optical drives. Pin 1 of the slimline power connector, denoting device presence, is shorter than the others to allow hot-swapping. The slimline signal connector is identical and compatible with the standard version, while the power connector is reduced to six pins so it supplies only +5&nbsp;V, and not +12&nbsp;V or +3.3&nbsp;V.<ref name="sata26">{{cite web|url=http://read.pudn.com/downloads157/doc/project/697017/SerialATA_Revision_2_6_Gold.pdf|page=115|title=Serial ATA Revision 2.6|publisher=Serial ATA International Organization|url-status=live|archive-url=https://web.archive.org/web/20141006104140/http://read.pudn.com/downloads157/doc/project/697017/SerialATA_Revision_2_6_Gold.pdf|archive-date=2014-10-06}}</ref><ref>{{cite web |url=https://sata-io.org/system/files/member-downloads/SATA-IOAdvancesTechnologyWithTheSATARevision2.6Spec.pdf |title=Archived copy |access-date=2017-11-10 |url-status=live |archive-url=https://web.archive.org/web/20170829210356/https://www.sata-io.org/system/files/member-downloads/SATA-IOAdvancesTechnologyWithTheSATARevision2.6Spec.pdf |archive-date=2017-08-29 }}</ref>
SATA Slimline Powercable.jpg|A six-pin slimline SATA '''power''' connector
SATA connector Slimline CD-ROM.jpg|The back of a SATA-based slimline optical drive
</gallery>The power connector is reduced to six pins so it supplies only +5&nbsp;V (red wire), and not +12&nbsp;V or +3.3&nbsp;V.<ref name="sata26" /><ref>{{cite web |title=Press release: SATA-IO ADVANCES TECHNOLOGY WITH THE SATA REVISION 2.6 SPEC |url=https://sata-io.org/system/files/member-downloads/SATA-IOAdvancesTechnologyWithTheSATARevision2.6Spec.pdf |url-status=live |archive-url=https://web.archive.org/web/20170829210356/https://www.sata-io.org/system/files/member-downloads/SATA-IOAdvancesTechnologyWithTheSATARevision2.6Spec.pdf |archive-date=2017-08-29 |access-date=2017-11-10 |publisher=SATA}}</ref>
 
Pin 1 of the slimline power connector, denoting device presence, is shorter than the others to allow hot-swapping.
 
Note: The '''data''' connector used is the same as the non-slimline version.
 
Low-cost adapters exist to convert from standard SATA to slimline SATA.
 
SATA&nbsp;2.6 is the first revision that defined the '''slimline''' power connector targeted for smaller form-factors drives, such as laptop optical drives.
<gallery widths="200">
SATA Slimline Powercable.jpg|A six-pin slimline SATA power connector
SATA connector Slimline CD-ROM.jpg|The back of a SATA-based slimline optical drive
</gallery>
 
{{Clear}}
Line 524 ⟶ 530:
===Additional pins{{Anchor|EXTRAPINS}}===
 
Some SATA drives, in particular mechanical ones, come with an extra 4 or more pin interface which isn't uniformly standardisedstandardized but nevertheless serves similar purpose defined by each drive manufacturer. As IDE drives used those extra pins for setting up Master and Slave drives, on SATA drives, those pins are generally used to select different Power modes for use in USB-SATA bridges or enables additional features like Spread Spectrum Clocking, SATA Speed Limit or Factory Mode for Diagnostics and Recovery, by the use of a jumper.<ref>{{cite web|url=https://www.seagate.com/www-content/support-content/samsung/internal-products/spinpoint-m-series/en-us/docs/100772113c.pdf|archive-url=https://web.archive.org/web/20201206224112/https://www.seagate.com/www-content/support-content/samsung/internal-products/spinpoint-m-series/en-us/docs/100772113c.pdf|title=Seagate® Laptop HDD SATA 2.5" Product Manual|date=January 2016|website=seagate.com|archive-date=2020-12-06}}</ref><ref>{{cite web|url=https://www.howtogeek.com/347878/what-do-the-electrical-pins-on-the-back-of-your-hard-drive-do/|title=What Do The Jumper Pins On The Back Of Your Hard Drive Do?|date=5 April 2018|website=howtogeek.com}}</ref>
 
{{Clear}}
Line 535 ⟶ 541:
[[File:Connector esata IMGP6050 wp.jpg|thumb|upright|eSATA ports]]
 
Standardized in 2004, eSATA (''e'' standing for external) provides a variant of SATA meant for external connectivity. It uses a more robust connector, longer shielded cables, and stricter (but backward-compatible) electrical standards. The protocol and logical signaling (link/transport layers and above) are identical to internal SATA. The differences are:
 
* Minimum transmit amplitude increased: Range is 500–600&nbsp;mV instead of 400–600&nbsp;mV.
* Minimum receive amplitude decreased: Range is 240–600&nbsp;mV instead of 325–600&nbsp;mV.
* Maximum cable length increased to {{convert|2|m|ft|sp=us}} from {{convert|1|m|ft|sp=us}}.
* The eSATA cable and connector is similar to the SATA 1.0a cable and connector, with these exceptions:
** The eSATA connector is mechanically different to prevent unshielded internal cables from being used externally. The eSATA connector discards the L-shaped key and changes the position and size of the guides.
Line 557 ⟶ 563:
{{As of|2017|8}} few new computers have dedicated external SATA (eSATA) connectors, with USB3 dominating and USB3 Type C, often with the [[Thunderbolt (interface)|Thunderbolt]] alternate mode, starting to replace the earlier USB connectors. Still sometimes present are single ports supporting both USB3 and eSATA.
 
Desktop computers without a built-in eSATA interface can install an eSATA [[host bus adapter]] (HBA); if the motherboard supports SATA, an externally available eSATA connector can be added. Notebook computers with the now rare [[Cardbus]]<ref name="addonics_cardbus">{{cite web |url=http://www.addonics.com/products/adcb2sa-e.php |title=CardBus SATA adapter |website=addonics.com |access-date=2010-01-26 |url-status=live |archive-url=https://web.archive.org/web/20111104205549/http://www.addonics.com/products/adcb2sa-e.php |archive-date=2011-11-04 }}</ref> or [[ExpressCard]]<ref name="addonics_expresscard">{{cite web |url=http://www.addonics.com/products/adexc34-2e.php |title=ExpressCard SATA adapter |website=addonics.com |access-date=2010-01-26 |url-status=live |archive-url=https://web.archive.org/web/20111129201348/http://www.addonics.com/products/adexc34-2e.php |archive-date=2011-11-29 }}</ref> could add an eSATA HBA. With passive adapters, the maximum cable length is reduced to {{convert|1|m|ft|sp=us}} due to the absence of compliant eSATA signal-levels.
 
===={{Anchor|eSATAp}}eSATAp====
Line 570 ⟶ 576:
 
====Pre-standard implementations====
* Prior to the final eSATA 3&nbsp;Gbit/s specification, a number of products were designed for external connection of SATA drives. Some of these use the internal SATA connector, or even connectors designed for other interface specifications, such as [[FireWire]]. These products are not eSATA compliant. The final eSATA specification features a specific connector designed for rough handling, similar to the regular SATA connector, but with reinforcements in both the male and female sides, inspired by the USB connector. eSATA resists inadvertent unplugging, and can withstand yanking or wiggling, which could break a male SATA connector (the hard-drive or host adapter, usually fitted inside the computer). With an eSATA connector, considerably more force is needed to damage the connector—and if it does break, it is likely to be the female side, on the cable itself,{{Citation needed|date=February 2007}} which is relatively easy to replace.
* Prior to the final eSATA 6&nbsp;Gbit/s specification many add-on cards and some motherboards advertised eSATA 6&nbsp;Gbit/s support because they had 6&nbsp;Gbit/s SATA 3.0 controllers for internal-only solutions. Those implementations are non-standard, and eSATA 6&nbsp;Gbit/s requirements were ratified in the July 18, 2011 SATA 3.1 specification.<ref>{{cite web |url=https://www.sata-io.org/sites/default/files/documents/SATA-Revision-3.0-FAQ-FINAL.pdf |title=Frequently Asked Questions About SATA 6&nbsp;Gbit/s and the SATA Revision 3.0 Specification |date=May–June 2009 |access-date=2011-10-30 |url-status=live |archive-url=https://web.archive.org/web/20140222150446/https://www.sata-io.org/sites/default/files/documents/SATA-Revision-3.0-FAQ-FINAL.pdf |archive-date=2014-02-22 }}</ref> Some products might not be fully eSATA 6&nbsp;Gbit/s compliant.
 
==={{Anchor|mSATA}}Mini-SATA (mSATA)===
{{See also|PCI Express#MSATA|l1=PCI Express § Mini-SATA (mSATA) variant}}
[[File:Intel 525 mSATA SSD.jpg|thumb|upright|An mSATA SSD]]
Mini-SATA (abbreviated as mSATA), which is distinct from the micro connector,<ref name="amazon-msata" /> was announced by the Serial ATA International Organization on September 21, 2009.<ref>{{cite news|title=mSATA Press Release|url=http://www.sata-io.org/documents/mSATA-press%20release-v9.pdf|access-date=11 March 2011|url-status=dead|archive-url=https://web.archive.org/web/20110726065816/http://www.sata-io.org/documents/mSATA-press%20release-v9.pdf|archive-date=26 July 2011}}</ref> Applications include [[netbook]]s, [[laptop]]s and other devices that require a [[solid-state drive]] in a small footprint.
 
The physical dimensions of the mSATA connector are identical to those of the [[Mini-PCIe#PCI Express Mini Card|PCI Express Mini Card]] interface,<ref>{{cite web |title=Intel 310 SSD |url=http://download.intel.com/design/flash/nand/324042.pdf |archive-url=https://web.archive.org/web/20110112092850/http://download.intel.com/design/flash/nand/324042.pdf |publisher=[[Intel]] |access-date=11 March 2011 |archive-date=12 January 2011}}</ref> but the interfaces are electrically incompatible; the data signals (TX±/RX± SATA, PETn0 PETp0 PERn0 PERp0 PCI Express) need a connection to the SATA host controller instead of the [[PCI Express]] host controller.
Line 610 ⟶ 615:
|}
 
Slim 2.5-inch SATA devices, {{Convert|5|mm|in|abbr=in|sp=us}} in height, use the twenty-pin ''SFF-8784'' [[edge connector]] to save space. By combining the data signals and power lines into a slim connector that effectively enables direct connection to the device's [[printed circuit board]] (PCB) without additional space-consuming connectors, SFF-8784 allows further internal layout compaction for portable devices such as [[ultrabook]]s.<ref name="wdc-sff-8784">{{cite web
|url = http://www.wdc.com/wdproducts/library/SpecSheet/ENG/2579-771981.pdf
|title = SFF-8784 Edge Connector Pin Definitions: Information Sheet
Line 637 ⟶ 642:
|archive-url = https://archive.today/20130809202201/https://www.sata-io.org/sata-revision-32
|archive-date = 2013-08-09
}}</ref> is an interface that supports either SATA or [[PCI Express]] storage devices. The host connector is backward compatible with the standard 3.5-inch SATA data connector, allowing up to two legacy SATA devices to connect.<ref>{{cite web
|url = https://www.sata-io.org/sites/default/files/documents/MM_Nereus_Signage_Print_0719.pdf
|title = Connector Mating Matrix
Line 645 ⟶ 650:
|archive-url = https://web.archive.org/web/20131004231134/https://www.sata-io.org/sites/default/files/documents/MM_Nereus_Signage_Print_0719.pdf
|archive-date = 2013-10-04
}}</ref> At the same time, the host connector provides up to two [[PCI Express&nbsp;3.0]] lanes as a pure PCI Express connection to the storage device, allowing bandwidths of up to 2&nbsp;GB/s.<ref name="sata-3.2-announcement" /><ref name="sata-io-sata-express">{{cite web
|url = https://www.sata-io.org/sata-express
|title = Enabling Higher Speed Storage Applications with SATA Express
Line 656 ⟶ 661:
}}</ref>
 
Instead of the otherwise usual approach of doubling the native speed of the SATA interface, PCI Express was selected for achieving data transfer speeds greater than 6&nbsp;Gbit/s. It was concluded that doubling the native SATA speed would take too much time, too many changes would be required to the SATA standard, and would result in a much greater power consumption when compared to the existing PCI Express bus.<ref>{{cite web
|url = https://www.sata-io.org/sites/default/files/documents/SATA%20Express%20-%20CS%202013.pdf
|title = SATA Express: PCIe Client Storage
Line 688 ⟶ 693:
{{Main|M.2}}
 
[[M.2]], formerly known as the [[Next Generation Form Factor]] (NGFF), is a specification for computer [[expansion card]]s and associated connectors. It replaces the mSATA standard, which uses the PCI Express Mini Card physical layout. Having a smaller and more flexible physical specification, together with more advanced features, the M.2 is more suitable for [[Solid-state drive|solid-state]] storage applications in general, especially when used in small devices such as ultrabooks or tablets.<ref name="sata-io-m.2">{{cite web
|url = https://www.sata-io.org/sata-m2-card
|title = SATA M.2 Card
Line 698 ⟶ 703:
}}</ref>
 
The M.2 standard is designed as a revision and improvement to the mSATA standard, so that larger [[printed circuit board]]s (PCBs) can be manufactured. While mSATA took advantage of the existing PCI Express Mini Card form factor and connector, M.2 has been designed to maximize usage of the card space, while minimizing the footprint.<ref name="sata-io-m.2" /><ref>{{cite web
|url = http://wccftech.com/intel-ssd-530-series-arriving-august-2013-feature-ngff-m2-interface/
|title = Intel SSD 530 Series Arriving Next Week – Feature NGFF M.2 Interface
Line 718 ⟶ 723:
}}</ref>
 
Supported host controller interfaces and internally provided ports are a superset to those defined by the SATA Express interface. Essentially, the M.2 standard is a small form factor implementation of the SATA Express interface, with the addition of an internal [[USB]]&nbsp;3.0 port.<ref name="sata-io-m.2" />
 
{{Clear}}
Line 727 ⟶ 732:
 
{{Clear}}
 
==Protocol==
{{unreferenced section|date=January 2016}}
The SATA specification defines three distinct protocol layers: physical, link, and transport.
 
===Physical layer===
The physical layer defines SATA's electrical and physical characteristics (such as cable dimensions and parasitics, driver voltage level and receiver operating range), as well as the physical coding subsystem (bit-level encoding, device detection on the wire, and link initialization).
 
Physical transmission uses differential signaling. The SATA PHY contains a transmit pair and receive pair. When the SATA-link is not in use (example: no device attached), the transmitter allows the transmit pins to float to their common-mode voltage level. When the SATA-link is either active or in the link-initialization phase, the transmitter drives the transmit pins at the specified differential voltage (1.5&nbsp;V in SATA/I).
 
SATA physical coding uses a line encoding system known as [[8b/10b encoding]]. This scheme serves multiple functions required to sustain a differential serial link. First, the stream contains necessary synchronization information that allows the SATA host/drive to extract clocking. The 8b/10b encoded sequence embeds periodic edge transitions to allow the receiver to achieve bit-alignment without the use of a separately transmitted reference clock waveform. The sequence also maintains a neutral ([[DC-balanced]]) bitstream, which lets transmit drivers and receiver inputs be [[AC-coupled]]. Generally, the actual SATA signalling is [[half-duplex]], meaning that it can only read or write data at any one time.
 
Also, SATA uses some of the special characters defined in 8b/10b. In particular, the PHY layer uses the comma (K28.5) character to maintain symbol-alignment. A specific four-symbol sequence, the ALIGN primitive, is used for clock rate-matching between the two devices on the link. Other special symbols communicate flow control information produced and consumed in the higher layers (link and transport).
 
Separate point-to-point AC-coupled [[low-voltage differential signaling]] (LVDS) links are used for physical transmission between host and drive.
 
The PHY layer is responsible for detecting the other SATA/device on a cable, and link initialization. During the link-initialization process, the PHY is responsible for locally generating special out-of-band signals by switching the transmitter between electrical-idle and specific 10b-characters in a defined pattern, negotiating a mutually supported signalling rate (1.5, 3.0, or 6.0&nbsp;Gbit/s), and finally synchronizing to the far-end device's PHY-layer data stream. During this time, no data is sent from the link-layer.
 
Once link-initialization has completed, the link-layer takes over data-transmission, with the PHY providing only the 8b/10b conversion before bit transmission.
 
==={{Anchor|FIS}}Link layer===
After the PHY-layer has established a link, the link layer is responsible for transmission and reception of Frame Information Structures (FISs) over the SATA link. FISs are packets containing control information or payload data. Each packet contains a header (identifying its type), and payload whose contents are dependent on the type. The link layer also manages flow control over the link.
 
===Transport layer===
Layer number three in the serial ATA specification is the transport layer. This layer has the responsibility of acting on the frames and transmitting/receiving the frames in an appropriate sequence. The transport layer handles the assembly and disassembly of FIS structures, which includes, for example, extracting content from register FISs into the task-file and informing the command layer. In an abstract fashion, the transport layer is responsible for creating and encoding FIS structures requested by the command layer, and removing those structures when the frames are received.
 
When [[Direct memory access|DMA]] data is to be transmitted and is received from the higher command layer, the transport layer appends the FIS control header to the payload, and informs the link layer to prepare for transmission. The same procedure is performed when data is received, but in reverse order. The link layer signals to the transport layer that there is incoming data available. Once the data is processed by the link layer, the transport layer inspects the FIS header and removes it before forwarding the data to the command layer.
 
==Topology==
Line 803 ⟶ 781:
SATA 3&nbsp;Gbit/s theoretically offers a maximum bandwidth of 300&nbsp;MB/s per device, which is only slightly lower than the rated speed for SCSI Ultra 320 with a maximum of 320&nbsp;MB/s total for all devices on a bus.<ref>Ultra-640 is specified, but devices do not exist</ref> SCSI drives provide greater sustained throughput than multiple SATA drives connected via a simple (i.e., command-based) [[port multiplier]] because of disconnect-reconnect and aggregating performance.<ref>FIS-based switching is comparable to SCSI's tagged command queueing</ref> In general, SATA devices link compatibly to SAS enclosures and adapters, whereas SCSI devices cannot be directly connected to a SATA bus.
 
SCSI, SAS{{Citation needed|date=January 2024}}, and fibre-channel (FC) drives are more expensive than SATA, so they are used in [[server (computing)|server]]s and [[disk array]]s where the better performance justifies the additional cost. Inexpensive ATA and SATA drives evolved in the [[home computer|home-computer]] market, hence there is a view that they are less reliable. As those two worlds overlapped, the subject of reliability [[Hard disk drive#Integrity and failure|became somewhat controversial]]. Note that, in general, the failure rate of a disk drive is related to the quality of its heads, platters and supporting manufacturing processes, not to its interface.
 
Use of serial ATA in the business market increased from 22% in 2006 to 28% in 2008.<ref name="rev30" />
Line 818 ⟶ 796:
! [[Bit rate#Gross bit rate|Raw data rate]]
! data-sort-type="number" | [[Bit rate#Information rate|Data rate]]
! Max.Maximum cable length
! Power provided
! Devices per channel
Line 853 ⟶ 831:
| [[#1.0|SATA revision 1.0]]
|data-sort-value="1.5" | 1.5&nbsp;Gbit/s
|data-sort-value="150" | 150&nbsp;MB/s<ref>{{cite web|url=httphttps://www.sata-io.org/documentssites/default/files/images/SATA-IO-English-Brochure-May-2009.pdf |title=Designing Serial ATA For Today's Applications and Tomorrow's Storage Needs |website=sata-io.org |access-date=2011-10-25 |url-status=bot: unknownlive |archive-url=https://web.archive.org/web/20111101171659/https://www.sata-io.org/documents/SATA-IO-English-Brochure-May-2009.pdf |archive-date=2011-11-01 }}</ref>
|1
|-
Line 962 ⟶ 940:
|data-sort-value="{{#expr:0.98*1024}}" | 0.98&nbsp;GB/s
| {{plainlist|
*5&nbsp;m&nbsp;(copper)<ref>{{cite web|url=http://download.intel.com/design/network/products/optical/cables/ornl.pdf |archive-url=https://wwwweb.webcitationarchive.org/65LPZ9M5L?url=web/20080315111431/http://download.intel.com/design/network/products/optical/cables/ornl.pdf |archive-date=1015 FebruaryMarch 20122008 |title=Infiniband Based Cable Comparison |access-date=11 February 2008 |last=Minich |first=Makia |date=25 June 2007 |url-status=dead }}</ref><ref>{{Cite news | first=Michael | last=Feldman | title=Optical Cables Light Up InfiniBand | date=17 July 2007 | publisher=Tabor Publications & Events | url=http://archive.hpcwire.com/hpc/1729056.html | work=HPCwire | page=1 | access-date=2008-02-11 | url-status=dead | archive-url=https://web.archive.org/web/20120329103925/http://archive.hpcwire.com/hpc/1729056.html | archive-date=29 March 2012 }}</ref>
*&lt;10&nbsp;km&nbsp;(fiber)
}}