Testing data transfer time of disk drives in consumer electronics devices
First Claim
1. A method for testing performance of a disk drive in a digital home communications terminal, the method comprising:
- measuring at least one time for data transfer of a group of sectors on the disk drive, wherein measuring the at least one time for the data transfer comprises;
reading from the group of sectors to a first buffer,seeking to the group of sectors,staring a timer,writing to the group of sectors from the first buffer,enabling a write cache on the disk drive before writing to the group of sectors from the first buffer,flushing the write cache when writing to the group sectors from the first buffer is completed, andstopping the timer when flushing the write cache is completed;
providing the at least one time to a server over a communications channel;
providing a first error code to the server if writing to the group of sectors from the first buffer encounters a first drive error; and
providing a second error code to the server if reading from the group of sectors to the first buffer encounters a second drive error.
4 Assignments
0 Petitions
Accused Products
Abstract
Systems, apparatus and methods are disclosed for testing performance of a disk drive in a digital home communications terminal. One such method comprises: downloading a disk drive performance test application from a server over a communication channel; executing the test application to measure at least one time for data transfer of a group of sectors on the disk drive; and reporting the time to the server over the communication channel. A digital video recorder comprises: a disk drive; a communication interface; memory storing executable instructions thereon; and a processor configured by the executable instructions. The processor is configured to download a disk drive performance test application from a server over the communication interface; execute the test application to measure at least one time for data transfer of a group of sectors on the disk drive; and report the time to the server over the communication interface.
-
Citations
11 Claims
-
1. A method for testing performance of a disk drive in a digital home communications terminal, the method comprising:
-
measuring at least one time for data transfer of a group of sectors on the disk drive, wherein measuring the at least one time for the data transfer comprises; reading from the group of sectors to a first buffer, seeking to the group of sectors, staring a timer, writing to the group of sectors from the first buffer, enabling a write cache on the disk drive before writing to the group of sectors from the first buffer, flushing the write cache when writing to the group sectors from the first buffer is completed, and stopping the timer when flushing the write cache is completed; providing the at least one time to a server over a communications channel; providing a first error code to the server if writing to the group of sectors from the first buffer encounters a first drive error; and providing a second error code to the server if reading from the group of sectors to the first buffer encounters a second drive error. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium which stores a set of instructions which when executed performs a method for testing performance of a disk drive in a digital home communications terminal, the method executed by the set of instructions comprising:
-
measuring at least one time for data transfer of a group of sectors on the disk drive, wherein measuring the at least one time for the data transfer of the group of sectors comprises; reading from the group of sectors to a first buffer, seeking to the group of sectors, staring a timer, writing to the group of sectors from the first buffer, enabling a write cache on the disk drive before writing to the group of sectors from the first buffer, flushing the write cache when writing to the group sectors from the first buffer is completed, and stopping the timer when flushing the write cache is completed; providing the at least one time to a server over a communications channel; providing a first error code to the server if writing to the group of sectors from the first buffer encounters a first drive error; and providing a second error code to the server if reading from the group of sectors to the first buffer encounters a second drive error. - View Dependent Claims (10, 11)
-
Specification