Questions tagged [affinity]
The affinity tag has no usage guidance.
42
questions
0
votes
0
answers
56
views
Setting affinity for ffmpeg on command line not working as expected
I've read lots of articles on starting an application with a specific affinity
This works as expected and I see the the affinity is showing as expected:
start /affinity 3 notepad
However, when I try ...
0
votes
0
answers
13
views
Full Screen Exclusive and 2 displays
Can anyone tell me if its somehow possible to be in 'Full Screen Exclusive' mode across 2 displays?
The issue may also have something to do with using GPU Affinity. I am using the latter to target ...
0
votes
0
answers
199
views
Windows Not Utilizing All Logical Processors
(I originally posted this on Stack Overflow but was directed here. I apologize if this isn't the appropriate forum.)
We have a controller application which starts simulation applications ...
0
votes
0
answers
37
views
Set affinity for started process with windows bash (and use same terminal window)
I open MSYS2 bash to start another app (ruby for example).
Then I can use Process Explorer or Task Manager to set the affinity for ruby process.
Is it possible to set it directly from bash when ...
0
votes
0
answers
469
views
Is there a way to disable a specific CPU core in Windows 10?
After some experimentation with stress testing tools, I have determined that one specific core on my system has issues with AVX/AVX2 instructions, and I wish to completely disable that core. There is ...
1
vote
0
answers
140
views
Change affinity of process with batch script
Change affinity of process with batch script:
"C:\Program Files\Microsoft Office\Office16\MSACCESS.EXE /C Start /affinity 1" "E:\Lapu\CM.accdb" /x "001"
Unable to get ...
1
vote
1
answer
248
views
How can I clear core0 of any interrupts?
So by default windows is using core 0 for most driver work, for some reason it prefers that core over the others.
With interrupt affinty policy tool, I can move some of the devices using core0 for ...
0
votes
4
answers
2k
views
Change affinity while process active
I'm running a CPU consuming process (calculate mandelbrot set) and that process takes almost 100% of the CPU (I have 8 cores on my machine). when I change the affinity to half of the cores the CPU ...
0
votes
1
answer
293
views
How to remove and prevent all processes except one that I choose from certain core in practice (win10)?
Problem: I have a single core process that has oscillating load (sc2 path optimizer).
How can I make a script that moves this process to a certain core and prevents other processes to enter that core?...
-1
votes
1
answer
484
views
CPU under load despite removing all process affinities [duplicate]
I've installed Process Lasso and in All processes tab, set all affinities to 1-7, meaning that all the processes can be start on all my CPUs except the first one. Yet, there is a huge load on my first ...
0
votes
1
answer
3k
views
launching a program with cpu affinity AND priority presets
I'm trying to create a shortcut for Traktor pro 2 which assigns the programs priority level and core assignments. In this case i'm trying to launch Traktor with realtime priority, set to function on ...
2
votes
0
answers
2k
views
What process controls the CPU affinity of new python processes
I wrote code to set the affinity of every process under my username to core 0 only. I ran this code, and then it exited once it was finished.
Then, even when I launched a brand new terminal, and ...
0
votes
0
answers
1k
views
set affinity for program with bat, not working
I want to create a .bat file for a program as opposed to having to instruct a someone how to set affinity himself. This is a program that can crash when it uses too many cores due to an elusive bug (...
0
votes
1
answer
55
views
If Affinity on Windows is set on 1 thread only, does it eliminate problems with thread-unsafe software?
Say I have a third party software executable I can't really edit or alter in anyway or debug properly. I suspect it has issues with multithreading in a way that it segfaults the application due to ...
1
vote
1
answer
7k
views
Set program affinity without opening the task manager in Windows 8.1
Is it possible to set program affinity without opening the task manager in Windows 8.1 using the program shortcut? (by using a command like -setaffinity)
Is this method (changing affinity) a good way ...
2
votes
2
answers
4k
views
Force Windows to use all cores
I've got Win8.1, and an Intel CPU with 2(4) (logical) Cores.
BUT: Windows only uses 1 core. The Taskmanager shows the 1st CPU permanently at 100%; all others are mostly idle.
After several hours of ...
8
votes
2
answers
8k
views
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 ...
0
votes
0
answers
259
views
Set .exe affinity without shortcut
I do not want to state an incomplete XY problem, so here's the full situation:
X
I am running builds in Visual Studio on my Windows 7 machine, using both parallel builds and parallel compilation. ...
2
votes
2
answers
2k
views
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 ...
20
votes
4
answers
43k
views
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 ...
0
votes
0
answers
2k
views
setting affinity for multiple cores on dual cpu system
We are using some systems with 2cpu's with 6 cores/12 threads each so 24 threads in total, for quite a lot of multitread simulations. Because the problem doesnt scale perfectly, i usualy run 4 ...
1
vote
1
answer
2k
views
How can I set CPU affinity for a device driver in Windows 7?
Does anybody know how to set on which core a device driver will run and process its interrupt requests?
Situation:
I'm having iusb3hcs.sys and acpi.sys causing lags when my soundcard processes ...
2
votes
1
answer
2k
views
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 ...
0
votes
1
answer
1k
views
Automatically distributing applications' CPU usage between cores (Windows 8)
I have an Athlon 8 core CPU (4 h/w, 8 logical) and I find that it rarely goes above 12.5% usage. I read this article which explains why, and that there are two solutions:
Set processor affinity for ...
0
votes
0
answers
439
views
How does Windows affinity work with hyperthreaded CPUs?
Let me describe our requirement in detail. We are doing some kind of assignment which requires capturing of IP data through NIC card and then processing the captured data in real time. The processing ...
1
vote
0
answers
16
views
DarkEngine processor affinity bug
Does anybody know what was happening in DarkEngine at multiprocessor systems? The problem was:
Application run, but crashed if it had more than one processor affinity. Why was it happening?
6
votes
3
answers
9k
views
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 ...
4
votes
0
answers
1k
views
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 ...
1
vote
0
answers
275
views
On windows 7 - Set core Affinity on boot, Or bulk affinity/tasking tool? (Like a KsysGuard for windows)
Not even sure if its possible but:
you know how you can set custom scheduling in Linux.
→ and sure, I can set affinity for Windows 7 Programs one @ a time.
But do you know of a tool that would allow ...
6
votes
2
answers
4k
views
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 ...
1
vote
0
answers
576
views
How to set affinity on multi-socket system (2 CPUs)
I have a machine with two six-core processors (hyper-threading turned off). I understand how to set the affinity for a program using the command line when there is only one processor, but how do you ...
0
votes
2
answers
728
views
Setting process affinity in Linux
In Windows, it is possible to make a program run on any number of cores in a multicore processor. It can be set in the Task Manager GUI.
Likewise, Is it possible to set the process affinity in Linux, ...
3
votes
2
answers
3k
views
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 ...
6
votes
3
answers
6k
views
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 ...
5
votes
3
answers
22k
views
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 ...
31
votes
3
answers
18k
views
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 &...
5
votes
1
answer
7k
views
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. ...
1
vote
1
answer
4k
views
"execvp: no such file or directory" when attempting taskset on a running process
I have a process, PID 7150.
I want to assign the process to core #4 of my system. (Core numbering starts with zero, so the fourth core should be core #3)
I know I can do this by using Taskset. ...
14
votes
6
answers
64k
views
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 ...
0
votes
1
answer
138
views
Is it possible to set a more generic process affinity (automatically)?
I know with start /affinity X where X is a hex-number bit-masking the CPUs to be used a process can be started to use certain CPUs only. However, is there a possibility to state something like "start ...
19
votes
4
answers
37k
views
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.
8
votes
3
answers
9k
views
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 ...