Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- 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: 2338
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: 2338
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