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

2016-08-08 Thread Weyl, Alexey (Nokia - IL)
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+...@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.w...@nokia.com<mailto:alexey.w...@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-requ...@lists.openstack.org?subject:unsubscribe<http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2016-08-08 Thread Yujun Zhang
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.w...@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-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2016-08-08 Thread Weyl, Alexey (Nokia - IL)
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-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev