Questions tagged [affinity]
43 questions
31
votes
3 answers
How does Windows processor affinity work with hyperthreaded CPUs?
How does Windows processor affinity work with hyperthreaded CPUs?
Let's use an example (pictured) of a system with four cores, each with a hyper-threaded virtual core.
Which cores correspond to each "CPU" below?
Does (say) CPU 6 and CPU 7 below…
Charles Burns
- 835
23
votes
4 answers
How to set processor affinity on OS X?
How do you set processor affinity in Snow Leopard on a MacBook Pro?I know in Windows you could just switch it in Task Manager.
MarshallBananas
20
votes
4 answers
How do I permanently set the affinity of a process?
I have a game that has issues with CPU usage, so one of the fixes is to disable one core out of a quad core cpu. Since everytime I launch the game I have to manually go into the Task Manager and manually input the affinity, which sucks since the…
yuritsuki
- 1,798
14
votes
6 answers
What is Windows Priority and Affinity and what advatanges does it provide?
What exactly is Priority and Affinity (found within Task Manager) and what are they used for:
In what situations should/could they be used and what advantages are found while customizing these setting.
James Mertz
- 26,529
9
votes
2 answers
How do I set the group and affinity of a Windows executable from the command line
I have an executable foo.exe that I need to run concurrently 6 times on a multiprocessor setup where the first 3 instances will be assigned to cores in Group 0 and the next 3 instances will be assigned to the cores in Group 1.
I have 6 shortcuts for…
Zareh
- 193
8
votes
3 answers
How to set CPU affinity in Wine or CrossOver?
There are some old games who don't like the multicore processors in today's computers. I am wondering if there is a way to set the CPU affinity for them to '1' under Wine or CrossOver? i.e. In a native Windows environment you would right click on…
hpy
- 6,261
6
votes
3 answers
Set default processor affinity for all applications
I'm trying to improve CPU performance in a game, to do this I want to try giving it 2-4 CPU cores that run ONLY that application, and no windows related services. Is there I was where I can set the default affinity for ALL applications, services,…
Novicode
- 207
6
votes
2 answers
Which logical CPU (core) belongs to which socket?
I need to test performance of a multithreaded program on 1 CPU, but I have a dual CPU machine. I need to set affinity to those logical CPU's, that share their socket, oterwise they strongly benefit from larger number of FSB's. I tried affinity 0-7…
6
votes
3 answers
How can I automatically adjust the affinity of a process after it is started?
I want to open some programs in the startup without affecting the performance and I want to create shortcuts to them on my startup folder.
If I can do this with adding modifiers at the end of the location string, it would work well.
Uğur Gümüşhan
- 1,444
5
votes
3 answers
How can I set the default affinity for any process in Windows?
I want to run some benchmarks on Windows 7. These benchmarks have to do with hyper-threading on a multi-core CPU. For this, I want to ensure that only the benchmarks are running on their own logical processor. Is there any way to tell Windows to…
Nathan Fellman
- 9,662
5
votes
1 answer
Running a virtual machine on a dedicated processor or core
Our base system runs on Linux but unfortunately the UI has to be on Windows. Its a long story. But thats the requirement. So our idea was to run Windows in a virtual machine using VirtualBox or Xen. Because of our real-time performance constraints,…
Cocoro Cara
- 125
- 1
- 8
4
votes
0 answers
How to restrict windows service to X cores?
I'm currently trying ot figure out a decent/nice way of determening what core(s) a single service should run on, in Windows Server 2008.
I'm aware that for procceses there is two ways to do it:
set affinity through task manager after proccess is…
Martinnj
- 141
3
votes
2 answers
Is there a way to "hack" windows 10 to use its entire CPU power in one task or process?
I work with applications like Blender, and, according to "Task Manager" and "Resource Monitor", windows uses less than 40% CPU (at most, with the option below) and less than 30% memory when I render a video. I wouldn't be interested in using the…
Ignorante
- 413
3
votes
2 answers
Where does Windows store CPU affinity settings?
I’m experiencing a strange issue in Windows XP. On bootup, any processes spawned by the system (services, autorun programs, etc.) are set to use both of the CPU’s threads. Explorer however, and any programs it spawns are set to use only “CPU 0”.
I…
Synetech
- 69,547
2
votes
1 answer
How do I use linux processor affinity to dedicate 2 cores to user1 and 2 cores to user2?
at first I wanted to dedicate 2 cores(4 threads) to one java PID, and 2 cores(4 threads) to the other. However the volatility of these programs makes me think that they will end up crashing and restarting. I have two users mc5 and mc26. Both run one…
Web Master
- 141
- 3
- 13