Displaying 2 results from an estimated 2 matches for "virnetclientstreamptr".
2020 Jan 23
1
Re: virsh vol-download uses a lot of memory
...) - to slow down putting incoming stram packets onto the
queue:
diff --git i/src/rpc/virnetclientstream.c w/src/rpc/virnetclientstream.c
index f904eaba31..cfb3f225f2 100644
--- i/src/rpc/virnetclientstream.c
+++ w/src/rpc/virnetclientstream.c
@@ -358,6 +358,7 @@ int
virNetClientStreamQueuePacket(virNetClientStreamPtr st,
virNetClientStreamEventTimerUpdate(st);
virObjectUnlock(st);
+ usleep(1000);
return 0;
}
But any attempt I've made to ignore POLLIN if stream queue is longer
than say 8 packets was unsuccessful (the code still read incoming
packets and placed them into the queue)...
2020 Jan 22
4
Re: virsh vol-download uses a lot of memory
On 1/22/20 11:11 AM, Michal Privoznik wrote:
> On 1/22/20 10:03 AM, R. Diez wrote:
>> Hi all:
>>
>> I am using the libvirt version that comes with Ubuntu 18.04.3 LTS.
>
> I'm sorry, I don't have Ubuntu installed anywhere to look the version
> up. Can you run 'virsh version' to find it out for me please?
Nevermind, I've managed to reproduce with