qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 09/10] Exit loop if we have been there too long


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 09/10] Exit loop if we have been there too long
Date: Wed, 24 Nov 2010 16:16:04 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/24/2010 12:14 PM, Michael S. Tsirkin wrote:
>  buffered_file timer runs each 100ms.  And we "try" to measure channel
>  bandwidth from there.  If we are not able to run the timer, all the
>  calculations are wrong, and then stalls happens.

So the problem is the timer in the buffered file abstraction?
Why don't we just flush out data if the buffer is full?

It takes a lot to fill the buffer if you have many zero pages, and if that happens the guest is starved by the main loop filling the buffer.

Paolo



reply via email to

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