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

How do you specify a --Specific Core/CPU-- for UVNC to use?

Post Reply
tgucm
8
8
Posts: 9
Joined: 2010-02-22 03:40

How do you specify a --Specific Core/CPU-- for UVNC to use?

Post by tgucm »

Hi guys,

On multi-core/multi-cpu systems how do we tell UVNC to only use a specific set of cores/cpus? and to ignore others?


For instance in a dual Quad-Core system:
Use:
(CPU1)
core2
core3

(CPU2)
core3

Don't use:
(CPU1)
core1
core4

(CPU2)
core1
core2
core4


Thanks in advance :)
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by YY »

I had used a freeware called Get and Set CPU Affinity for other application with same requirement. You may take a trial to see if it can help.

However, it is designed for XP only, but now it has a beta for Vista/Win7.
B
800
800
Posts: 2337
Joined: 2009-09-09 14:05

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by B »

Maybe put it in a VM under a hypervisor that can do that for you?

But I'm curious -- what would be the point?
tgucm
8
8
Posts: 9
Joined: 2010-02-22 03:40

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by tgucm »

@B: I'll talk with our manager about that and see what he thinks, I can't believe I didnt think about that one ;-)

The main reason for this is because several of our software engineers have written verrrry specific hardware programs that use specific cores in order to maximize perfermance and then something about "cuting down or eliminateing random lag" by dedicating a core and specific address set of ram for their programs..

oddly enough.. it actually seems to work for them sooo :roll: i dunno seems confusing to me too lol


@YY: thanks I''ll look into that one too as i know that one server is supposed to remain XP for a while ut the others run Windows Server 2008
B
800
800
Posts: 2337
Joined: 2009-09-09 14:05

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by B »

Specific address set of RAM?? Sounds like they're boxing themselves into a corner, but good luck.

If these things are as performance-dedicated as you indicate, you might want to look at something like IP KVM switches rather than any software remote control programs like VNC. VNC's an awfully bloated thing all in all. Also, at worst case, since your programmers seem to be so adept at manipulating CPU assignments, they could always add the appropriate multithreading code to the (mostly open source) VNC program themselves.

Anyway, I see that the moderately hateful Tom's Hardware site has a program called "TaskAssign" that may do what you want.

http://www.tomshardware.com/reviews/ban ... k,815.html


Also, you can "set affinity" right in plain old Task Manager!

http://www.addictivetips.com/windows-ti ... n-windows/
tgucm
8
8
Posts: 9
Joined: 2010-02-22 03:40

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by tgucm »

Thanks, B!! Good advice all around :)
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by YY »

B wrote:Also, you can "set affinity" right in plain old Task Manager!

http://www.addictivetips.com/windows-ti ... n-windows/
You can't change the Affinity of system service via Task Manager.

So this method works only if UVNC is running under application mode.

In general, most UVNC server is started as service.
tgucm
8
8
Posts: 9
Joined: 2010-02-22 03:40

Re: How do you specify a --Specific Core/CPU-- for UVNC to u

Post by tgucm »

@YY: Yep you're absolutely right; I've noticed that on other servies as well :)
Post Reply