my problem here. this only apply to sdX not mdX. pls ignore this. ming On Thu, 2005-07-14 at 08:30 -0400, Ming Zhang wrote: > > Also, is there a way to disable caching of reads? Having to clear > > the cache by reading 900M each time slows down testing. I guess > > I could reboot with mem=100M, but it'd be nice to disable/enable > > caching on the fly. Hmm, maybe I can just run something like > > memtest which locks a bunch of ram... > after you run your code, check the meminfo, the cached value might be > much lower than u expected. my feeling is that linux page cache will > discard all cache if last file handle closed. > - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html