RFE: channel priority (was "webdav: copying big files makes the session unusable")
Submitted by Victor Toso
Assigned to Spice Bug List
Description
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]