Re: [Qemu-devel] savevm too slow

2013-09-09 Thread Kevin Wolf
Am 09.09.2013 um 10:47 hat xuanmao_001 geschrieben: > > I sent patches that should eliminate the difference between the first > > and second snapshot at least. > > where I can find the patches that can > eliminate the difference between the first > and second snapshot ? Does they fit qemu-kvm-1.0

Re: [Qemu-devel] savevm too slow

2013-09-09 Thread xuanmao_001
> I sent patches that should eliminate the difference between the first > and second snapshot at least. where I can find the patches that can eliminate the difference between the first and second snapshot ? Does they fit qemu-kvm-1.0,1 ? xuanmao_001 From: Kevin Wolf Date: 2013-09-09 16:35 To:

Re: [Qemu-devel] savevm too slow

2013-09-09 Thread Kevin Wolf
Am 09.09.2013 um 03:57 hat xuanmao_001 geschrieben: > >> the other question: when I change the buffer size #define IO_BUF_SIZE 32768 > >> to #define IO_BUF_SIZE (1 * 1024 * 1024), the savevm is more quickly. > > > Is this for cache=unsafe as well? > > > Juan, any specific reason for using 32k?

Re: [Qemu-devel] savevm too slow

2013-09-08 Thread xuanmao_001
>> the other question: when I change the buffer size #define IO_BUF_SIZE 32768 >> to #define IO_BUF_SIZE (1 * 1024 * 1024), the savevm is more quickly. > Is this for cache=unsafe as well? > Juan, any specific reason for using 32k? I think it would be better to > have a multiple of the qcow2 clust

Re: [Qemu-devel] savevm too slow

2013-09-06 Thread Kevin Wolf
Am 06.09.2013 um 03:31 hat xuanmao_001 geschrieben: > Hi, qemuers: > > I found that the guest disk file cache mode will affect to the time of savevm. > > the cache 'writeback' too slow. but the cache 'unsafe' is as fast as it can, > less than 10 seconds. > > here is the example I use virsh: >

[Qemu-devel] savevm too slow

2013-09-05 Thread xuanmao_001
Hi, qemuers: I found that the guest disk file cache mode will affect to the time of savevm. the cache 'writeback' too slow. but the cache 'unsafe' is as fast as it can, less than 10 seconds. here is the example I use virsh: @cache with writeback: #the first snapshot real0m21.904s user0m