Hi, thank you very much. I know performances worsen, but I need to simulate a simple system having either lot of reads or lot of writes. How could I do it? (if I'm not off-topic). BR Giovanni 2012/7/8 Charles Manning > On Friday 06 July 2012 23:28:45 Giovanni Rana wrote: > > Good moorning everybody, > > > > I would like to disable Yaffs caching of pages (at run-time). Is there a > > way to do it? > > > > Best regards, > > Giovanni Rana > > Hello Giovanni > > There are really three answers to this question... > > First, you can disable the cache before mounting by setting > dev->param.n_caches to zero. In Linux you can mount with -o no-cache. > > Secondly, you can empty the current cache by using sync(). > > There is no way to disable the cache once a partition is mounted. > > Why do you want to disable the cache? It generally provides speed > advantages. > > -- Charles > > > _______________________________________________ > yaffs mailing list > yaffs@lists.aleph1.co.uk > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs >