Samsung M9T manual Write Caching

Page 37

disk requests are sequential. It takes microseconds rather than milliseconds to retrieve this cached data. Thus Read Caching can provide substantial time savings during at least half of all disk requests. For example, Read Caching could save most of the disk transaction time by eliminating the seek and rotational latency delays that prominently dominate the typical disk transaction.

Read Caching operates by continuing to fill its cache memory with adjacent data after transferring data requested by the host. Unlike a non-caching controller, the 88i1022 Interface Controller continues a read operation after the requested data has been transferred to the host system. This read operation terminates after a programmed amount of subsequent data has been read into the cache memory.

The cache memory consists of a sync DRAM buffer allocated to hold the data. It can be directly accessed by the host by means of read and write commands. The unit of data stored is the logical block, or a multiple of the 512-byte sector. Therefore, all accesses to cache memory must be in multiples of the sector size. The following commands empty the cache:

IDENTIFY DRIVE (ECh)

FORMAT TRACK (50h)

EXECUTE DRIVE DIAGNOSTIC (90h)

READ LONG (23h)

WRITE VERIFY (3Ch)

INITIALIZE DEVICE PARAMETER (91h)

SLEEP (99h, E6h)

STANDBY IMMEDIATELY (94h, E0h)

READ BUFFER (E4h)

WRITE BUFFER (E8h)

WRITE SAME (E9h)

5.5.2Write Caching

Write caching improves both single and multi-sector write performance by reducing delays introduced by rotational latency. When the drive writes a pattern of multiple sequential data, it stores the data to a cache buffer and immediately sends a COMMAND COMPLETE message to the host before it writes the data to the disk.

The data is then written collectively to the drive thereby minimizing the disk seeking operation. Data is held in cache no longer than the maximum seek time plus rotational latency.

If the data request is random, the data of the previous command is written to the disk before COMMAND COMPLETE is posted for the current command. Read commands work similarly. The previous write is allowed to finish before the read operation starts.

If a defective sector is found during a write, the sector is automatically relocated before the write occurs. This ensures that cached data that already has been reported as written successfully gets written, even if an error should occur.

If the sector is not automatically relocated, the drive drops out of write caching and reports the error as an ID Not Found. If the write command is still active on the AT interface, the error is reported during that command. Otherwise, it is reported on the next command.

Spinpoint M9T Product Manual REV 1.0

32

Image 37
Contents M9T Product Manual Page Table of Contents Iii Read Fpdma Queued 60h Read Log Extended 2Fh Read Long 22h Table of Tables User Definition ScopeManual Organization Reference SataIntroduction DescriptionKey Features Hardware Requirements Standards and RegulationsSpecification Summary SpecificationsLogical Configurations Physical SpecificationsPerformance Specifications Power consumption Power consumptionPower Requirements RatedEnvironmental Specifications Environmental SpecificationsLinear Shock 1/2 sine pulse Rotational ShockReliability Specifications Space Requirements InstallationMounting Unpacking InstructionsOrientation Mounting DimensionsVentilation Cable ConnectorsSata Connectivity Computer mainboard or Serial ATA host adapter Management PowerHDD Power, Sata Interface, and Factory Jumper Connector SATA-Bus Interface ConnectorDC Power Connector and SATA-Bus Interface Cable Connections Drive InstallationBase Casting Assembly Head / Disk Assembly HDADC Spindle Motor Assembly Disk Drive OperationExploded Mechanical View Head Stack Assembly Disk Stack AssemblyVoice Coil Motor and Actuator Latch Assemblies Air Filtration SystemDrive Electronics Digital Signal Process and Interface ControllerDisk Controller DDR Buffer Control Block Host Interface Control BlockDisk Ldpc Control Block Disk Control BlockFrequency Synthesizer Read/Write IC Power ManagementTime Base Generator Automatic Gain ControlAnalog to Digital Converter ADC and FIR Analog Anti-Aliasing Low Pass FilterRead and Write Operations Servo SystemRead Channel Write Channel Firmware FeaturesRead Caching Write Caching Automatic Defect Allocation Defect ManagementSmart 6 APMSata Terminology Sata II InterfaceSpinpoint M9T Product Manual REV Signal Descriptions Physical Interface Signal Summary2 I/O Register Address When read When writtenControl Block Register Descriptions RegistersCommand Block Register Descriptions Device Register Ex F6h Command Register Ex F7hStatus Register Ex F7h Device Activity Signal Sata II Feature SETStaggered Spin-up Disable Control Auto-Activate in DMA Setup FISPhy Event Counters Sata Power Management Software Settings PreservationCommand Table ATA Command DescriptionsCommand Code Parameters Smart Check Power Mode E5h Command DescriptionsDevice Configuration Overlay B1h Download Micro Code 92hDevice Configuration Identify data structure Word Content Diagnostic Codes Execute Device Diagnostics 90hFlush Cache E7h, EAh extended Format Track 50hIdentify Device information Content Description=the fields reported in word 88 are valid EXT =Media Card Pass Through command feature set supported WWN Word Content DescriptionIdle E3h Automatic Standby Timer PeriodsIdle Immediate E1h NOP 00h Initialize Device Parameters 91hRead Buffer E4h Read DMA C8h, 25h extendedRead Log Extended 2Fh Read Multiple Command C4h, 29h extendedRead Long 22h Read Sectors 20h, 24h extended Read Native Max Address F8h, 27h extendedRead Verify Sectors 40h, 41h extended Recalibrate 10h Security Disable Password F6hSecurity Erase Prepare F3h Security Erase Unit F4hSecurity Erase Unit Password Word Content Security Set Password F1hSecurity Set Password data content Security Freeze Lock F5hSecurity Unlock F2h Set Features EFhSeek 7xh 12 Transfer Mode Values 11 Set Features Register Definitions13 Set Max Feature Register Values Set Multiple Mode C6hSet Max Address F9h, 37h extended Sleep E6hSmart disable operations D9h 14 Smart Feature Registers ValuesSmart enable/disable attribute auto-save D2h Smart B0hSmart execute off-line immediate D4h Smart enable operations D8h15 Device Smart Data Structure Smart read data D0hByte 16 Smart Attribute Status Flags Bit Name Description18 Off-line Data Collection Status Values 17 Smart Attribute Data List19 Self-test Execution Status Values Self-test execution status byteSmart return status DAh Smart read log sector D5hSmart write log sector D6h Write Buffer E8h Standby Immediate E0hWrite DMA CAh, 35h extended Write Fpdma Queued 61hWrite Sectors 30h, 34h extended Write Multiple Command C5h, 39h extendedSpinpoint M9T Product Manual REV Maintenance Precautions MaintenanceGeneral Information HDD handling guide -Please handle HDD by side surfaces HDD handling guide Prevent Shocks Service and Repair