On 2020/11/30 16:35, Markus Armbruster wrote:
> Zeyu Jin writes:
>
>> On 2020/11/27 17:48, Markus Armbruster wrote:
>>> Kevin, Max, suggest to skip right to Qcow2CompressionType.
>>>
>>> Zeyu Jin writes:
>>>
>>>> A multi-thr
On 2020/12/1 0:43, Eric Blake wrote:
> On 11/27/20 3:32 AM, Zeyu Jin wrote:
>> This patch enables zstd option in multi-thread compression.
>>
>> Signed-off-by: Zeyu Jin
>> Signed-off-by: Ying Fang
>> ---
>
>> +++ b/qapi/migration.json
>&
On 2020/12/1 0:42, Eric Blake wrote:
> On 11/27/20 3:36 AM, Zeyu Jin wrote:
>
> Meta-comment: you appear to be having problems threading your series;
> I've now seen three separate cover letters (RFC v1, v2 with no subject,
> v2 with subject) and two series where each patch was a
On 2020/11/27 20:10, Markus Armbruster wrote:
> Zeyu Jin writes:
>
>> This patch enables zstd option in multi-thread compression.
>>
>> Signed-off-by: Zeyu Jin
>> Signed-off-by: Ying Fang
> [...]
>> diff --git a/qapi/migration.json b/qapi/migration.json
On 2020/11/27 17:48, Markus Armbruster wrote:
> Kevin, Max, suggest to skip right to Qcow2CompressionType.
>
> Zeyu Jin writes:
>
>> A multi-thread compress method parameter is added to hold the method we
>> are going to use. By default the 'zlib' method is used to maint
On 2020/11/27 17:48, Markus Armbruster wrote:
> Kevin, Max, suggest to skip right to Qcow2CompressionType.
>
> Zeyu Jin writes:
>
>> A multi-thread compress method parameter is added to hold the method we
>> are going to use. By default the 'zlib' method is used to maint
)| 1576866|736117 |
+-+--+-+
| throughput(mbps) | 172.06 |137.16 |
+-+--+-+
| total ram(kB) | 33685952 |33685952 |
+-+--+-+
Zeyu
Zlib compression has level from 1 to 9. However Zstd compression has level
from 1 to 22 (level >= 20 not recommanded). Let's do sanity check here
to make sure a vaild compress_level is given by user.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/migration.c |
This patch enables zstd option in multi-thread compression.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 2 +-
migration/ram.c | 128 ++-
qapi/migration.json | 2 +-
3 files changed, 129
Add the MigrationCompressOps and MigrationDecompressOps structures to make
the compression method configurable for multi-thread compression migration.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang parameters.decompress_threads;
}
+CompressMethod migrate_compress_method(void
Modify the doc to fit the previous changes.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
docs/multi-thread-compression.txt | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/docs/multi-thread-compression.txt
b/docs/multi-thread
A multi-thread compress method parameter is added to hold the method we
are going to use. By default the 'zlib' method is used to maintain the
compatibility as before.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 11 +++
include/hw/qdev
. Simplify the function input arguments for compression and decompression.
Wrap the input into the param structure which already exists. This change also
makes the function much more flexible for other compression methods.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/qemu-file.c | 62
)| 1576866|736117 |
+-+--+-+
| throughput(mbps) | 172.06 |137.16 |
+-+--+-+
| total ram(kB) | 33685952 |33685952 |
+-+--+-+
Zeyu
Modify the doc to fit the previous changes.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
docs/multi-thread-compression.txt | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/docs/multi-thread-compression.txt
b/docs/multi-thread
Zlib compression has level from 1 to 9. However Zstd compression has level
from 1 to 22 (level >= 20 not recommanded). Let's do sanity check here
to make sure a vaild compress_level is given by user.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/migration.c |
Add the MigrationCompressOps and MigrationDecompressOps structures to make
the compression method configurable for multi-thread compression migration.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang parameters.decompress_threads;
}
+CompressMethod migrate_compress_method(void
This patch enables zstd option in multi-thread compression.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 2 +-
migration/ram.c | 128 ++-
qapi/migration.json | 2 +-
3 files changed, 129
A multi-thread compress method parameter is added to hold the method we
are going to use. By default the 'zlib' method is used to maintain the
compatibility as before.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 11 +++
include/hw/qdev
. Simplify the function input arguments for compression and decompression.
Wrap the input into the param structure which already exists. This change also
makes the function much more flexible for other compression methods.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/qemu-file.c | 62
)| 1576866|736117 |
+-+--+-+
| throughput(mbps) | 172.06 |137.16 |
+-+--+-+
| total ram(kB) | 33685952 |33685952 |
+-+--+-+
Zeyu
On 2020/11/9 17:08, Zeyu Jin wrote:
> Currently we have both multi-thread compression and multifd to optimize
> live migration in Qemu. Mulit-thread compression deals with the situation
> where network bandwith is limited but cpu resource adequate. Multifd instead
> aims to take fu
On 2020/11/9 23:57, Eric Blake wrote:
> On 11/9/20 3:08 AM, Zeyu Jin wrote:
>> A multi-thread compress method parameter is added to hold the method we
>> are going to use. By default the 'zlib' method is used to maintain the
>> compatibility as before.
>>
>> Signe
Modify the doc to fit the previous changes.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
docs/multi-thread-compression.txt | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/docs/multi-thread-compression.txt
b/docs/multi-thread
Zlib compression has level from 1 to 9. However Zstd compression has level
from 1 to 22 (level >= 20 not recommanded). Let's do sanity check here
to make sure a vaild compress_level is given by user.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/migration.c |
A multi-thread compress method parameter is added to hold the method we
are going to use. By default the 'zlib' method is used to maintain the
compatibility as before.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 11 +++
include/hw/qdev
Add the MigrationCompressOps and MigrationDecompressOps structures to make
the compression method configurable for multi-thread compression migration.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang parameters.decompress_threads;
}
+CompressMethod migrate_compress_method(void
)| 1576866|736117 |
+-+--+-+
| throughput(mbps) | 172.06 |137.16 |
+-+--+-+
| total ram(kB) | 33685952 |33685952 |
+-+--+-+
Zeyu
. Simplify the function input arguments for compression and decompression.
Wrap the input into the param structure which already exists. This change also
makes the function much more flexible for other compression methods.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
migration/qemu-file.c | 62
This patch enables zstd option in multi-thread compression.
Signed-off-by: Zeyu Jin
Signed-off-by: Ying Fang
---
hw/core/qdev-properties-system.c | 2 +-
migration/ram.c | 128 ++-
qapi/migration.json | 2 +-
3 files changed, 129
30 matches
Mail list logo