Questions tagged [affinity]
30 questions
17
votes
1 answer
Taskset not working over a range of cores in isolcpus
To preface I'm using Debian Wheezy with kernel 3.2 on an AMD64 chipset. My machine has two Xeon E5-2690 cores. I set up the boot parameters so that all the cores on one CPU are dedicated to a single process. To do this I've set…
user79126
- 449
- 1
- 4
- 9
8
votes
1 answer
Is it possible to set the processor affinity of a service, and persist this affinity across reboots?
Is there a setting that can be changed (or a reg key that can be added) to set the processor affinity of a service? I would want to set the affinity, and keep this setting across reboots (so manually changing the affinity after starting the service…
EGr
- 575
- 3
- 12
- 29
6
votes
3 answers
VMware CPU Hyper Threading Scheduling Affinity
I have looked everyware and read a bunch of documentation on this but haven't found a direct answer so here it goes:
There is a setting in the "Resources" Tab in vCenter that lets you configure Hyper-threading Core Sharing. I have this set to…
Mike Myers
- 63
- 1
- 3
4
votes
2 answers
CPU Affinity setting not sticking
I'm attempting to set the affinity of mysql (latest Percona Server) on a 4vCpu VPS virtualized with OpenVZ and running CentOS 6.x.
The command I'm running is taskset -pc 0-1 1026. I've also tried 0,1 instead. The output is:
pid 1026's current…
Tim
- 143
- 2
- 7
4
votes
2 answers
How to manage processes-to-CPU cores affinities?
I use a distributed user-space filesystem (GlusterFS) and I would like to be sure GlusterFS processes will always have the computing power they need.
Each execution node of my grid have 2 CPU, with 4 cores per CPU and 2 threads per core (16…
Philippe
- 283
- 1
- 7
3
votes
0 answers
Cannot balance eth0 IRQs across CPUs
I have servers which deal with a large number of network packets. I've seen evidence that user space processes running on CPU0 have their performance impacted when network load is high. I'm fairly sure this relates to interrupt handling,…
Andrew Parker
- 131
- 2
3
votes
2 answers
Run PowerShell script with Service Start
I'd like to set the Affinity and Priority of a service process when it is started (without modifying the service/process code, I don't own the code, it's a 3rd party service).
I know I can do:
$Process = Get-Process…
XyberICE
- 141
- 8
3
votes
2 answers
Any way to make a program run on a specific core on launch?
I have a program that runs on my server, I want to run multiple instances of the same program (its an application that can only run on a single core..), im wondering if I can assign them to a core at runtime? using a batch script or something? Im…
James T
- 147
- 1
- 9
2
votes
1 answer
Azure App Service Errors after VIP Swap - Affinity Bug?
OK, this is a really weird one and I'm not even sure how to properly describe it. We had a customer complain that a specific page on our website wasn't working, and one of our internal technicians was able to reproduce the issue as well. Most of…
mellamokb
- 133
- 1
- 5
2
votes
1 answer
Three server processes consume no more than 50% of Dual Core CPU
I have three processes running on Intel Core 2 Duo CPU. From watching output of 'top' and graphs of CPU load (drawn by MRTG, data collection via SNMP) I can see that CPU load is never more than 50%, and, most of the day, when those processes are…
thor
- 648
- 1
- 7
- 18
2
votes
3 answers
Setting affinity on windows server 2003
I have a program that by default only runs on one CPU. I have tried using the start /affinity x notepad.exe batch command but i can't get it to run my program. it changes the title of the command line window but doesn't execute the program. this…
Samuel
- 150
- 1
- 8
2
votes
1 answer
Set CPU affinity for specific VM on vmware ESXI using govc CLI
I have shell scripts that I use to programmatically configure my Virtual Machines (VMs) on my vmware ESXi host. I use the "govc" command-line-interface (CLI) which provides a suite of commands to configure my VMs that run on my ESXI (i.e. powering…
ennth
- 131
- 3
1
vote
0 answers
CPU Affinity for Linux VM
I have a Ubuntu Linux VM running on VMWare, and I have changed the CPU affinity for multiple processes using the taskset command. The VM has 16 cores allocated to it, and so does the actual server that contains the VMWare hypervisor. Is there anyway…
mariahm24
- 11
- 1
1
vote
1 answer
Setting affinity for network interrupts in Windows Server 2012 R2
We have an application that sends and receives a lot of network traffic - but interrupts are causing us to get lower than max performance. At 20 Mbps input and 20 Mbps output (on a 1 Gbps line), the network interrupts use 100% of core 0 and the…
akonskarm
- 13
- 1
- 4
1
vote
1 answer
Application Performance & Interrupt Affinity
Quoting the RedHat Performance Tuning Guide
3.3.7. Setting interrupt affinity
Interrupt requests have an associated affinity property, smp_affinity,
that defines the processors that will handle the interrupt request. To
improve application…
user3513346
- 87
- 3
- 9