Libvirt and SSH vs TCP

Hello,

I am setting up my development environment and I have my hypervisor
reachable over network and VPN. I have found out that QEMU+SSH is really
slow when logging in using libvirt (e.g. virsh) and QEMU+TCP is much
faster.

So I configured that and virsh is pretty fast with logging in, also
doing "list --all" is quick (up to the second).

But when I try to list Virtual Machine on my defined Computer Resource
which uses QEMU+TCP, it takes approx. 20 seconds to get the list from my
Foreman instance.

What can be causing the slowness?

Thanks!

··· -- Later,

Lukas “lzap” Zapletal
#katello #systemengine