Wednesday 2 August 2017

Virtual Machine - Edit Settings (CPU) Part 1 (iv)

In my previous post, we have talked about Performance Counter.
In this post CPU Part 6, We are going to talk about Scheduling Affinity


In this screenshot as you can see, I have used vSphere Web Client, Right Click on virtual machine & edit settings.

10. Scheduling Affinity:-  By default, a virtual CPU is scheduled to run on a logical CPU. Using this feature one can restrict a VM to a dedicated LCPU. 
EX:- Lets say we have ESXi with 8LCPU numbered from 0 to 7.
If we are using Scheduling affinity then it can be specified as 1,2,3,4-6 either way means you can specify dedicated LCPU number or the range of LCPU that can be used.
USE CASE:- For CPU Intensive VM performance testing purpose to check whethere scheduling it to dedicated LCPU enhances its performance or to check VMs throughput and response time when pinning it down to LCPU.

No comments:

Post a Comment