IN THIS EDITION The command sequence can be generated by any application. As an example, let’s say that you have a third party application that initializes a drive for a specific use – such as prepping a drive to be used in an A/V application. You want to be able to reproduce the drive setting process without having to keep multiple copies of the A/V application loaded on your development machines. Simply start BAM, select the drive, and begin the capture. Now run your application that preps the drive. Stop the BAM capture, and use the new File->Save to CDB Seq. File choice to save all data pertaining to the capture. Bring this file over to your STB test computer. Within STB go to the Scripts & Sequences->CDB Sequencer choice. Use the Load BAM File button to load in your capture file. The Command History window will now show the CDB sequence that you captured with BAM. Select all, then click the Execute button – voila – the sequence of commands is issued to your device! Perhaps you have an application that is causing errors – use BAM to capture the I/O then send the same CDB’s to a drive, using all the SCSIToolbox features to examine the results of each I/O and gather detailed error information. Issue all the commands as a sequence with one button-click, or send each command individually. The more you think about it, the more uses you will discover for capturing I/O activity and playing it back.
Q. “My disk drive is not reporting any errors, but it seems to be slower than it used to be. Is there a way to measure it’s performance? In a best-case situation the drive would execute the command in the shortest time possible. A “good-but-not-best” case would be where the drive executes the command, but due to error correction methods it takes slightly longer to complete. There may be several levels of “good-but-not-best”, each level taking more time to complete than the level before. Finally there is the worst case, where the drive spends considerable time trying to execute the command but finally failing. To make matters more interesting a disk drive may have all the above, where data retrieval from one area of the drive may complete in the fastest possible time but transfers from another area are as slow as can be without actual failure. In the world of data transfer, time is the enemy. The faster a command executes the better. Read Full Article here with screenshots
|
|