image_copy: support compressed images
This patch adds support for compressed images in the image_copy test.
This reduces the time for the image copy from around three minutes to
less than one minute (over Gigabit Ethernet).
gzip and xz are supported. xz produces smaller images but needs more
cpu time for decompressing. In my setup gzip is limited by network
bandwidth whereas xz is limited by cpu speed. In the end both are
almost on par speed-wise, with gzip being a little bit faster.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Showing
想要评论请 注册 或 登录