[Openstack] EC2API Very Slow

Jay Pipes jaypipes at gmail.com
Tue Apr 11 15:46:09 UTC 2017


On 04/10/2017 04:25 PM, Georgios Dimitrakakis wrote:
> Hello again,
>
> after some time...
>
> The "nova list" command is very fast indeed and the only problem I
> observer is through the EC2 API.
>
> I have found out the following bug and I believe is related to it, what
> do you people think?
>
> https://bugs.launchpad.net/ec2-api/+bug/1619259

Looks like it could be related, yes. Though the bug above describes the 
EC2 metadata API being slow, not the list instances or get instance info 
call.

Can someone from the EC2 API team take a look here?

Best,
-jay

>> On 03/26/2017 04:06 PM, Georgios Dimitrakakis wrote:
>>> Hello,
>>>
>>> can someone let me know if it's an expected behavior the EC2API to be
>>> very slow in Ocata?
>>>
>>> I have an old installation of OpenStack (Icehouse) with NOVA-EC2 and
>>> when requesting an instance's info I am getting them back in 9sec.
>>>
>>> In a newer Ocata installation with EC2API it takes around 53sec.
>>>
>>> On a hardware perspective view the newer version is on a far better (in
>>> terms of specifications) server.
>>>
>>> Any ideas what might be the problem and how to resolve it? Or any ideas
>>> how to debug it??
>>
>> Both 9s and 53s are appalling performance for getting an instance's
>> info. Something is definitely amiss.
>>
>> To determine the cause of the slowdown, first try to eliminate
>> various potential components. You say it's the EC2 API that is slow.
>> If you run a normal `nova list` (which will go through the OpenStack
>> API, not the EC2 API), what is the difference in performance? If you
>> see the same 9s vs. 53s performance, it's definitely not the EC2 API
>> that is at fault.
>>
>> Best,
>> -jay
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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




More information about the Openstack mailing list