<div>Dear all,<br></div><div>I have a question regarding the source code of the disksim. I'd be grateful if anybody has any hint or comment about it.</div><div> </div><div> 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.</div>
<div>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?</div>
<div> </div><div>Thanks</div><div> </div><div>Best,</div><div>Peyman</div><div> </div><div> </div>