Hi all,
I have setup a system of two ultraVnc clients (behind symmetrical NATs) and my own vnc repeater(on a public IP) for testing. I have been using ultraVNC 1.0.5 on XP and Vista machines, repeater rel1.0 on a window server 2003.
The system is working but I experience the result to be very slow when using the repeater.
How can I make the repeater work better and faster?
I have an idea of using an implementation of a ICE server to replace the vnc repeater and change the ultraVnc server/viewer source code to work with my implementation. This will require some coding efforts from me and I'm not sure if this actually will improve the performance. Any thoughts on this?
What I want to achieve is a feature for desktop sharing over the Internet which can be intregrated into a larger project. I have access to both a windows system and a linux system with public IPs.
All ideas on how I can improve the vnc repeater or make a better solution for relaying will be greatly appreciated...
[mod=494,1240868864]moved from 105.6 to SC[/mod]
After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome
2025-12-05: Celebrating the 23th anniversary of the UltraVNC (26th anniversary since the laying of the foundation stone): https://forum.uvnc.com/viewtopic.php?t=38130
2025-12-03: Could you please complete our poll/survey? Renaming UltraVNC files and service to be more clear: https://forum.uvnc.com/viewtopic.php?t=38128
There was a problem to vote, it is solved now! Thanks in advance!
2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page
2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078
2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Speed up or replace the vnc repeater
Speed up or replace the vnc repeater
Last edited by filippo on 2009-12-23 21:11, edited 4 times in total.
Re: Speed up or replace the vnc repeater
I had to look at the repeater (and some port forwarding tools like NetworkActiv AUTAPF ).
I've found that when connecting directly(viewer to server) everything is working fast and smooth. When using the repeater things becomes slower.
In my test i use a generator to make controlled screen updates. So i have a square of 512x512 changing every 100 mSecs (10 fps).
When connected through the repeater i noticed that the updates stops/become slow when i move the mouse.
I performed a test where I used two socket connection (port 5900 and 5901) where i used one to send to the server and the other to receive messages from the server.
Using it directly it was fast using it with AUTAPF it was slow.
I mesaured the time between two rfb update requests and found it was 200 mSec (DingDong
). 200 mSecs sounds like Delayed ACK and related to it the Nagle Algorithm.
Next i adjusted the repeater code to disable the Nagle algortihm and performed the test again. Things where performing as expected. No hickups in the updates when moving the mouse around.
In short to get better repeater performance, I think, disabling Nagle's algoritme should improve the speed.
I've found that when connecting directly(viewer to server) everything is working fast and smooth. When using the repeater things becomes slower.
In my test i use a generator to make controlled screen updates. So i have a square of 512x512 changing every 100 mSecs (10 fps).
When connected through the repeater i noticed that the updates stops/become slow when i move the mouse.
I performed a test where I used two socket connection (port 5900 and 5901) where i used one to send to the server and the other to receive messages from the server.
Using it directly it was fast using it with AUTAPF it was slow.
I mesaured the time between two rfb update requests and found it was 200 mSec (DingDong
Next i adjusted the repeater code to disable the Nagle algortihm and performed the test again. Things where performing as expected. No hickups in the updates when moving the mouse around.
In short to get better repeater performance, I think, disabling Nagle's algoritme should improve the speed.
Re: Speed up or replace the vnc repeater
Its about time sombody paid some attention to the old repeater ... its been lagging behind for some years now ...MrScotty wrote:In short to get better repeater performance, I think, disabling Nagle's algoritme should improve the speed.
I used it once upon a time, but now stick with SSH ...
'If you build it, they will come'
ask a silly question and remain a fool for 5 minutes...
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution: https://www.securetech.com.au/projects/scprompt
https://www.securetech.com.au/
don't ask, and remain a fool for life - JDaus 2003
without imperfections, neither you nor i would exist - Steven Hawkins
__
JD
SCPrompt - OpenSource Free Remote Screen\Desktop Sharing Solution: https://www.securetech.com.au/projects/scprompt
https://www.securetech.com.au/
Re: Speed up or replace the vnc repeater
I agree for remove the Nagle's algoritme of repeater as you said Mr Scotty
UltraVNC 1.0.9.6.1 (built 20110518)
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer
Re: Speed up or replace the vnc repeater
MrScotty
beta repeater 1.0.8.x Nagle's algoritm disabled
[topic=16510][/topic]
tested on LAN OK
beta repeater 1.0.8.x Nagle's algoritm disabled
[topic=16510][/topic]
tested on LAN OK
UltraVNC 1.0.9.6.1 (built 20110518)
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer
Windows OS: XP Home + Vista Business + 7 Home
Only experienced user, [u]not[/u] developer


