A vCPU stands for Virtual Central Processing Unit. One or more vCPUs are assigned to every Virtual Machine (VM) within a cloud environment. Each vCPU is seen as a single physical CPU core by the VM's operating system.
Questions tagged [vcpu]
36 questions
1
vote
0 answers
"virsh vcpupin" and CPU isolation in ESXi
I am trying to run an application within a VM on ESXi. The application runs a highly latency sensitive thread. It runs in tight polling mode which almost always runs at 99.9% of the CPU and this is expected.
Details of the VM and server:
Number of…

Varun
- 691
- 4
- 9
1
vote
0 answers
Xen PV VM uses max 1 Thread
I am running a CPU benchmark tool (LINPACK) on a PV virtual machine inside Xen 4.5.1 on Ubuntu 15.10 x64 on an IBM x3550 M4 server. This tool should consume all possible CPU cycles available. I allocate 4 vCPUs by defining this in the Xen PV…

roflmaowpimp
- 111
- 2
0
votes
0 answers
How to calculate maximum number of AWS Batch jobs I can run concurrently?
I am using AWS Fargate to run containerized Batch jobs. Before submitting jobs, I need to:
create and push a container to Amazon Elastic Container Registry
create a Job definition (referencing the container from the previous step)
create a Compute…

zabop
- 6,750
- 3
- 39
- 84
0
votes
1 answer
Cloud computing using paid tariffs
Is it possible to estimate or quantify the impact of using paid tariffs with higher computing power? For example for response time?
Is it possible correct answer for this question that if I have cloud with 1 vCPU and cloud with 2 vCPU, then…

kubas126
- 45
- 4
0
votes
0 answers
AWS ECS Task: Why is the container having more CPU core and Memory than what I specified in Task Definition?
I started a stand-alone Task in AWS ECS;
In the Task Definition, I specified 0.5 vCPU and 1 GB Memory
However, when I ssh into the running task container and execute htop to inspect:
I see 3.62GB of memory. Why?
And why is 0.5 vCPU translated into…

Kid_Learning_C
- 2,605
- 4
- 39
- 71
0
votes
1 answer
race condition in KVM with hypercall KVM_HC_KICK_CPU
To implement efficient spinlocks in the VM enviroment, KVM documentation says that
a vcpu waiting for spinlock can execute halt instruction and let the spinlock holder
vcpu get chance for execution, this spinlock holder vcpu can then execute…

zephyr0110
- 223
- 1
- 11
0
votes
0 answers
Unable to collect vCPUs usage from metric query language MQL - GCP
I'm trying to get vCPUs usage (how many vCPUs are used right now) by the following query:
vCPUUsageMonitoringQuery = "fetch consumer_quota\n| metric 'serviceruntime.googleapis.com/quota/allocation/usage' | filter (resource.service ==…

Tzvika Avni
- 91
- 8
0
votes
1 answer
How to get AWS VCPU's utilization number via API
I would like to get the number of AWS VCPU's used by all running instances in the region via GO API, so I can run some preflight checks before I create new instances, to see if there are enough VCPU's available, without increasing the quota.
In…

Tzvika Avni
- 91
- 8
0
votes
2 answers
Kubernetes CPU allocation: is vCore vs vCPU vs core in Azure?
I am running a Java application on an Azure Kubernetes node with a Standard_D8s_v3 VM. I am unsure about CPU allocation for a kubernetes deployment. This mentions that 1 CPU is equals to 1 Azure vCore. However the Azure VM specs mentions that…

Navindu09
- 3
- 1
- 3
0
votes
1 answer
vCPU per physical core
According to Google https://cloud.google.com/architecture/resource-mappings-from-on-premises-hardware-to-gcp
the number of vCPU cores = threads per core × cores per socket × number of sockets
Modern AMD EPYC Zen 3 on Tau T2D plan will have 64…

Victor
- 1
0
votes
1 answer
calculate CPU, Memory, Network usage in a multithreaded application
I would like to have some guidance on how to calculate vCPU, Memory and Network usage for an application that uses multi threads to perform an action every 60 sec.
Let assume I have program that creates multiple thread, and each thread every 60 secs…

Ivan
- 666
- 1
- 7
- 17
0
votes
0 answers
Single-threaded app with multiple vCPUs?
As I learned from different websites like this one, vCPU represents a portion of time of a physical CPU core(s) that is assigned to a VM, where some process is running. And also:
As threads execute (vCPUs are used) they are cycled around the
…

Ruslan Plastun
- 1,985
- 3
- 21
- 48
0
votes
1 answer
Too many fetch failures when running Terasort
I have a 8 node Hadoop cluster, where each node has 24 physical cores with Hyper-threading, thus, 48 vCPUs and 256GB memory.
I am trying to run a 6TB Terasort job.
Problem: Terasort runs with no errors when I use…

Testing123
- 363
- 2
- 12
0
votes
1 answer
Nova Compute - about cpu_allocation_ratio
Compute node running on Physical server with 40 CPUs. Though cpu_allocation_ratio set to 4.0, scheduler_default_filters set to "RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ImagePropertiesFilter,JsonFilter,CoreFilter", when we check…

Perling
- 3
- 1
- 5
0
votes
1 answer
Virtualization: Can I built a 4-core virtual CPU with many physicals processors?
I use a mechanical simulation software that take 5-10 hours to resolve one simulation. My licence software is limited to 4-core.
Spec of machine that actualy run the software:
Windows 7 Pro
1x Xeon E5-2650 v2 2.60GHz (8-core)
32GB Ram
SSD
I'm…

pressorus
- 11
- 2