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 $14.04
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
Real-time pricing for LaCie 301304U.
LaCie 1 TB USB 2.0 Desktop External Hard Drive Design by Neil Poulton 301304U Electronics LaCie 1 TB USB 2.0 Desktop External Hard Drive Design by Neil Poulton 301304U 301304U 301304U
Amazon: $99.99 Wal-Mart: $104.88
TigerDirect: $104.99 Buy.com: $102.24

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.
    Seagate ST31500341ASSeagate ST31500341AS

    Seagate Barracuda 7200.11 1.5 TB SATA 32 MB Cache Bulk/OEM Hard Drive ST31500341AS Electronics Seagate Barracuda 7200.11 1.5 TB SATA 32 MB Cache Bulk/OEM Hard Drive ST31500341AS ST31500341AS ST31500341AS

    Amazon: $99.99 TigerDirect: $109.99
    Buy.com: $129.90 ZipZoomFly: $109.99

    RSSLatest News
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    March 19, 2010 - 10:17 AM PST
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    March 19, 2010 - 9:59 AM PST
    In Win Intros IRONCLAD Mid-Tower Case
    March 19, 2010 - 9:39 AM PST
    A-Data Intros 8 GB DDR3 Memory Kit
    March 17, 2010 - 3:40 PM PST
    Intel Launches Xeon 5600 Series and Core i7-980X Processor
    March 16, 2010 - 3:46 PM PST
    Intel Launches 40 GB X25-V SSD Drive
    March 15, 2010 - 1:43 PM PST
    Arctic Cooling Intros Cooler for Radeon HD 5970 and HD 5870
    March 12, 2010 - 12:19 PM PST
    OCZ Announces 32 GB Onyx SSD Unit
    March 10, 2010 - 4:08 PM PST
    MSI Launches X-Slim X360 Laptop
    March 9, 2010 - 4:15 PM PST
    Spire Launches TherMax Eclipse II CPU Cooler
    March 8, 2010 - 2:59 PM PST
    .:: More News ::.

    RSSLatest Content
    All Mobile Celeron Models
    Epson WorkForce 610 All-in-One Printer Review
    All Core i5 Models
    Mionix Naos 5000 Mouse Review
    Arctic Cooling E361-WM Earphones Review
    Don’t Let Your IT Projects Become Vaporware
    OCZ Z Series 850 W Power Supply Review
    HIS Radeon HD 5570 Fan Video Card Review
    Core i7-980X CPU Review
    Gelid Tranquillo CPU Cooler Review
    How to Discover Your Power Supply Real Manufacturer
    OCZ Z Series 1000 W Power Supply Review
    Amacrox Free Earth 85PLUS 650 W Power Supply Review
    ECS A890GXM-A Motherboard
    ASUS M4A89GTD PRO/USB3 Motherboard Review

    Our Most Popular Articles
    Maximum CPU Temperature
    1,155,843 views
    How to Find Out Your Motherboard Manufacturer and Model
    818,806 views
    nVidia Chips Comparison Table
    743,724 views
    Connecting Two PCs Using a USB-USB Cable
    673,192 views
    How To Correctly Apply Thermal Grease
    626,027 views
    AMD ATI Chips Comparison Table
    610,440 views
    ATI Radeon X1300 Pro Review
    506,851 views
    ATI Radeon X1600 XT Review
    494,522 views
    How To Perform a BIOS Upgrade
    443,934 views
    Understanding RAM Timings
    382,011 views

    Latest Threads in Our Forums
    Corsair CX400W Power Supply Review
    by anonemus
    Tacens PSU: Any good?
    by anonemus
    Custom PC Help
    by thebigman101
    All Mobile Celeron Models
    by Hardware Secrets Team
    Sparkle Announces 2 GB GeForce GT 220 Video Card
    by Hardware Secrets Team
    PowerColor Launches HD 5770 Eyefinity 5 Video Card
    by Hardware Secrets Team
    In Win Intros IRONCLAD Mid-Tower Case
    by Hardware Secrets Team
    Epson WorkForce 610 All-in-One Printer Review
    by Hardware Secrets Team
    A-Data Intros 8 GB DDR3 Memory Kit
    by Hardware Secrets Team
    Epson WorkForce 610 All-in-One Printer
    by Hardware Secrets Team
    .:: Visit Our Forums ::.


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