e01.org

Native Command Queuing

In computing, Native Command Queuing (NCQ) is an extension of the Serial ATA protocol allowing hard disk drives to internally optimize the order in which received read and write commands are executed. This can reduce the amount of unnecessary drive head movement, resulting in increased performance (and slightly decreased wear of the drive) for workloads where multiple simultaneous read/write requests are outstanding, most often occurring in server-type applications.

In computing, Native Command Queuing (NCQ) is an extension of the Serial ATA protocol allowing hard disk drives to internally optimize the order in which received read and write commands are executed. This can reduce the amount of unnecessary drive head movement, resulting in increased performance (and slightly decreased wear of the drive) for workloads where multiple simultaneous read/write requests are outstanding, most often occurring in server-type applications. Serial ATA and the 7 Deadly Sins of Parallel ATA at Lost Circuits (for TCQ) Hype vs. Reality analysis at Tom's Hardware

References

  1. ^ Gwendal Grignou, NCQ Emulation, FLS'08 talk summary (p. 109) slides Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  2. ^ "Mark Lord: Re: Lower HD transfer rate with NCQ enabled?" . LKML. 2007-04-03 . Retrieved 2014-01-11 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1389394800.0
  3. ^ Marshall Kirk McKusick . "Disks from the Perspective of a File System - ACM Queue" . Queue.acm.org . Retrieved 2014-01-11 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1389394800.0
  4. ^ "Native Command Queuing" (PDF) . Archived from the original (PDF) on 2004-05-17. Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  5. ^ Jonathan Corbet (2010-08-18). "The end of block barriers" . LWN.net . Retrieved 2015-06-27 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1435359600.0
  6. ^ "NVM Express Overview" . nvmexpress.org . Retrieved 2014-11-26 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1416956400.0
  7. ^ "SATA II Native Command Queuing Overview", Intel Whitepaper, April 2003. Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  8. ^ Matthew Dillon (2009-06-04). " "Re: DragonFly-2.3.1.165.g25822 master sys/dev/disk/ahci Makefile TODO ahci.c ahci.h ahci_attach.c ahci_cam.c ahci_dragonfly.c ahci_dragonfly.h atascsi.h" " . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  9. ^ Matthew Dillon (2009). "ahci(4) — Advanced Host Controller Interface for Serial ATA" . BSD Cross Reference . DragonFly BSD . "ahci - Advanced Host Controller Interface for Serial ATA". DragonFly On-Line Manual Pages . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  10. ^ "Seagate's Barracuda 7200.7 NCQ hard drive - The Tech Report - Page 13" . The Tech Report. 17 December 2004 . Retrieved 2014-01-11 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1389394800.0
  11. ^ "Multitasking with Native Command Queuing - The Tech Report - Page 5" . The Tech Report. 3 August 2005 . Retrieved 2014-01-11 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1389394800.0
  12. ^ "hard drive - Poor Linux software RAID 5 performance with NCQ" . Server Fault . Retrieved 2014-01-11 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1389394800.0
  13. ^ Gregory Smith (2010). PostgreSQL 9.0: High Performance . Packt Publishing Ltd. p. 78 . ISBN 978-1-84951-031-8 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  14. ^ Gasior, Geoff (November 23, 2008). "Intel's X25-E Extreme solid-state drive - Now with single-level cell flash memory" . Tech Report . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  15. ^ Dave Landsman (2013-08-09). "AHCI and NVMe as Interfaces for SATA Express Devices – Overview" (PDF) . SATA-IO . Retrieved 2013-10-02 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1380668400.0
  16. ^ "Volume 1 of the final draft of the ATA-7 standard" (PDF) . Archived from the original (PDF) on 2012-02-06 . Retrieved 2007-01-02 . Wikipedia revision 1374924250, retrieved 2026-11-21 · 1167692400.0
  17. ^ PDF white paper on NCQ from Intel and Seagate Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  18. ^ a b Yu, Y. J.; Shin, D. I.; Eom, H.; Yeom, H. Y. (2010). "NCQ vs. I/O scheduler". ACM Transactions on Storage . 6 : 1– 37. doi : 10.1145/1714454.1714456 . S2CID 14414608 . [1] Archived 2014-01-11 at the Wayback Machine Wikipedia revision 1374924250, retrieved 2026-11-21 · 1795215600.0
  19. [https://web.archive.org/web/20101218131508/http://seagate.com/content/pdf/whitepaper/D2c_tech_paper_intc-stx_sata_ncq.pdf PDF white paper on NCQ from Intel and Seagate] . (archived copy) · 1789340400.0
  20. Since the algorithms used inside drives' firmware for NCQ dispatch ordering are generally not publicly known, this introduces another level of uncertainty for hardware/firmware performance. Tests at G . · 1789340400.0
  21. Mark Lord: Re: Lower HD transfer rate with NCQ enabled? . LKML . 2007-04-03. retrieved 2014-01-11 · 1389394800.0
  22. Marshall Kirk McKusick. Disks from the Perspective of a File System - ACM Queue . Que . · 1789340400.0
  23. Gregory Smith. PostgreSQL 9.0: High Performance . Packt Publishing Ltd . 2010. · 1789340400.0
  24. Native Command Queuing . · 1789340400.0
  25. Jonathan Corbet. The end of block barriers . LWN.net . 2010-08-18. retrieved 2015-06-27 · 1435359600.0
  26. Gasior, Geoff. Intel's X25-E Extreme solid-state drive - Now with single-level cell flash memory . Tech Report . N. · 1789340400.0
  27. AHCI and NVMe as Interfaces for S . · 1789340400.0
  28. NVM Express Overview . nvmexpress.org . retrieved 2014-11-26 · 1416956400.0
  29. Volume 1 of the final draft of the ATA-7 standard . · 1789340400.0
  30. [http://download.intel.com/support/chipsets/imsm/sb/sata2_ncq_overview.pdf "SATA II Native Command Queuing Overview", Intel Whitepaper, April 2003. ] . · 1789340400.0
  31. Matthew Dillon. "Re: DragonFly-2.3.1.165.g25822 mas . 2009-06-04. · 1789340400.0
  32. Matthew Dillon. ahci(4) — Advanced Host Controller Interface for Serial ATA . BS . 2009. · 1789340400.0
  33. Seagate's Barracuda 7200.7 NCQ hard drive - The Tech Report - Page 13 . 17 December 2004. · 1789340400.0
  34. Multitasking with Native Command Queuing - The Tech Report - Page 5 . Th . 3 August 2005. · 1789340400.0
  35. NCQ vs. I/O scheduler . · 1789340400.0
  36. hard drive - Poor Linux software RAID 5 performance with NCQ . Server Fault . · 1789340400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Native Command Queuing". 1789414829. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374924250

JSON record · API collection · citation policy