[Openstack] Download file from swift extremely slow

dongjh at ahope.com.cn dongjh at ahope.com.cn
Fri Jan 6 07:52:11 UTC 2017


Also, i can put/get files via dashboard/swift-CLI very quickly.
So it is strange why 'openstack object save' so slowly...

[root at controller /]# swift download container1 U869484.bff
U869484.bff [auth 1.818s, headers 2.267s, total 2.540s, 42.527 MB/s]

Another issue, looks like Swift is not compatible with IE browser, i can upload file successfully via IE, but fail to get the object when downloading, chrome and firefox does not have this issue.



=========================================
董 建 华
地址:杭州滨江区南环路3766号新世纪办公楼A
邮编:310053
手机:13857132818
总机:0571-28996000
传真:0571-28996001
热线:4006728686
网址:www.ahope.com.cn
Email:dongjh at ahope.com.cn
 
From: dongjh at ahope.com.cn
Date: 2017-01-06 15:26
To: Steve Martinelli
CC: openstack
Subject: Re: [Openstack] Download file from swift extremely slow
Jan  6 15:25:51 controller proxy-server: Deferring reject downstream
Jan  6 15:25:51 controller proxy-server: - - 06/Jan/2017/07/25/51 HEAD /v1/AUTH_6fc70c831270448296c9c25361769cf5/api HTTP/1.0 404 - Swift - - - - tx4c868c016bf94fb798abf-00586f467f - 0.0152 RL - 1483687551.074624062 1483687551.089809895 0
Jan  6 15:25:51 controller proxy-server: 192.168.11.21 192.168.11.21 06/Jan/2017/07/25/51 GET /v1/AUTH_6fc70c831270448296c9c25361769cf5/api%3Fformat%3Djson%26limit%3D1001%26prefix%3Dswift/containers/container1/object/U869484.bff/%26delimiter%3D/ HTTP/1.0 404 - python-swiftclient-3.1.0 gAAAAABYb0D3JYSC... - 70 - tx4c868c016bf94fb798abf-00586f467f - 0.0399 - - 1483687551.071675062 1483687551.111609936 0



=========================================
董 建 华
地址:杭州滨江区南环路3766号新世纪办公楼
邮编:310053
手机:13857132818
总机:0571-28996000
传真:0571-28996001
热线:4006728686
网址:www.ahope.com.cn
Email:dongjh at ahope.com.cn
 
From: dongjh at ahope.com.cn
Date: 2017-01-04 22:38
To: Steve Martinelli
CC: openstack
Subject: Re: Re: [Openstack] Download file from swift extremely slow
The red lines hang several minutes... Swift CLI is fast...

[root at controller /]# . /demo-openrc
[root at controller /]# openstack object save container1 cirros-0.3.4-x86_64-disk.img --debug
START with options: [u'object', u'save', u'container1', u'cirros-0.3.4-x86_64-disk.img', u'--debug']
options: Namespace(access_key='', access_secret='***', access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='http://controller:5000/v3', authorization_code='', cacert=None, cert='', client_id='', client_secret='***', cloud='', consumer_key='', consumer_secret='***', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', key='', log_file=None, old_profile=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_data_processing_api_version='1.1', os_data_processing_url='', os_dns_api_version='2', os_identity_api_version='3', os_image_api_version='2', os_key_manager_api_version='1', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', os_workflow_api_version='2', passcode='', password='***', profile=None, project_domain_id='', project_domain_name='default', project_id='', project_name='demo', protocol='', redirect_uri='', region_name='', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='default', user_id='', username='demo', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': '1', u'database_api_version': u'1.0', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'default', 'project_name': 'demo', 'project_domain_name': 'default'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, 'password': 'demo', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'demo', 'project_name': 'demo', 'user_domain_name': 'default', 'auth_url': 'http://controller:5000/v3', 'password': '***', 'project_domain_name': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': None, u'disable_vendor_agent': {}}
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
neutronclient API version 2, cmd group openstack.neutronclient.v2
dns API version 2, cmd group openstack.dns.v2
key_manager API version 1, cmd group openstack.key_manager.v1
workflow_engine API version 2, cmd group openstack.workflow_engine.v2
orchestration API version 1, cmd group openstack.orchestration.v1
data_processing API version 1.1, cmd group openstack.data_processing.v1
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': '1', u'database_api_version': u'1.0', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'default', 'project_name': 'demo', 'project_domain_name': 'default'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, 'password': 'demo', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': '1', u'database_api_version': u'1.0', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'user_domain_name': 'default', 'project_name': 'demo', 'project_domain_name': 'default'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, 'password': 'demo', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}}
command: object save -> openstackclient.object.v1.object.SaveObject
Using auth plugin: password
Using parameters {'username': 'demo', 'project_name': 'demo', 'user_domain_name': 'default', 'auth_url': 'http://controller:5000/v3', 'password': '***', 'project_domain_name': 'default'}
Get auth_ref
REQ: curl -g -i -X GET http://controller:5000/v3 -H "Accept: application/json" -H "User-Agent: osc-lib keystoneauth1/2.12.2 python-requests/2.10.0 CPython/2.7.5"
Starting new HTTP connection (1): controller
"GET /v3 HTTP/1.1" 200 249
RESP: [200] Date: Wed, 04 Jan 2017 14:16:47 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-e87a77cb-ecf2-49a8-9981-82abf8d1505d Content-Length: 249 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2016-10-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.7", "links": [{"href": "http://controller:5000/v3/", "rel": "self"}]}}

