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 Book
Upgrading and Repairing PCs (18th Edition)
Upgrading and Repairing PCs (18th Edition)
By Scott Mueller
Que
Price: $33.75

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 Western Digital Caviar Green WD20EADS 2TB 32MB Cache SATA 3.0Gb/s 3.5" Internal Hard Drive - OEM $
Newegg: $239.99 TheNerds: $257.99
Amazon: $239.99 MWave: $245.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 15TB 1500 SATA 32MB CacheSeagate Barracuda 1.5TB Hard Drive ST31500341AS - 7200RPM 32MB Cache SATA-3G


    TigerDirect USA: $129.99 Newegg: $119.99
    Directron: $125.99 Dell Home: $139.99

    RSSLatest News
    Thermaltake Launches PW880i Water Cooler
    July 3, 2009 - 1:27 PM PST
    NZXT Announces Sentry 2 Touchscreen Fan Controller
    July 2, 2009 - 2:25 PM PST
    Transcend Intros Thermal Sensor-Equipped DDR3 Memory
    July 1, 2009 - 11:40 AM PST
    Cooler Master Launches Universal Laptop Charger
    June 30, 2009 - 5:03 PM PST
    Active Media Products Launches “President Barack Obama” USB Flash Memory
    June 29, 2009 - 6:57 PM PST
    New SSD Drives from Corsair
    June 26, 2009 - 4:33 AM PST
    MSI Announces X-Slim X600 Notebook
    June 25, 2009 - 6:00 PM PST
    Zotac Releases GeForce GTX 275 with 1,792 MB GDDR3
    June 24, 2009 - 7:54 AM PST
    Kingston Launches DDR3-1600 HyperX T1 Memory Kit
    June 23, 2009 - 11:20 AM PST
    Walton Chaintech Announces eSATA/USB Flash Memory Series
    June 22, 2009 - 2:00 AM PST
    .:: More News ::.

    RSSLatest Content
    Power Supplies Re-Tested - Part 3
    Thermaltake Element G Case Review
    Corsair CX400W Power Supply Review
    Seventeam ST-750P-AF Power Supply Review
    Rocketfish 550 W Power Supply Review
    In Win X-Fighter Case Review
    Gigabyte G31M-ES2C Motherboard
    BFG ES-800 Power Supply Review
    And The Training Goes On...
    2 TB Hard Disk Drive Battle: Seagate Barracuda LP vs. Western Digital Caviar Green
    Power Supplies Re-Tested - Part 2
    Power Supplies Re-Tested - Part 1
    Hardware Secrets Power Supply Test Methodology
    What WePC Dreams Are Becoming Reality?
    All Phenom Models

    Our Most Popular Articles
    Maximum CPU Temperature
    988,810 views
    nVidia Chips Comparison Table
    617,315 views
    How to Find Out Your Motherboard Manufacturer and Model
    596,324 views
    AMD ATI Chips Comparison Table
    517,892 views
    Connecting Two PCs Using a USB-USB Cable
    512,940 views
    How To Correctly Apply Thermal Grease
    495,964 views
    ATI Radeon X1300 Pro Review
    467,245 views
    ATI Radeon X1600 XT Review
    458,242 views
    How To Perform a BIOS Upgrade
    343,229 views
    Sempron vs. Athlon XP
    320,168 views

    Latest Threads in Our Forums
    How to Create a Three-Speed Fan Control Without Spending a Dime
    by Olle P
    Thermaltake Launches PW880i Water Cooler
    by Olle P
    Wireless Router
    by Osirus
    PC versus dedicated NAS for network storage?
    by Osirus
    Latency
    by Osirus
    My wireless keeps dropping
    by Osirus
    Seventeam ST-750P-AF Power Supply Review
    by Olle P
    Area 51m 9750 temp assistence
    by tomahawk 1705
    Hardware Secrets Power Supply Test Methodology
    by jolphil
    Fujifilm FinePix A150
    by Hardware Secrets Team
    .:: 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)