simulating hard disk traces, buffer on/off

Mukesh Rajan (mrajan@ics.uci.edu)
Wed, 13 Nov 2002 21:51:53 -0800 (PST)


hi,

i have the AUSPEX disk traces (collection of timestamped read/write
request) with me and need to simulate them. however because of caching and
read ahead, very less activity ever reaches the disk and does not
correspond to the usage pattern that i am targetting at.

hence i need to find some mechanism of turning on/off the disk cache. is
there anyway of doing this?

also i would like to collect disk traces before and after the cache
system. for "after cache" i have inserted code in generic_make_request
(ll_rw_blk.c) and seem to get proper traces. however is there any single
point of entry for read/write requests just before they are serviced by
the buffer mechanism where i can insert my trace code for "before
cache" traces i.e. as they are submitted.

please "cc" to me as i'm not on the list.

thanks in advance,
mukesh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/