qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] block IO thread creation question


From: Fam Zheng
Subject: Re: [Qemu-devel] block IO thread creation question
Date: Fri, 25 Mar 2016 10:25:47 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, 03/24 09:02, Chris Friesen wrote:
> Hi,
> 
> Could someone point me at the code for creating threads to handle
> block IO?  I'm seeing up to 30 threads per virtual disk, which seems
> high.

It is thread-pool.c, assuming you are using "aio=threads" for drive, which is
the default. With the alternative, "aio=native", spawning worker threads will
be much more uncommon.

Fam

> 
> In case it's related, the block devices are iSCSI with the host
> acting as the initiator and exposing block devices to qemu.
> 
> I'm particularly interested in qemu 2.2, just in case things have
> changed significantly since then.
> 
> Thanks,
> Chris
> 



reply via email to

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