Re: async disk io

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 8 Apr 2000 00:42:01 +0800

On Fri, Apr 07, 2000, Henrik Nordstrom wrote:
> Adrian Chadd wrote:
>
> > Now, I want to finally move onto implementing async disk IO. So,
> > the question is: what mechanism do people think I should use for
> > this? I have my own clever ideas, but I'm very FreeBSD/Solaris
> > centric ..
>
> Why don't you give us a view of your ideas? It is probably easier to get
> an discussion going that way.

Well, I'm actually at a problem point :) See, I'm looking at the store
code in an attempt to reduce the number of list walks (and yes, there
are a *lot*) and memcpy()s in the storage manager. I'd also like to not
have another memcpy when putting the object on disk. Filesystems
like UFS are fine, but implementing write clustering with the
current way the code exists involves a memcpy in SD->obj.write to
cluster the writes together (look at COSS).

I'm going to keep playing with the storage manager code to try and reduce
some more of the list walks and memcpy's if possible. Any other ideas,
please, I'm all ears. :)

Adrian
Received on Fri Apr 07 2000 - 10:42:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:22 MST