Hardware Secrets
Home | Camera | Case | CE | Cooling | CPU | Input | Memory | Mobile | Motherboard | Networking | Power | Storage | Video | Other
Content
Articles
First Look
Gabriel's Blog
News
Reviews
Tutorials
Main Menu
About Us
Awarded Products
Compare Prices
Datasheets
Dictionary
Download
Drivers
Forums
Links
Manufacturer Finder
Newsletter
On The Web
RSS Feed
Test Your Skills
Twitter
Newsletter
Subscribe today!
Search




Recommended
Upgrading and Repairing PCs (18th Edition)
Upgrading and Repairing PCs (18th Edition), by Scott Mueller (Que), starting at $37.86
Home » Storage
NCQ (Native Command Queuing) and TCQ (Tagged Command Queuing) Explained
Author: Gabriel Torres
Type: Tutorials Last Updated: April 16, 2006
Page: 1 of 2
$ Check REAL-TIME pricing for Seagate Technology Barracuda LP ST32000542AS - hard drive 2 TB SATA-300 and other Drives Computer at CDW.com $.
CDW: $164.99 Newegg: $139.99
TigerDirect: $149.99 CircuitCity: $149.99

Introduction

NCQ (Native Command Queuing) and TCQ (Tagged Command Queuing) are features created to improve the hard disk performance by re-ordering the commands sent by the computer to the hard disk drive. In this tutorial we will explain how both NCQ and TCQ work, the difference between them and some performance data.

NCQ was introduced with Serial ATA II, the same standard that introduced the new maximum transfer rate of 300 MB/s for Serial ATA, being targeted to mainstream hard disk drives. TCQ was introduced with SCSI2 and also adopted by ATA-4 standard (a.k.a. ATA/100), however only a very few ATA/100 hard drives adopted it (while it is very common to be found on SCSI hard drives). TCQ is targeted to server- and enterprise-level hard disk drives.

To use NCQ or TCQ, both the hard disk port and the hard disk drive must support the standard. So, if you have a NCQ hard disk drive port (the Serial ATA II ports on motherboards based on newer chipsets, for instance) but install a hard disk drive without this feature, you won’t see any performance improvement.

Command Queuing features improve the performance of the hard disk drive when the PC sends a series of commands to read sectors distant from each other. The hard disk drive takes these commands and reorders them, in order to read the maximum possible data at just one rotation of the disc.
Consider Figure 1. The PC asked the hard disk drive to read A, B, C and D positions of the disc. Without any Command Queuing feature, the hard disk drive will take two and a half spins of the disc to read all requested data (yellow line). With Command Queuing, the hard disk drive will reorder the commands to B, D, A and C, taking only one disc spin to read all requested data (orange line).

NCQ
click to enlarge
Figure 1: How command queuing works.

NCQ can deal with up to 32 commands at a time, while TCQ can deal with up to 216 commands (TCQ hard disk drives, however, can usually support a queue of “only” 64 commands). TCQ has also two extra features over NCQ: the initiator (the PC, i.e. the SCSI-2 port or the ATA/100 port) can specify commands to be executed in the same order sent to the hard disk drive; and the initiator can send a high-priority command that will be executed before all other commands found in the queue.

Pages (2): [1] 2 »
Print Version | Send to Friend | | Bookmark Article | Comments (0)

Related Content
  • Everything You Need to Know About Serial ATA
  • Everything you need to know about RAID
  • Anatomy of a Hard Disk Drive
  • Samsung SP2504C 250 GB SATA-300 Hard Disk Drive Review
  • Hard Disk Drives Capacity Limits

  • Recommended Deal.
    Barracuda 7200.11 1.5TB 3.5 Hard Drive SATASeagate Barracuda 7200.11 ST31500341AS 1.5TB 7200 RPM 32MB Cache SATA 3.0Gb/s 3.5" Internal Hard Drive -Bare


    Newegg: $97.99 TigerDirect: $119.99
    CompUPlus: $118.99 CDW: $104.99

    RSSLatest News
    Gigabyte Intros Socket AM3 Motherboards with USB 3.0/SATA-600
    November 24, 2009 - 12:39 PM PST
    Imation Announces WUSB External Hard Drive
    November 23, 2009 - 9:18 AM PST
    IN WIN LAN Party in Southern California
    November 20, 2009 - 12:37 PM PST
    Patriot Announces PS-100 SSD Series
    November 19, 2009 - 7:30 AM PST
    Antec Launches TPQ-1200 PSU
    November 18, 2009 - 11:30 AM PST
    AMD/ATI Launches Radeon HD 5970
    November 18, 2009 - 10:18 AM PST
    OCZ Launches Colossus SSD Series
    November 17, 2009 - 1:39 PM PST
    NZXT Unleashes Tempest EVO Mid-Tower Case
    November 17, 2009 - 1:06 PM PST
    nVidia Launches GeForce GT 240
    November 17, 2009 - 10:18 AM PST
    Arctic Cooling Announces Accelero TWIN TURBO PRO VGA Cooler
    November 16, 2009 - 11:46 AM PST
    .:: More News ::.

    RSSLatest Content
    Prolimatech Megahalems Rev. B CPU Cooler Review
    SilverStone Nightjar 400 W Power Supply Review
    Ultra X4 500 W Power Supply Review
    Seagate Barracuda XT 2 TB Hard Disk Drive Review
    Nintendo Wii Fit Plus Review
    AMD ATI Chips Comparison Table
    nVidia Chips Comparison Table
    Gigabyte G41M-ES2L Motherboard
    Netflix on Playstation 3 Review
    CM Storm Sentinel Advance Mouse Review
    Titan Skalli CPU Cooler Review
    Nexus RX-6300 630 W Power Supply Review
    Gigabyte P55-UD6 Motherboard
    Nintendo Wii Review
    SilverStone Grandia GD04 Case Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,079,919 views
    How to Find Out Your Motherboard Manufacturer and Model
    708,836 views
    nVidia Chips Comparison Table
    680,905 views
    Connecting Two PCs Using a USB-USB Cable
    595,336 views
    How To Correctly Apply Thermal Grease
    563,871 views
    AMD ATI Chips Comparison Table
    561,587 views
    ATI Radeon X1300 Pro Review
    488,452 views
    ATI Radeon X1600 XT Review
    477,557 views
    How To Perform a BIOS Upgrade
    395,669 views
    Sempron vs. Athlon XP
    339,002 views

    Latest Threads in Our Forums
    Gigabyte Intros Socket AM3 Motherboards with USB 3.0/SATA-600
    by Hardware Secrets Team
    Prolimatech Megahalems Rev. B CPU Cooler Review
    by Hardware Secrets Team
    SilverStone Nightjar 400 W Power Supply Review
    by Hardware Secrets Team
    Imation Announces WUSB External Hard Drive
    by Hardware Secrets Team
    what mobo do i need? pls help!
    by Merman
    Getting A Hard Copy
    by Olle P
    Am I Making The Right Choice?
    by Olle P
    Upgrade now or wait?
    by Desert Fox
    DVD ripper/mp4 joiner
    by rektech
    Dell Inspiron 6000 Powers but will not boot...
    by Merman
    .:: Visit Our Forums ::.


    © 2004-9, Hardware Secrets, LLC. All rights reserved.
    Advertising | Legal Information | Privacy Policy
    All times are Pacific Standard Time (PST, GMT -08:00)