[Disksim-users] The Disk's " Rotation speed (in rpms)" parameter value in the source code!

Peyman Behzadnia pbehzadn at mail.usf.edu
Mon Aug 1 05:39:27 EDT 2011


Dear all,
I have a question regarding the source code of the disksim. I'd be grateful
if anybody has any hint or comment about it.

 For my current research simulation, i'm in need of dynamically changing the
rotation speed of some disks during the simulation for power-saving
purposes. In other words, the value of rotation speed parameter of the disk
mechanical model should be changed after a particular elapsed time. For this
goal, i have to figure out where this parameter value of each disk is stored
in the code and how this parameter is loaded and used for rotational latency
calculation.
I found out that the main information is in the disksim_diskctlr.c (mainly
in the lines 4105-4111) for calculating the rotational latency of each
request. However, i have not figured out yet where exactly the rpm value of
each disk is stored in order to manipulate it. Has anybody else done
something similar to this? any clue?

Thanks

Best,
Peyman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20110801/89c58bc8/attachment.html>


More information about the Disksim-users mailing list