Showing posts with label disk. Show all posts
Showing posts with label disk. Show all posts

March 10, 2011

Hybrid disk simulation using DiskSim

DiskSim is a well known simulator for storage developed at CMU. It simulates disks or SSD devices (with an extension from Microsoft). Unfortunately it does not support to combine both, having a hybrid disk like Seagates Momentus. The following few paragraphs show how you to implement a hybrid disk.

For convenience you can also download the hybrid disksim package here including all changes.

First download DiskSim and the SSD extension to a 32-bit Linux machine. Extract Disksim and extract the ssdmodel folder from the extension into the disksim-4.0 folder. Follow the directions of the README file in the ssdmodel folder. Run make in the disksim-4.0 folder and run the validation scripts of disksim as well as from the ssd extension.

Download this file (download) which includes the diff of the original disksim version and the hybrid disksim. Apply the changes. Recompile the entire package.

Now you should be able to instantiate the following layout of components:
topology disksim_iodriver driver0 [
   disksim_bus bus_dr2c [
      disksim_ctlr ctlr0 [ 
         disksim_bus bus_c2di [
            disksim_disk disk0 []
         ],
         disksim_bus bus_c2f [
             ssdmodel_ssd ssd0 []
         ]
      ]
   ]
]

Here the controller has two different buses which separate the accesses to the disk or the SSD. A complete parameter file can be found here.

Now you're ready to use it.

Important Downloads:

February 28, 2011

MTBF (Mean Time Between Failures) Explained

Just found an interesting description from  Kevin Daly (http://www.ece.cmu.edu/~ganger/ece546.spring02/readings/mtbf.description).

"What does MTBF have to do with lifetime? Nothing at all! It is not at all unusual for things to have MTBF's which significantly exceed their lifetime as defined by wearout, ... . A "thirty-something" American has a failure (death) rate of about 1.1 deaths per 1000 person-years and, therefore, has an MTBF of 900 years (of course its really 900 person-years per death). Even the best ones, however, wear out long before that."