Making authentication request to http://controller:5000/v3/auth/tokens
"POST /v3/auth/tokens HTTP/1.1" 201 4748
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "f3b5edbdd90a46249c506fd725bea7cc", "name": "user"}], "expires_at": "2017-01-04T15:16:47.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6fc70c831270448296c9c25361769cf5", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://controller:35357/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6748fb0f735e49fea7af7197f5b9fd2e"}, {"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "705880eae3724ad4a7e87ec73abb9f4a"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "eef092ba38354716a07a8663a8799d3b"}], "type": "identity", "id": "0d2367d19f2249a28bacb407a767f5ea", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "72cd4dce5fda472c9ee4ccea1763bdd8"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7f49508e41a7449286bbae22ad3e1009"}, {"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a39ad51dd9044bbbaa15d9b5bb408d63"}], "type": "image", "id": "5aa73a7985914d019e255ba4735c8050", "name": "glance"}, {"endpoints": [{"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "94430dcb24fa4a67866b9211b115ba8d"}, {"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9679385e8bf646c195b4387d07e39813"}, {"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b121154b31f74c8f8d1fc45b1f2cf0aa"}], "type": "volume", "id": "74ce6a390216440db29e6ea10f6b91ff", "name": "cinder"}, {"endpoints": [{"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2e1e0df066594307a01129e260de4347"}, {"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "84fb72a51bc54856a8fc046fd5ae9831"}, {"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ad77ed7ffd124197a268563a26e18a7c"}], "type": "compute", "id": "83b496cc41eb455ea1cd871b86d76d09", "name": "nova"}, {"endpoints": [{"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "06fb7274890f4e5580aedaa137415b75"}, {"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "660a72066792425392e615b41180eca7"}, {"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f13771cf78474a0a90eada29257cfb40"}], "type": "volumev2", "id": "897dd05cadf2484f9085f21670aa485a", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8080/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "50905aefc490422d8590891af65da487"}, {"url": "http://controller:8080/v1/AUTH_6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b7106e3ae36b4f8292169a859754a1c9"}, {"url": "http://controller:8080/v1/AUTH_6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "fa222e78266c4f70b8a8267ecc18ef4a"}], "type": "object-store", "id": "d85e6bb55ecf431c8a4693f24c2750df", "name": "swift"}, {"endpoints": [{"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0edaf79aac3f466daa38363e978198ac"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2bf3f0355f9a448985d1a53cba578e55"}, {"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6d54619f9e72469f92823ab1bad70353"}], "type": "network", "id": "fc04a1ebb8944c709942dd686c42fe94", "name": "neutron"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "d8acb30b89ed44bea9568d556b54b8d3", "name": "demo"}, "audit_ids": ["5vRBbs5HSHqKOnZ-9kC2Jw"], "issued_at": "2017-01-04T14:16:47.000000Z"}}
run(Namespace(container=u'container1', file=None, object=u'cirros-0.3.4-x86_64-disk.img'))
Making authentication request to http://controller:5000/v3/auth/tokens
"POST /v3/auth/tokens HTTP/1.1" 201 4748
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "f3b5edbdd90a46249c506fd725bea7cc", "name": "user"}], "expires_at": "2017-01-04T15:16:47.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "6fc70c831270448296c9c25361769cf5", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://controller:35357/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6748fb0f735e49fea7af7197f5b9fd2e"}, {"url": "http://controller:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "705880eae3724ad4a7e87ec73abb9f4a"}, {"url": "http://controller:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "eef092ba38354716a07a8663a8799d3b"}], "type": "identity", "id": "0d2367d19f2249a28bacb407a767f5ea", "name": "keystone"}, {"endpoints": [{"url": "http://controller:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "72cd4dce5fda472c9ee4ccea1763bdd8"}, {"url": "http://controller:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7f49508e41a7449286bbae22ad3e1009"}, {"url": "http://controller:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a39ad51dd9044bbbaa15d9b5bb408d63"}], "type": "image", "id": "5aa73a7985914d019e255ba4735c8050", "name": "glance"}, {"endpoints": [{"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "94430dcb24fa4a67866b9211b115ba8d"}, {"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9679385e8bf646c195b4387d07e39813"}, {"url": "http://controller:8776/v1/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b121154b31f74c8f8d1fc45b1f2cf0aa"}], "type": "volume", "id": "74ce6a390216440db29e6ea10f6b91ff", "name": "cinder"}, {"endpoints": [{"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2e1e0df066594307a01129e260de4347"}, {"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "84fb72a51bc54856a8fc046fd5ae9831"}, {"url": "http://controller:8774/v2.1/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ad77ed7ffd124197a268563a26e18a7c"}], "type": "compute", "id": "83b496cc41eb455ea1cd871b86d76d09", "name": "nova"}, {"endpoints": [{"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "06fb7274890f4e5580aedaa137415b75"}, {"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "660a72066792425392e615b41180eca7"}, {"url": "http://controller:8776/v2/6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f13771cf78474a0a90eada29257cfb40"}], "type": "volumev2", "id": "897dd05cadf2484f9085f21670aa485a", "name": "cinderv2"}, {"endpoints": [{"url": "http://controller:8080/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "50905aefc490422d8590891af65da487"}, {"url": "http://controller:8080/v1/AUTH_6fc70c831270448296c9c25361769cf5", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "b7106e3ae36b4f8292169a859754a1c9"}, {"url": "http://controller:8080/v1/AUTH_6fc70c831270448296c9c25361769cf5", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "fa222e78266c4f70b8a8267ecc18ef4a"}], "type": "object-store", "id": "d85e6bb55ecf431c8a4693f24c2750df", "name": "swift"}, {"endpoints": [{"url": "http://controller:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0edaf79aac3f466daa38363e978198ac"}, {"url": "http://controller:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2bf3f0355f9a448985d1a53cba578e55"}, {"url": "http://controller:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "6d54619f9e72469f92823ab1bad70353"}], "type": "network", "id": "fc04a1ebb8944c709942dd686c42fe94", "name": "neutron"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "d8acb30b89ed44bea9568d556b54b8d3", "name": "demo"}, "audit_ids": ["sLXGcKSWRpii4eOfA7MKBg"], "issued_at": "2017-01-04T14:16:47.000000Z"}}
REQ: curl -g -i -X GET http://controller:8080/v1/AUTH_6fc70c831270448296c9c25361769cf5/container1/cirros-0.3.4-x86_64-disk.img -H "User-Agent: osc-lib keystoneauth1/2.12.2 python-requests/2.10.0 CPython/2.7.5" -H "X-Auth-Token: {SHA1}222c5064b2a2330eca9637708a40dffecb8bae4c"
Starting new HTTP connection (1): controller
"GET /v1/AUTH_6fc70c831270448296c9c25361769cf5/container1/cirros-0.3.4-x86_64-disk.img HTTP/1.1" 200 13287936
RESP: [200] Content-Length: 13287936 Accept-Ranges: bytes Last-Modified: Wed, 04 Jan 2017 08:58:56 GMT Etag: ee1eca47dc88f4879d8a229cc70a07c6 X-Timestamp: 1483520335.80174 Content-Type: application/octet-stream X-Trans-Id: tx559e7d3d28aa49c995467-00586d03cf Date: Wed, 04 Jan 2017 14:16:48 GMT Connection: keep-alive
RESP BODY: QFI�s�
&N�JT�  F     �BU�@�@@�A��U�$wK@?T���I@<�J@�jU���Q�(Y
�ZL
   D�_@
       �U
�g�YK���I@$DQ at o�O�1G at p_A@�rD���\������D��/F at R3�K���F� �K�V�Q��t���▒▒���R?mE��WG@ D@ ;�D@ \�D��D� �WA K@ �F�!+�G�!a�B�!�2B�!��C�!�tE@!��G�"
yI�"HlN"��H�#�@�#JAJ@#N�N@#�{H�$wK$YJ�$�6I�%7F%TI�%��D�%�R@%��Q@&��Q�'BN�'��J(�J(`�F�(��F�(�vD�)cC)B�M)[K�)��L�*IM*��H�*�*I+1�F at +yS at +��I�,D�S@,�ZI at -,qE�-vrA at -��N at 3nM�3�}M�4N�M at 4�L�5%J5��B�5��O�5�#�7�8�9�:�;�<�=�>�?�@�A�B�C�D�E�F�G�H�I�J�K^�L_�L�#_�M��YN��^�O���Q�R�S�T�UY at VSV��T�WbP`X


time swift download container1 cirros-0.3.4-x86_64-disk.img


cirros-0.3.4-x86_64-disk.img [auth 1.810s, headers 2.583s, total 2.693s, 15.060 MB/s]

real    0m3.298s
user    0m2.035s
sys     0m0.189s





=========================================
董 建 华
地址:杭州滨江区南环路3766号新世纪办公楼
邮编:310053
手机:13857132818
总机:0571-28996000
传真:0571-28996001
热线:4006728686
网址:www.ahope.com.cn
Email:dongjh at ahope.com.cn
 
From: Steve Martinelli
Date: 2017-01-04 22:05
To: wawayu
CC: openstack
Subject: Re: [Openstack] Download file from swift extremely slow
Does doing ``openstack object save container1 cirros-0.3.4-x86_64-disk.img --debug`` give any additional information?

What about using the swift CLI? any difference in speed? ``swift download container1 cirros-0.3.4-x86_64-disk.img`` ?



On Wed, Jan 4, 2017 at 7:19 AM, wawayu <dongjh at ahope.com.cn> wrote:
Anybody knows this ? 
------------------ Original ------------------
From: "董建华"<dongjh at ahope.com.cn>
Date: Wed, Jan 4, 2017 04:59 PM
To: "openstack"<openstack at lists.openstack.org>;
Subject: [Openstack] Download file from swift extremely slow
Hi experts

I finished the swift installation following the install guide(http://docs.openstack.org/project-install-guide/object-storage/draft/get_started.html), file upload  is very fast, but file download is extremely slow, why ?

[root at controller admin]# time openstack object create container1 cirros-0.3.4-x86_64-disk.img
+------------------------------+------------+----------------------------------+
| object                       | container  | etag                             |
+------------------------------+------------+----------------------------------+
| cirros-0.3.4-x86_64-disk.img | container1 | ee1eca47dc88f4879d8a229cc70a07c6 |
+------------------------------+------------+----------------------------------+

real    0m3.807s
user    0m2.127s
sys     0m0.161s


[root at controller /]# time  openstack object save container1 cirros-0.3.4-x86_64-disk.img
real    5m51.489s
user    5m48.172s
sys     0m2.094s



=========================================
董 建 华
地址:杭州滨江区南环路3766号新世纪办公楼
邮编:310053
手机:13857132818
总机:0571-28996000
传真:0571-28996001
热线:4006728686
网址:www.ahope.com.cn
Email:dongjh at ahope.com.cn

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170106/62ead9bc/attachment.html>


More information about the Openstack mailing list