Native Command Queuing (NCQ). NCQ is used to improve the hard disc performance by re-ordering the commands send by the computer to the hard disc drive.

Slides:



Advertisements
Similar presentations
A device that reads and writes data on a magnetic disk or tape. For writing, the surface of the disk or tape is moved past the read/write head. By discharging.
Advertisements

Hard Disk Drives Chapter 7.
Improving Networks Worldwide. UNH InterOperability Lab Serial Advanced Technology Attachment (SATA) Use Cases.
Chapter 22 All About SCSI.
IT Systems In and Out EN230-1 Justin Champion C208 –
UNH InterOperability Lab Serial Advanced Technology Attachment (SATA) Use Cases.
Chapter 8 All About SCSI.
What is USB? Prototyping Unit.
SATA (Serial Advanced Technology Attachment)
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 20 – The Hard Drive Interface.
IDE Interface. Objectives In this chapter, you will -Learn about each of the ATA standards (ATA-1 through ATA-6) used in PCs -Identify the ATA connector.
CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Chapter 7 Installing DVDs, CD-ROMs, and IDE hard drives Prepared by: Khurram N. Shamsi.
1 Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives SCSI Drives.
Internal components, Backing Storage, Operating Systems Software
Mr C Johnston ICT Teacher BTEC IT Unit 02 - Lesson 02 Inside Computers #1 – Motherboards, CPUs, PSUs and Cooling.
… when you will open a computer We hope you will not look like …
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
Personal Computer Hard Drive ATA Interface
Mr C Johnston ICT Teacher BTEC IT Unit 02 - Lesson 03 Inside Computers #2 – Drives, Connectors and Internal Memory.
The University of New Hampshire InterOperability Laboratory Introduction To PCIe Express © 2011 University of New Hampshire.
Storage Devices Chapter 7. Floppy Drive Overview The floppy drive subsystem consists of three main parts: ▫the electronic circuits or the controller,
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
Input/Output 2 What is I/O? How we get the CPU to communicate with devices From the computer’s point of view, it’s just 1’s and 0’s Gets interpreted.
Team 4 Project 2 Presentation Flat Panel Displays, Serial ATA, & SCSI Tom, Jen, Curtis, Ashley, Scott.
D ISCOVERING IDE D EVICES. IDE OVERVIEW The hard drive controller is responsible for converting signals made by the system CPU to signals that the hard.
Disk Interfaces Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Computer Architecture CST 250
L/O/G/O Input Output Chapter 4 CS.216 Computer Architecture and Organization.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 22 All About SCSI.
1 COMPUTER ARCHITECTURE (for Erasmus students) Assoc.Prof. Stasys Maciulevičius Computer Dept.
Hard Disk Drive 1 LG: TIS 85 Group 5 Presented by Umar Mohammad Nishant Goel Mitali Chaudhary Neeta Vishnupurikar Nitin Kshrisagar Nitin katode.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Fujitsu Computer Systems Confidential Serial ATA.
Team 4 Project 2 Presentation Flat Panel Displays, Serial ATA, & SCSI Tom, Jen, Curtis, Ashley, Scott.
PC COMPONENTS. System Unit Cases This is the cabinet that holds the main components of a computer. It includes a plastic front panel for aesthetic purpose.
IDE and SATA standards Group: Hoàng Thị Thanh Nhàn Hoàng Thị Lan Chung Đinh Thị Bình.
CSCE 385: Computer Architecture Spring 2014 Dr. Mike Turi I/O.
Chapter Six Hard Drive Dr. Mohammad AlAhmad
I/O SYSTEMS MANAGEMENT Krishna Kumar Ahirwar ( )
AIC/XTORE SAS OVERVIEW
Disks and Formatting Ch 3.
HyperTransport™ Technology I/O Link
Graphics Tablet.
Computer Hard Drive.
SCSI.
Advanced Technology Attachment
Operating Systems (CS 340 D)
I/O Memory Interface Topics:
Mr C Johnston ICT Teacher
Computer hardware f1031 – computer hardware.
Microcomputer Architecture
Hard Drive Technologies
PC Maintenance and Repair
Computer Architecture
Universal Serial Bus Specification 1.0
Direct Attached Storage and Introduction to SCSI
BIC 10503: COMPUTER ARCHITECTURE
CSCI 315 Operating Systems Design
Storage Networks and Storage Devices
Chapter Overview CD-ROM and DVD Drives Advanced Hard Disk Drives
Operating Systems Chapter 5: Input/Output Management
ATA over internet.
Switching Techniques.
I/O BUSES.
Five Key Computer Components
Hard Drive Components 1.5 Install and configure storage devices and use appropriate media YT Video 3:30.
Universal Serial Bus (USB)
NVMe.
Chapter 13: I/O Systems.
Presentation transcript:

