Re: Number of threads for virtual machine process

mad Engineer
2015-02-17T04:44:55Z

Thanks for the response.
Can a vm process create any number of extra threads based
on i/o requirement ,or is there any relation between number of VCPU
allowed and these extra threads.

I hope these threads are for disk i/o and for network it uses
vhost-'pid' process.

Thanks for your help

On Mon, Feb 16, 2015 at 9:21 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
> On 16/02/2015 11:54, mad Engineer wrote:
>> Hello all,
>> On a RHEL 6.4 server i created a vm with 2 VCPU and
>> expecting to see single process with 2 threads on host.
>> but
>> top -p "pid-of-qemu" -H
>>
>> shows many threads randomly being created and
>> destroyed,"pid-of-qemu" remains the same but other threads' pid keep
>> on changing.
>
> The "extra" threads are doing I/O.
>
> Paolo