SAS v SATA interface performance
Thanks for the comments.
It was really protocol/bus behaviour differences (if any), between SATA drives in a SAS environment, vs SAS drives, that I am looking at.
I do know that SATA drives only support a subset of the SCSI commands and wondered if the SAS drives were more "clever" in a multi drive scenario.
The comment I saw, which I'm trying to verify, mentioned the SATA drives "held the bus" or similar longer than SAS ones.
Regards,
Richard
Quoted 2 lines
The comment I saw, which I'm trying to verify, mentioned the SATA drives "held the bus" or similar longer than SAS ones.
SATA normally uses one link per device so the device side isn't contended unless you descend into the murky world of port multipliers.
On the host side an AHCI controller offloads all the tedious operations to the controller so you don't get long slow PCI side accesses slowing up the CPU either.
Quoted 4 lines · Alan Cox
Quoted 1 line
The comment I saw, which I'm trying to verify, mentioned the SATA drives "held the bus" or similar longer than SAS ones.
SATA normally uses one link per device so the device side isn't contended unless you descend into the murky world of port multipliers.
..
And that's where NCQ comes into it's own, allowing full bus release so that other drives on the same port multiplier can burst as needed.
I've only had a port multiplier here for a few days, and used only a pair of *notebook* SATA drives on it thus far. Both drives can stream at full rate without any slowdown -- that's 55MByte/sec from each drive, at the same time, for sequential reading, 100MByte/sec total. Notebook drives.
Cheers
Quoted 10 lines · Mark Lord
Quoted 5 lines · Alan Cox
Quoted 2 lines
The comment I saw, which I'm trying to verify, mentioned the SATA drives "held the bus" or similar longer than SAS ones.
SATA normally uses one link per device so the device side isn't contended unless you descend into the murky world of port multipliers.
..
And that's where NCQ comes into it's own, allowing full bus release so that other drives on the same port multiplier can burst as needed.
Non-NCQ R/W does full bus release too. It's basically packet based so nothing really holds the bus. Even the ATAPI commands don't hold the bus.
Quoted 4 lines
I've only had a port multiplier here for a few days, and used only a pair of *notebook* SATA drives on it thus far. Both drives can stream at full rate without any slowdown -- that's 55MByte/sec from each drive, at the same time, for sequential reading, 100MByte/sec total. Notebook drives.
With FIS-based switching, PMP won't impose performance limits on most configurations until it fills up the connection bandwidth. Catches are...
1. All currently supported controllers have only upto 32 command slots per port, which means all devices sharing a PMP will compete for command slots. This doesn't really matter unless the PMP is very large (say > 16 ports).
2. The only FIS-based switching controller we currently support is sata_sil24. It generally works impressively well. Unfortunately, it has some limitations - it for some reason can't fully fill the bandwidth. It seems the silicon itself is limited. This problem is reported on different operating systems too. I don't remember the exact number but it's somewhere between 100 and 150MB/s.
3. sil24/32 family controllers have another quirk which basically forces command-switching mode for ATAPI devices, so if you connect an ATAPI device to PMP, the ATAPI device virtually holds the bus while command is in progress.
I have untested code for ahci 1.2 FIS-based switching PMP support and the next gen JMB and ICHs are slated to support FIS-based switching. I just need more hardware samples and time which seems so scarce these days. :-P
Mark, how is marvell PMP support going?
Thanks.
Signature · 1 line
tejun
Quoted 2 lines · Tejun Heo
..
Mark, how is marvell PMP support going?
..
It will be good once it happens -- the newer 6042/7042 chips support full FIS-based switching, as well as command-based switching, with large queues and all of the trimmings.
Currently stuck in legalese, though.
Cheers