[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Question] the problem about driver-mirror
From: |
Rudy Zhang |
Subject: |
Re: [Qemu-block] [Question] the problem about driver-mirror |
Date: |
Fri, 24 Apr 2015 13:49:34 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 2015/4/24 1:32, Stefan Hajnoczi wrote:
> On Thu, Apr 23, 2015 at 5:51 PM, 张敏 <address@hidden> wrote:
>> I test the function of driver-mirror when run io stress test in vm.
>> The fio's model is 128 iodepth, 4K block-size, 100% write, 100% randon.
>> This is a continuous test, and then I start drive-mirror to copy data
>> to other image file. I find this job can't finish.
>> I analysis the problem and find the dirty bitmap is always set, the job
>> can't converge.
>> Any ideas to solve this problem?
>
> You can use QEMU I/O throttling to limit writes to the guest's disk so
> the mirror job can complete.
>
> I don't have a magic number for you, but if you look at the rate at
> which the block job runs, make sure that the guest write throughput is
> limited below that number.
>
> Stefan
>
>
Thank you very much for your suggestion.
I will try to use Qemu I/O throttling.
--
Best Regards
Rudy Zhang