Questions tagged [affinity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
18 views

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 ...
0
votes
2answers
41 views

How to bind static affinity for *all* Linux processes at startup?

I have one single-threaded process on server that I'd like to statically bind to one CPU core and give it all available computing power all the time (it's real-time process that is heavily affected by ...
0
votes
1answer
270 views

How to properly configure ESX VMs to use hyper threading in a usefull way?

I've a kind of specific question that I was unable to find an answer for in the official documentation of VMware or on some other very useful threads here on this platform, so here it is: I've got a ...
0
votes
0answers
401 views

Anti-Affinity Rules not Enabling in vCenter 6.0

Can anyone please help. I am building a new vCenter with 3 hosts, all running VMWare ESXi 6.0. I currently have about 16-18 VMs created. I have been able to create a number of Affinity and Anti-...
3
votes
0answers
1k views

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 ...
1
vote
0answers
473 views

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 ...
2
votes
1answer
335 views

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 ...
0
votes
1answer
612 views

FreeBSD IRQ Affinity using cpuset. No mather use hexa or dicimal for -l #IRQ parameter?

I just put my FreeBSD 10.2-STABLE router in production running with Quagga 0.99.24.1, compiled throught Ports. After pass all traffic to this machine the load of S.O. been very hight and everything ...
0
votes
1answer
2k views

Set CPU affinity for all processes of specific user with taskset

I have ubuntu server 14.04, and I'm wondering if there is any easy way to achieve this task. For example, I can already do this for single processes with taskset -pac 2 29435, but is there any way to ...
3
votes
2answers
2k views

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: $...
1
vote
1answer
3k views

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 ...
1
vote
1answer
116 views

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 ...
6
votes
3answers
4k views

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-...
0
votes
1answer
95 views

IO does not share in multiple CPU

In my linux server IO doesnot share in multiple CPU. as below output ata_piix intrupts share in only cpu0 [root@manage ~]# uname -a Linux manage 3.14.24-1smp #12 SMP Tue Mar 17 15:33:27 IST 2015 ...
8
votes
1answer
8k views

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 ...
4
votes
2answers
1k views

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 ...
1
vote
2answers
5k views

What does cpu-pinning mean in context of KVM hypervisor with multiple virtual machines

I am looking at configuring a KVM hypervisor to have some virtual machines. THe KVM hypervisor has 8 physical cores (16 with HyperThreading). I want to create 8 virtual machines on it but I am not ...
1
vote
1answer
606 views

Linux interrupt affinity

We have a HP DL980 running SuSE Linux Enterprise Server 11 sp2. The machine hosts a PCIe digital IO card which is used to send a clock signal to sychronise with other machines. If we do a top, one ...
13
votes
1answer
11k views

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 ...
3
votes
2answers
5k views

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 ...
1
vote
1answer
492 views

Smss.exe - setting any core affinity breaks rdp on Windows 7 / Windows Server 2012

I have tried to set core affinity of smss.exe to not run on one critical core on Windows 7 and Windows Server 2008r2. It turns out that simply setting the core affinity to anything (even the full mask ...
1
vote
3answers
2k views

cset as non-root to set cpu affinity for running processes

I've been playing with cset to set cpu affinity for running processes. I'm recreating the built-in "shield" function manually with set and proc, to add some subsets for specific threads of my ...
0
votes
2answers
2k views

How to set network interface affinity under Ubuntu Linux?

I have a multihomed linux box with 6 network interfaces that I'm using to run some tests of router hardware. I would like to be able to set "NIC affinity" (for lack of a better term) on an arbitrary ...
0
votes
1answer
368 views

Irregular interrupts balance in AMD Opetron Quad-Core

I had a problem with CPU7 overload. I found that it was caused by the eth0 interrupts, as you can see on below cat /proc/interrupts. I'm using 2.6.35.2 kernel and Quad-Core AMD Opteron(tm) Processor ...
0
votes
3answers
2k views

linux, set affinity for init

What is a most convenient way to set affinity mask for init process in linux (debian) on the startup the system? I know about taskset, but i want set affinity mask for init on it's startup, so all ...
2
votes
1answer
447 views

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%, ...
2
votes
3answers
3k views

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 ...
4
votes
2answers
1k views

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 ...