On Wed, Aug 27, 2003, Henrik Nordstrom wrote: > On Wednesday 27 August 2003 09.51, Kinkie wrote: > > > BTW: O_DIRECT would be a good approach to our FS I/O work but: > > - we need to be able to keep an object hot after reading it - the > > OS won't do it for us anymore > > This is already on the todo, at least last time we discussed how Squid > cache should be designed. The hot object cache should be separate > from the transit objects, and include swapin objects. > > > - it only supports reading and writing on page boundaries, > > typically 4kb (we'd need to be able to pad) > > Which should not be much of a problem I think..
Well, it'd be _wonderful_ to have the storage interface reworked a little so instead of working with fixed-size buffers we pass them a store mem chain and say "do as much of this as you can and let me know..". Then, for example, COSS reads would become instantly more efficient. adrian
