[Disksim-users] subdivide latency

Shahrukh Rohinton Tarapore shahrukh at cs.virginia.edu
Thu Jul 13 15:54:43 EDT 2006


Yeah, I was worried i'd lose the controller/cache numbers.  Is it 
possible to turn off all the latencies of the organization on the fly? 
So that I can simulate disks using the current setup of disksim, but 
only see latencies from communication when I want to.  Thanks.

-- shahrukh

John Bucy wrote:

> On 7/13/06, Shahrukh Rohinton Tarapore <shahrukh at cs.virginia.edu> wrote:
>
>> Is it possible to subdivide the latency of a request? For example, if a
>> request takes 3ms. then is there a mechanism for knowing that 1.5ms
>> where spent on the disk mechanics, 0.5ms. were in some adapter or bus,
>> and 1.0ms. some other overhead.  I really just want to be able to
>> subdivide the latency between disk mechanics and the datas transmission
>> through the logical/physical organization. Thanks.
>
>
> I don't think that this functionality exists presently though the
> usual quick/hacky solution would be to put some prints in.  Also,
> remember that a lot of these activities are overlapped with each other
> which makes this a little harder to think about.
>
> At a lower level, the diskmodel API does expose this (look for 'struct
> dm_mech_acctimes' in diskmodel/dm.h) but that won't give you
> cache/controller/bus/etc, just mechanics.
>
>
>
> john




More information about the Disksim-users mailing list