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: Jens Axboe
Subject: Re: [Qemu-devel] [patch] non-blocking disk IO
Date: Mon, 3 Oct 2005 15:58:40 +0200

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.

-- 
Jens Axboe





reply via email to

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