TA的每日心情 | 开心 2019-11-19 15:19 |
---|
签到天数: 1 天 [LV.1]初来乍到
|
4 x0 O- X. T9 ? q, _! [& ^, x4 ~% m5 @
$ q; Q. }( H+ g- A
AHCI4 n0 \5 S2 i, R% m m. k+ x
" \# Y+ e# e% s2 M. F) `Inherent in the problem of designing AHCI, in fact many interfaces, is that it serves asthe logical element that tie two physical buses together, the system interconnect,PCI/PCIe, and the storage subsystem interconnect, SATA.; Z* ?/ R* }/ r% e' L2 r7 |9 E
" H) ?; }$ k( E* M, E
7 G9 J; G) x% ?% w- |& x, ? % a0 g2 F9 `6 T6 F" R
Adapters built on such interfaces typically provide logical translation services betweenthe two sides of the adapter. The electrical signaling and the physical transports andassociated protocols on either side of the adapter are different, PCI/PCIe on the hostside and SATA on the storage device side. The resulting logical transport and protocolimplemented by the adaptor and used to bridge between the two physical interconnectsis then shaped by the underlying physical and link layer elements of the buses which itconnects.' }& ^" }' A. P2 Q" P
9 X, A, v% c& H1 R
At the time AHCI was conceived and designed the only devices connected via SATAwere IO devices such as hard drives, optical drives, and other IO peripheral devices thatwere slow as compared to the processor-memory complex of the platform. Given thisperformance disparity an aggregation point in the system topology was needed, servingas a protocol/transport translator and as an elasticity buffer and alleviating theprocessor from managing this disparity. An HBA using AHCI as the host side interfaceand SATA as the device side interface serves this purpose quite well. Thisaggregation/translation point serves to smooth the bandwidth and latency disparitybetween the SATA storage interconnect and the system interconnect, in this case PCIor PCIe.8 s: f9 D+ _- R+ J
- L1 I$ ]' Q, g. S/ r3 Z) [2 F7 k0 C; o8 l5 g* |" Y, x7 f ]
In providing such functionality latency is introduced into device access. For the originallyintended environment of AHCI this is not an issue as the additional latency of theaggregation point, the HBA, is a miniscule component of the overall device access pathlatency.# y" f6 S3 z: T4 W4 F) C
+ R$ c/ F$ t. c7 b+ t, u
; y, P: z( Q0 B( D$ c; i/ ^AHCI serves its intended architecture and design goals well. The host is able to keepattached SATA storage devices busy while minimizing the effort needed to manage thedevices and take full advantage of additional features that they may offer.
6 ^% v+ v# y5 _! ~ | ! H1 } g+ ?0 N" [4 `, O- v+ R: o U
|
|