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
25
votes
2 answers
What is vCPU in AWS
In AWS service, I see a section in ECS Fargate for vCPU which is choosable from 0.25 to N value,
I see lots of documentation on How to configure these vCPU value
but I didn't see any doc on the difference between the values of vCPU
Example : …

Harry
- 3,072
- 6
- 43
- 100
22
votes
5 answers
Is 1 vCPU on Google Compute Engine basically half of 1 physical CPU core?
Google's Machine types page states that:
For the n1 series of machine types, a virtual CPU is implemented as a
single hardware hyper-thread on a 2.6 GHz Intel Xeon E5 (Sandy
Bridge), 2.5 GHz Intel Xeon E5 v2 (Ivy Bridge)...etc
Assuming that a…

gunit
- 3,700
- 4
- 31
- 42
4
votes
1 answer
Cloud Composer pricing
I've set up a cloud composer environment and I'm very confused with the pricing. In the pricing page, it's written that any environment would have at least 2 DB vCPU and 2 Web server vCPU.
Further in the page, it's written that it's possible to…

Nicoowr
- 770
- 1
- 10
- 29
4
votes
2 answers
How do I find out how many CPUs (vcpus) my XEN system has?
If I start top or look into /proc/cpuinfo, I see only two CPUs. If I view the values displayed for my system with virt-manager, that tool shows me 32 vcpus (which is the value I think is correct).
I failed (yet) to find out on a script-level on the…

Alfe
- 56,346
- 20
- 107
- 159
3
votes
1 answer
Sharing of resources on AWS
I am interested in understanding the way in which the hardware resources (CPU, disk, network, etc.) of an AWS physical server is shared between different applications. Do people have experiences about inexplicable performance changes in services…

user3249763
- 117
- 3
- 15
2
votes
1 answer
How to get total vCPU's count via GCP API
I would like to call GCP API call to get vCPU's total count. If all my instances use 280 vCPUs, I want to get 280 in the response.
I can get the vCPU limit via the API metrics using…

Tzvika Avni
- 91
- 8
2
votes
1 answer
why when creating e2-small it shows it has 2 vCPU and when checking configuration it shows it has only 1 vCPU on gcp?
This is what I get when creating a e2-small machine
This is what I get when checking the machine after creation:
This is what is shown on the page https://cloud.google.com/compute/vm-instance-pricing:
*This is what I get when using cat…

John Balvin Arias
- 2,632
- 3
- 26
- 41
2
votes
2 answers
How can I get CPU usage of VM(KVM)
How can I get the cpu usage of vm in KVM like virt-manager?
virt-manager monitoring vm cpu usage
Libvirt didn't provide API.
Does anyone know how to get vm cpu usage from host?

dommgifer
- 71
- 1
- 1
- 7
1
vote
0 answers
Getting current GCP vCPUs usage with MQL
I'm using the following monitoring query to get the current maximum vCPUs utilization (how many are used).
fetch consumer_quota
| metric 'serviceruntime.googleapis.com/quota/allocation/usage'
| filter
(resource.service == 'compute.googleapis.com')…

Tzvika Avni
- 91
- 8
1
vote
0 answers
How does Linux schedule vCPUs equitably without any real insight into the workloads executing on them?
Considering that to the kernel VMs are mostly opaque pieces of code running on vCPUs,how is Linux able to schedule the workloads equitably?
Does it blindly round robin them? That seems like it could degrade overall system throughput pretty badly. I…

Ziffusion
- 8,779
- 4
- 29
- 57
1
vote
0 answers
C# .NET Core 3.1 - Tasks in Ubuntu VM only using 1 vcpu not all vcpus
I have an application that spins up a bunch of HttpListener GetContextAsync' tasks- one per request ideally
However when running a stress test (Hitting it with JMeter) i seem to be CPU bound but to only 50% cpu usage in total (Machine has 2…

Josh
- 11
- 1
1
vote
1 answer
In Azure I have no Resource Groups, but it says that I have 'Insufficient number of vCPUs'
In azure I created two AKS clusters, then deleted them and now I want to create another one with B2s VM size, but it says that I have insufficient number of vCPUs, I deleted all the resource groups and I ran in console 'az vm list-usage --location…

Ruben Aleksanyan
- 93
- 2
- 10
1
vote
2 answers
Does .NET Core have a 64 vCPU limit?
I have an .NET Core application that starts up 512 Tasks that populate an AI network. I'm performing scaling tests and I've run benchmarks on 2, 4, 8, 16, 32 and 64 processor machines in Azure. All of the benchmark tests use 100% of the available…

Quark Soup
- 4,272
- 3
- 42
- 74
1
vote
2 answers
Android Studio Error: VCPU Shutdown request
I,m running Intel Core i3, 4 GB Ram, 32bit, HAXM Version 7.2.0
Android emulator: Nexus 5X API 28
I give the following command in the terminal:
E:\Android_SDK\emulator>emulator @Nexus_5X_API_28
HAX is working and emulator runs in fast virt…
user8753545
1
vote
0 answers
Do multiple vcpu help if you are using nodejs without multithread?
I am using google cloud compute engine and it recommends using their 2vcpu machine type. However I'm only using nodejs and it is a single thread application. WIll it make a difference

Tommy Dong
- 9
- 2