[Disksim-users] More about the source code

Greg Ganger ganger at ece.cmu.edu
Sun Aug 26 23:28:00 EDT 2007


It sounds like you need to cozy up to the manual.  If memory serves,
it describes the parameters of the on-board disk cache module.  It
also explains that disksim is only a performance simulator.

Greg


On Mon, 27 Aug 2007, hust_mb wrote:

> Hi,
> Sorry for that I forget to post it in the mailing list.
>
> But how can I config the parameters of the on-board disk cache. Are they in the config of disk as showed in the "3.4.5 Disks" of the reference manual. Or some are not included in the  "3.4.5 Disks"  configed in the source code of disksim_diskcache.c?
>
> More ever there is no data indeed keeped in the disksim. So if I want to keep the data content I should to keep a buffer to contain them?  Also the trace used are only request size, arrive time and so on.. Disksim is mainly used for performance test. Can I run an application upon it?
>
> Thank you !
>
> ------------------
> hust_mb
> 2007-08-27
>
> -------------------------------------------------------------
> ·¢¼þÈË£ºGreg Ganger
> ·¢ËÍÈÕÆÚ£º2007-08-27 09:59:26
> ÊÕ¼þÈË£ºhust_mb
> ³­ËÍ£ºDisksim-users; Greg Ganger
> Ö÷Ì⣺Re: [Disksim-users] More about the source code
>
>
> disksim_cacheXXX.[ch] for any XXX (including none) relates to the memory
> cache at an "intelligent controller" (not the on-board disk cache).
>
> disksim_diskXXX.[ch] for any XXX (including none) relates to the disk
> model.  So, disksim_diskcache.[ch] is the code for the on-board disk
> cache.
>
> Good luck.
>
> Greg
>
>
> On Mon, 27 Aug 2007, hust_mb wrote:
>
>> Hi,
>> More I want to know is the source code.
>> There is disksim_cache.c, disksim_cachedev.c, disksim_cachemem.c, disksim_diskcache.c. What's the relationship between them.
>> For example the disksim_cachedev.c is used to cache a device with another device. But the others?
>>
>> In the valid directory there is no disksim_cachemem setting example. Can you give me such a example?
>>
>> As said in the reference manual the disk block cache is only used in the intelligent controller. But in the PhD thesis "System-oriented evaluation of I/O subsystem performance" included one sentence "The disk drive module includes a separate cache/buffer submodule because of the specialized nature of common on-board disk cache management policies."(at the bottom line of the page 105). Does that to say there is a separate on-board cache implemente in the source code?
>>
>> Thank you very much.
>>
>> --------------
>> hust_mb
>> 2007-08-27
>>
>>
>> _______________________________________________
>> Disksim-users mailing list
>> Disksim-users at ece.cmu.edu
>> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>>
>


More information about the Disksim-users mailing list