[Openstack-operators] glance upload faster x2 than download, why

Jin, Yuntong yuntong.jin at intel.com
Wed Oct 14 08:54:42 UTC 2015


In my devstack, the test shows glance upload faster x2 than download, is there an explanation?

$time glance image-download  6ee64b2e-48e3-4dc9-8c43-bc5a4ccc12a9 --file Fedora-Cloud-Base-20141203-21

real    0m51.297s
user    0m6.622s
sys     0m2.925s

ll -sh Fedora-Cloud-Base-20141203-21
3.1G -rw-rw-r-- 1 yuntong yuntong 3.0G 10月 14 16:22 Fedora-Cloud-Base-20141203-21

Local copy has same time consuming with image-download
time cp Fedora-Cloud-Base-20141203-21 /tmp/Fedora-Cloud-Base-20141203-21

real    0m50.254s
user    0m0.049s
sys     0m2.255s

glance upload faster x2 than download
glance image-delete 6ee64b2e-48e3-4dc9-8c43-bc5a4ccc12a9
glance image-create --name='Fedora-Cloud-Base-20141203-21' --is-public=true  --container-format=bare --disk-format=qcow2 < ~/Downloads/Fedora-Cloud-Base-20141203-21.x86_64.raw
real    0m23.722s
user    0m0.717s
sys     0m1.099s



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151014/e1cb3256/attachment.html>


More information about the OpenStack-operators mailing list