[openstack-dev] [nova] [vitrage] Nova host list api - performance

Weyl, Alexey (Nokia - IL) alexey.weyl at nokia.com
Mon Aug 8 12:30:04 UTC 2016


I need to check if the data transferred is compressed, but in either way I don’t want to get more than 99% (that the manager object takes) of the data sent for the instance / host / availablility zone, so I would like to get the data without that property.

From: Yujun Zhang [mailto:zhangyujun+zte at gmail.com]
Sent: Monday, August 08, 2016 3:21 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [nova] [vitrage] Nova host list api - performance

Is the data transfer compressed?

If there are lots of repeated pattern in the payload, compressing the content may result in great improvement in performance.
--
Yujun

On Mon, Aug 8, 2016 at 3:19 PM Weyl, Alexey (Nokia - IL) <alexey.weyl at nokia.com<mailto:alexey.weyl at nokia.com>> wrote:
Hi,

I am running the "client.hosts.list()" command in Vitrage to get all the hosts in the system (we also run similar commands for availability zones and instances). Vitrage does this to gain a holistic view of system resources[1].

As part of our performance checks we noticed that when calling client.hosts.list(), the info on each host includes the "HostManager" object, which weighs about 840KB on the oslo messaging bus, which is quite heavy.

We would like to reduce that amount of data transferred, to improve performance. Is it possible to pass some parameter in "client.hosts.list()" so the manager property won't be sent on the bus?

Thanks in advance,
Alexey

[1] https://wiki.openstack.org/wiki/Vitrage


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160808/4142250b/attachment.html>


More information about the OpenStack-dev mailing list