qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/3] Optimize the performance for single thread (de)


From: Liang Li
Subject: [Qemu-devel] [PATCH 0/3] Optimize the performance for single thread (de)compression
Date: Tue, 25 Aug 2015 19:59:07 +0800

When the (de)compression thread count is set to 1, the current implementation
is inefficient because of the data copy and thread syncronization cost, a 
separate
single (de)compression thread is useless for performance improvement and will
result in performance degradation.

If (de)compression thread count is set to 1, we skip to use the multiple threads
mechanism. 


Liang Li (3):
  qemu-file: improve qemu_put_compression_data
  migration: optimization for one compression thread
  migration: optimization for one decompression thread

 migration/qemu-file.c | 10 +++++++++-
 migration/ram.c       | 46 ++++++++++++++++++++++++++++++++++------------
 2 files changed, 43 insertions(+), 13 deletions(-)

-- 
1.9.1




reply via email to

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