Native Command Queuing (NCQ)

NCQ is used to improve the hard disc performance by re-ordering the commands send by the computer to the hard disc drive. Native Command Queuing (NCQ) is an extension of the Serial ATA.

HARD DISC DRIVE

limitation of Parallel ATA limitation of Parallel ATA is the difficulty in increasing the data rate beyond 100 MBytes/s. Parallel ATA uses a single-ended signaling system that is prone to induced noise Parallel Advanced Technology Attachment

SATA (Serial Advanced Technology Attachment) Serial ATA (SATA) is a computer bus technology. Designed for transfer of data to and from a hard disk. Serial ATA is a serial link — a single cable with a minimum of four wires. It creates a point-to-point connection between devices

Serial ATA (SATA) is an interface used to connect hard drives and other peripherals to a PC. It creates a point-to-point connection between devices This interface will be used to connect storage devices such as hard disc drives, DVDs, and CD- R/Ws to the motherboard

NEED FOR SATA The 5-volt signaling requirement and high pin count (40-pin cable connectors) The 18-inch cable length limitation; cable width and cable routing problems Data robustness issues

Serial ATA Topology Application 1 Application 2 Application 3 Serial ' ATA Adapter

BENEFITS OF SATA Serial ATA is faster Reduction in voltage Cabling Improved Data Robustness Backward Compatibility Increased Disc Drive Data Rates Serial ATA Integration Connectivity

LAYERING MODEL The Transport and Link layers control overall operation. Application layer is designed to maintaining software compatibility The Physical layer handles the high speed serial communications between the host and device. Serial ATA Communications Layer Model 4Application 3Transport 2Link 1physical

General Advantages of Queuing Hard Disk Drive (HDD) is the slowest component in the system data transfer chain An improvement in efficiency of moving data to and from the disk can be achieved if circumferential and radial mechanical motions are optimized by reordering the sequence in which these locations are reache d

DESCRIPTION OF NCQ

SEEK LATENCY &ROTATIONAL LATENCY SEEK LATENCY It are caused by the time it takes the read/write head to position and settle over the correct track containing the target LBA. ROTATIONAL LATENCY It is the amount of time it take for starting LBA to rotate under the heard after the head is the right track.

BENEFITS OF NCQ Race-fire status Return mechanism Interrupt aggregation First party DMA

DETAILED DESCRIPTION OF NCQ 3 Main components of NCQ Building a queue of commands in the drive Transferring data for each command Returning status for the commands that were completed

Components of NCQ Command queue building in the drive: A SATA NCQ drive can either queue commands or execute them immediately. The drive knows what protocol to apply to different commands. It assigns a unique tag to commands. Transferring data for each command: NCQ lets the drive set up a direct memory access (DMA) operation for a data transfer without host software intervention. The drive controls the DMA engine, selects transfers to minimize latencies, and optimizes command ordering. Returning status for completed commands: The drive returns a status for completed commands. Command status is race-free, which means a status for any command can be communicated at any time, without a handshake between device and host

ADVANTAGES OF NCQ NCQ is designed to improve performance and reliability as the transactional workload increases When your application sends multiple commands to your drive, your drive can optimize the completion of these commands to reduce mechanical workload and improve performance Devices that support NCQ are 100% backward compatible with non-NCQ supporting systems

Command queue building in the drive: A SATA NCQ drive can either queue commands or execute them immediately. Transferring data for each command Returning status for completed commands

CONCLUSION NCQ has the potential to offer significant performance advantages. The benefits of NCQ are realized when a queue of commands is built up in the drive such that drive can optimally re-order the command to reduce both seek and rotational latency. NCQ delivers an efficient solution through features in the several ATA protocol including race free status return, interrupt aggregation and first party DMA.

THANKS……….