On Sun, Oct 09, 2005 at 02:45:42PM -0400, Jeff Dike wrote: > On Sat, Oct 08, 2005 at 05:32:10PM +0100, Chris Lightfoot wrote: > > Jeff Dike also has an AIO reimplementation of UBD in the > > works, but I haven't had a chance to look at it yet. > > Why don't you look at UML with the AIO stuff applied? It's pretty certain > that the one-at-a-time pseudo-AIO gives you close to synchronous > performance when you have a lot of IO. The AIO work is intended to > fix that, and if it doesn't, I like to know why. > > If you do want to play with the current stuff, I think you can wash > out the effects of the pseudo-AIO stuff by slowing down the host and > having it do symchronous I/O. If there is still a major difference > between UML and the host, it would be interesting to know why.
OK, here are the previous results comparing the AIO implementation (using the code in the rc7 patches from 2005-08-26 and the ubd patches from 2005-09-17) with the existing and my implementations: http://ex-parrot.com/~chris/tmp/20051009/host-vs-uml-io-results-2.png On this task (random seeks + random synchronous writes) AIO helps a little bit but not very much. (TBH I'm surprised that the AIO code shows so little improvement. The kernel does report that it's using 2.6 host AIO, so it is using the new version. Obviously issuing the writes segment-by-segment is non-ideal but I'm surprised it's this bad. Could I be missing some configuration step?) -- ``I won't let you in until you explain the ending of the movie.'' (unknown US immigration officer, to Arthur C. Clarke, 1969) ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel