Displaying 6 results from an estimated 6 matches for "virnetclientstreamqueuepacket".
2020 Jan 23
1
Re: virsh vol-download uses a lot of memory
...Problem is that instead of returning NULL to
>> our malloc()-s once the limit is reached, kernel decides to kill us.
>>
>> For anybody with libvirt insight: virNetClientIOHandleInput() ->
>> virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
>> virNetClientStreamQueuePacket().
>>
>>
>> The obvious fix would be to stop processing incoming packets if stream has
>> "too much" data cached (define "too much"). But this may lead to
>> unresponsive client event loop - if the client doesn't pull data from
>> incoming...
2020 Jan 22
4
Re: virsh vol-download uses a lot of memory
...libvirt uses to transfer binary data). Problem is that instead of
returning NULL to our malloc()-s once the limit is reached, kernel
decides to kill us.
For anybody with libvirt insight: virNetClientIOHandleInput() ->
virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
virNetClientStreamQueuePacket().
The obvious fix would be to stop processing incoming packets if stream
has "too much" data cached (define "too much"). But this may lead to
unresponsive client event loop - if the client doesn't pull data from
incoming stream fast enough they won't be able to mak...
2016 Mar 04
0
Re: Why are virsh vol-upload/vol-download so slow?
...000
rpc: Fix slow volume download (virsh vol-download)
Use I/O vector (iovec) instead of one huge memory buffer as suggested
in https://bugzilla.redhat.com/show_bug.cgi?id=1026137#c7. This avoids
doing memmove() to big buffers and performance doesn't degrade if
source (virNetClientStreamQueuePacket()) is faster than sink
(virNetClientStreamRecvPacket()).
Resolves: http://bugzilla.redhat.com/1026137
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvi...
2016 Mar 04
2
Why are virsh vol-upload/vol-download so slow?
I was interested in using 'virsh vol-upload' and 'virsh vol-download',
rather than mucking about directly with the filesystem. But while
simply copying the image is relatively quick:
# ls -l /var/lib/libvirt/images/centos-7-cloud.qcow2
-rw-r--r--. 1 qemu qemu 1004994560 Apr 15 2015 centos-7-cloud.qcow2
# time cp /var/lib/libvirt/images/centos-7-cloud.qcow2
2020 Jan 22
0
Re: virsh vol-download uses a lot of memory
...nsfer binary data). Problem is that instead of returning NULL to
> our malloc()-s once the limit is reached, kernel decides to kill us.
>
> For anybody with libvirt insight: virNetClientIOHandleInput() ->
> virNetClientCallDispatch() -> virNetClientCallDispatchStream() ->
> virNetClientStreamQueuePacket().
>
>
> The obvious fix would be to stop processing incoming packets if stream has
> "too much" data cached (define "too much"). But this may lead to
> unresponsive client event loop - if the client doesn't pull data from
> incoming stream fast enough th...
2020 Jan 22
3
virsh vol-download uses a lot of memory
Hi all:
I am using the libvirt version that comes with Ubuntu 18.04.3 LTS.
I have written a script that backs up my virtual machines every night. I want to limit the amount of memory that this backup operation
consumes, mainly to prevent page cache thrashing. I have described the Linux page cache thrashing issue in detail here: