Command Queuing
-
Upload
soumyajit-chand -
Category
Documents
-
view
231 -
download
0
Transcript of Command Queuing
-
7/31/2019 Command Queuing
1/19
Submitted by : Soumyajit ChandEC-06-56
0601230304
-
7/31/2019 Command Queuing
2/19
Command Queuing Dissecting an HDD Types of HDD Connection
PATA & SATA Comparison between PATA &SATA Technology used in HDDs TCQ NCQ Conclusion References
-
7/31/2019 Command Queuing
3/19
Command Queuing is a technology that allows to sendmultiple read and write requests to a hard drivesimultaneously.
CQ can improve the overall performance of a hard drive if itis implemented correctly.
-
7/31/2019 Command Queuing
4/19
-
7/31/2019 Command Queuing
5/19
PATA(Parallel Advanced Technologyattachment)
SATA(Sarallel Advanced Technologyattachment)
-
7/31/2019 Command Queuing
6/19
Parallel flow of data Cables are 40 pin wide
Energy consumption 5 volt TCQ technology used
-
7/31/2019 Command Queuing
7/19
Serial flow of data Cables are 7 pined
Energy consumption less of 250 mv NCQ technology used
-
7/31/2019 Command Queuing
8/19
-
7/31/2019 Command Queuing
9/19
Seek Latency
Rotational Latency
-
7/31/2019 Command Queuing
10/19
Tagged Command Queuing
Native Command Queuing
-
7/31/2019 Command Queuing
11/19
TCQ stands for the Tagged Command Queuing technologybuilt into certain PATA HDDs.
Before TCQ ,how the commands will be sent to the HDD and
in what order they will be executed was decided by the OS. Moreover, the OS was able to send only one command at a
time which was a major limitation for faster operation of theHDDs.
The traditional method was inefficient as it consumes moretime.
HDDs that employ TCQ have control over the executionorder of the commands.
-
7/31/2019 Command Queuing
12/19
TCQ provides HDDs total control and freedom over thecommands sent by the OS.
-
7/31/2019 Command Queuing
13/19
DMA not supported
Data transfer slow
Interference of cpu
-
7/31/2019 Command Queuing
14/19
Native Command Queuing achieves high performance andefficiency through efficient command re-ordering. Inaddition, there are three new capabilities that are built into
the Serial ATA protocol to enhance NCQ performanceincluding race-free status return, interrupt aggregation, andFirst Party DMA
-
7/31/2019 Command Queuing
15/19
Race-Free Status Return Mechanism
Interrupt Aggregation
First Party DMA
-
7/31/2019 Command Queuing
16/19
Building a queue of commands in the drive
Transferring data for each command
Returning status for the commands that werecompleted
-
7/31/2019 Command Queuing
17/19
Mans desire for faster data transmission rate is gettingsatisfied as technology improves. While it was only possibleto read/write data from/to an HDD in some MBps only few
years back, now the rate is in GBps. With the advent of betterqueuing techniques like NCQ, and interfacing methods likeSATA, HDDs now operate faster giving the performance ofthe system a boost.
-
7/31/2019 Command Queuing
18/19
http://www.google.com
http://en.wikipedia.org http://www.wdc.com/en/library/sata/2579-001076.pdf
http://www.google.com/http://en.wikipedia.org/http://www.wdc.com/en/library/sata/2579-001076.pdfhttp://www.wdc.com/en/library/sata/2579-001076.pdfhttp://www.wdc.com/en/library/sata/2579-001076.pdfhttp://www.wdc.com/en/library/sata/2579-001076.pdfhttp://en.wikipedia.org/http://www.google.com/ -
7/31/2019 Command Queuing
19/19