qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch] non-blocking disk IO


From: Troy Benjegerdes
Subject: Re: [Qemu-devel] [patch] non-blocking disk IO
Date: Mon, 3 Oct 2005 20:35:55 -0500
User-agent: Mutt/1.5.9i

On Mon, Oct 03, 2005 at 03:58:40PM +0200, Jens Axboe wrote:
> On Mon, Oct 03 2005, John Coiner wrote:
> > 
> > Non-blocking disk IO now works for any type of disk image, not just 
> > "raw" format. There is no longer any format-specific code in the patch:
> > 
> > http://people.brandeis.edu/~jcoiner/qemu_idedma/qemu_dma_patch.html
> > 
> > You might want this patch if:
> >  * you run a multitasking guest OS,
> >  * you access a disk sometimes, and
> >  * you wouldn't mind if QEMU ran a little faster.
> > 
> > Why I have not got feedback in droves I do not understand ;)
> 
> Why not use aio for this instead, seems like a better fit than spawning
> a thread per block device? That would still require a thread for
> handling completions, but you could easily just use a single completion
> thread for all devices for this as it would not need to do any real
> work.

Why is there a posix async IO 'standard', but a different linux AIO standard?
Having something that wraps both Linux-native AIO and posix async I/O
might make supporting it a little easier to swallow on cross-platform
applications.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]