[Disksim-users] Device Caching for Arrays

Sean Colyer smc7b at virginia.edu
Mon Feb 8 16:10:46 EST 2010


I'm attempting to create an array (probably similar to a raid5) in DiskSim (4.0) and have device caching.  The ideal model will involve using an SSD as a cache for multiple drives in the array.

I've installed and patched with the SSD plugin, but am having trouble forcing DiskSim to use the device caching properly. It seems hard to have a device cache for multiple devices.


Taken from the sample/reading the manual I need something like this in a controller:

 Cache = disksim_cachedev { 
     Cache size = 2056008,
     Cache device = cache_disk,    # device we're caching on
     Cached device = disk,         # device that's being cached
     Max request size = 512,
     Write scheme = 3,
     Flush policy = 0,
     Flush period = 0.0,
     Flush idle delay = 100.0
 },  # end of cachedev spec  

However, it seems I'd have to create a custom controller for each device, and the result would be many caches for an array.  

Any one have any experience with this, or advice for a direction to pursue?

-Sean


More information about the Disksim-users mailing list