Storage Devices
  Home arrow Storage Devices arrow Page 3 - DiamondMax 10: What does 16 MB Cache a...
Dev Hardware Forums 
Computer Cases  
Computer Processors  
Computer Systems  
Digital Cameras  
Flat Panels  
Hardware Guides  
Hardware News  
Input Devices  
Memory  
Mobile Devices  
Motherboards  
Networking Hardware  
Opinions  
PC Cooling  
PC Gaming  
PC Speakers  
Peripherals  
Power Supply Units  
Software  
Sound Cards  
Storage Devices  
Tech Interviews  
User Experiences  
Video Cards  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
STORAGE DEVICES

DiamondMax 10: What does 16 MB Cache and the New Native Command Queuing do?
By: Robert Jacobs
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 54
    2004-10-05

    Table of Contents:
  • DiamondMax 10: What does 16 MB Cache and the New Native Command Queuing do?
  • Maxtor DiamondMax 10 SATA Hard Disk Specifications
  • Native Command Queuing
  • Test Setup Hardware
  • Test Setup and Sandra and Sysmark Benchmarks
  • Maxtor, Raptor and HD Tach 3 Benchmarks
  • Disk Bench 2.3 and Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    DiamondMax 10: What does 16 MB Cache and the New Native Command Queuing do? - Native Command Queuing


    (Page 3 of 7 )

    A simple way to explain how a hark disk works is: hard disks receive read/write requests from the chipsets I/O controller which are then buffered on the hard disks memory controller. The buffered requests are then carried out by the hard disk's on board controller. The hard disk's heads then move to the correct part of the disk (platter) to perform the read or write.

    The problem with this method is that the hard disk performs the requests in the order that it gets them. If the first request is at the start of the disk, the second at the end of the disk and the third at the start of the disk, the hard disk would have to move all the way across to the end of the disk and back again. This process would naturally take longer than having to read three files at the start of the disk. This is why hard disks manufacturers recommend you defrag your hard drive frequently.

    Native Command Queuing allows the hard disk to dynamically change the order in which the read/write requests are done. For the example above the hard disk would reorder the requests so that the first and third requests are done before second. This would save the whole disk head moving across the platter and back again, theoretically halving the time taken to perform the task.

    Another way to present NCQ is to compare it to the "Travelling Salesman Problem". NCQ is very similar to the TSP. Essentially, the TSP is a logistics problem requiring a travelling salesman who has to visit a variety of different locations to optimize the route he takes to cover all customers with the minimum amount of travelling. It is discussed a lot in logistics courses and there are vast corporate resources devoted to managing internal versions of this problem - whether relating to delivery trucks' routes or field service engineers' work plans - as companies can save a lot of money by working out the optimum route their vehicles travel. The TSP is a particularly good example to explain NCQ as it bears this similarity to it: the larger the number of locations that need to be covered, and the further away they are, the more there is to be gained from optimising the route.

    Here are two examples of a hard disk travelling to read data at four different physical locations on a platter. The red line shows the route the reading head takes. It is obvious from the images that the second one uses NCQ to minimize the distance the head travels.

    Maxtor DiamondMax 10 SATA Hard Disk Review

    Typically, the time taken to access a file is the normal seek time the hard disk displays added to the rotational latency (time taken for all the spinning). Reducing the latency sufficiently can halve the access time.

    For general hard disk usage such as application and game loading NCQ doesn't add much benefit. When an application or game is installed on the hard disk all its contents are located around the same area. So, when an application or game is loaded the amount of hard disk head movement is naturally low. Further, the fact that most applications and games load sequentially causes NCQ to not make a big difference in disk access times.

    Running two different applications simultaneously is where NCQ should start to shine. Two applications at two different locations on a hard disk fighting for access will benefit from NCQ. With the increase of multi threaded applications and the use of Hyper Threading technology, NCQ will gain in popularity.

    A technical paper on NCQ (PDF, 670 KB)

    The bad news is that there are a very few motherboards that support NCQ.

    More Storage Devices Articles
    More By Robert Jacobs


       · Just another idiot to compare different capacity and areal density drives!
       · why the raptors support NCQ on all the silicon image controllers just not the recent...
       · not really, all that matters is results - not many people care whats inside the box,...
       · We, at Poweroid.com, paid for all the hard drives used in this test. And all the...
     

    Recommended by Dev Hardware

    STORAGE DEVICES ARTICLES

    - Throwing a Glance at Solid State Drives
    - Soyo SlimEX Platinum Review
    - Setting Up Your USB Storage Device as a Port...
    - Network Storage for the Home with the D-Link...
    - Netgear SC101 Network Attached Storage for t...
    - The Need for Speed for External Storage
    - Icy Dock Modiflash 722
    - Icy Dock MB122 Internal Removable Drive
    - Flash Drives are Taking Over
    - Lightscribe Disc Labeling System
    - LiteOn Dual-Layer DVD RW SOHW-1693S Review
    - Hard Drive Modding: How to Void Your Warrant...
    - What Next-Gen DVD Will Survive the Next Thre...
    - Sony 128MB USB Flash Drive with Fingerprint ...
    - AOpen DUW1608/ARR 16x DVD+/- R/RW Review






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway