Bug 87324

Summary: RFE: Improve bandwidth monitoring
Product: Spice Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: RFE (general)Assignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Marc-Andre Lureau 2014-12-15 11:12:10 UTC
See http://www.spice-space.org/page/Features/Bandwidth_monitoring
Comment 1 Frediano Ziglio 2016-08-01 17:36:59 UTC
This is quite interesting... and wrong.

I would add that checking at the beginning of connection you are likely to get a lower value for bandwidth due to window size or congestion algorithms.
The ping has the issue to be not working with proxies.
We should account for bandwidth using all channels.
In the streaming code there are similar computation but one issue is that they don't take into consideration possible packet already queued resulting in reduced bandwidth and higher latency.
There is already a protocol for ping/pong in the channels, we could use that.
Without proxies the estimated RTT can be read using TCP_INFO socket option in Linux (see tcp(7)).
Comment 2 GitLab Migration User 2018-06-03 10:25:00 UTC
-- 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/issues/1.

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.