With patches from: http://lists.freedesktop.org/archives/spice-devel/2015-May/019796.html While copying big files from guest to client by putting those files in the shared folder, the sessions freezes. channel-webdav and spicevmc have a heavy workload repeating the following debug over and over again. (I've included a debug on phodav to check the amount of data requested each time, which is 8192 bytes). The sessions is normal once the file has been copied. Client and Guest: f22 Using spicy with latests spice-gtk git with above patches applied. (spicy:22059): GSpice-DEBUG: channel-webdav.c:491 webdav-11:0: start demux (spicy:22059): GSpice-DEBUG: vmcstream.c:134 spicevmc co_data complete: 8/8 (spicy:22059): GSpice-DEBUG: channel-webdav.c:588 webdav-11:0: len:2 buf:0x1abd52f0 (spicy:22059): GSpice-DEBUG: vmcstream.c:121 spicevmc co_data (nil) (spicy:22059): GSpice-DEBUG: vmcstream.c:134 spicevmc co_data complete: 2/2 (spicy:22059): GSpice-DEBUG: channel-webdav.c:588 webdav-11:0: len:32768 buf:0x1ac06aa0 (spicy:22059): GSpice-DEBUG: vmcstream.c:121 spicevmc co_data (nil) (spicy:22059): GSpice-DEBUG: vmcstream.c:134 spicevmc co_data complete: 32768/65535 (spicy:22059): GSpice-DEBUG: channel-webdav.c:588 webdav-11:0: len:32767 buf:0x1ac06aa0 (spicy:22059): GSpice-DEBUG: vmcstream.c:121 spicevmc co_data 0x13ca170 (spicy:22059): GSpice-DEBUG: vmcstream.c:134 spicevmc co_data complete: 32767/65535 (spicy:22059): GSpice-DEBUG: channel-webdav.c:588 webdav-11:0: len:8 buf:0x1abd52f0 (spicy:22059): GSpice-DEBUG: vmcstream.c:121 spicevmc co_data (nil) (spicy:22059): GSpice-DEBUG: channel-webdav.c:337 webdav-11:0: pushing 65535 to client 0x5327f70 (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8192] (spicy:22059): phodav-DEBUG: PUT got chunk | length[8191]
Just a quick test lowering the I/O priority to G_PRIORITY_LOW does not help.
I'm not being able to reproduce anymore, I'll try with bigger files soon.
(In reply to Victor Toso from comment #2) > I'm not being able to reproduce anymore, I'll try with bigger files soon. Tested again with bigger files (2GB and 4GB) The session does not freeze anymore but the session is obviously slower. It should be enough to decrease channel-webdav priority while copying to improve the user experience.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/7.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.