[Disksim-users] More about the source code

Greg Ganger ganger at ece.cmu.edu
Sun Aug 26 21:59:29 EDT 2007


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