[virt-tools-list] virt-manager slow via SSH - but NOT the console

Felicitus felicitus at felicitus.org
Tue Jul 17 23:35:56 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> I assume the latency to the remote system is pretty high, ping
>> will confirm. If that's the case, virt-manager is known to be
>> difficult to use, since all the libvirt API calls we do behind
>> the scenes need to do round trips which really slows things down.
>> Unfortunately there really isn't a good solution that I know of.
> 
> There are, however, some improvements being made to reduce some of
> this pain.  For example, 0.9.13 added virConnectListAllDomains,
> which greatly reduces the number of round trips needed for listing
> the names of all domains.  It may be also worth designing an API
> for batching together other API into a single RPC call, for example
> making it possible to iterate over an array of virDomainPtr in one
> API call instead of having to make one RPC call per domain pointer
> to do the same action on each domain in the array (such as the
> action of querying status).
> 

The latency is 80-100ms for an ICMP ping. I have no idea if that's a
low or high value.

I played a bit around and noticed that when I increase the Update
interval from 60 seconds to 30 minutes, the lags are heavily reduced.
Probably getting the stats from the machines took somewhere between 30
seconds and one minute, causing the connection to be full with status
updates.

I also assume that remote calls are somewhat blocking, because when I
attempt to move around the window, it doesn't get re-drawn. Probably
different threads for stats update and management functions could help.

cheers,
Felicitus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQBfbcAAoJEJYpjrA42x19vZAH/Rbh1pTjA5lFlmUb75FIBZqv
zMIt3cHMMObhG3lECbljdagtDnSfyQlCPx87pT6yDR/vqmS1Fa2JgVUH4IMk2Rsp
5L2+2TmSSBFP7e3TmQrjw5ZKGI9Xv+p1xf9JFds+9XB1toEoX1ta9Z9QodHZEn0r
bl3YVxkfr2ccRXB6Trbe4w0UF+iy3OWXTaGfq2mTrQuE68bVoEay2tpqyaavRU5A
u9rRJpQv/lMQ+jiWK+kZCxcY9MJE9st+KMBjsoSyrecqSym1xMv2ogoB14LkXKdb
lZtdGSOapTQCuBs0aodLHFM1w4+7nMOjYAY4K6fzGIFB/NOfOxcTSCr3h/XME8w=
=mrPN
-----END PGP SIGNATURE-----




More information about the virt-tools-list mailing list