Skip to content

Commit 83ac097

Browse files
authored
docs(ins): update doc shared/dedicated cpu (#4904)
* docs(ins): update doc shared/dedicated cpu * docs(ins): update shared / dedicated vcpu doc * Update pages/instances/reference-content/choosing-shared-vs-dedicated-cpus.mdx
1 parent 5ba2068 commit 83ac097

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

pages/instances/reference-content/choosing-shared-vs-dedicated-cpus.mdx

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,43 @@ content:
88
categories:
99
- compute
1010
dates:
11-
validation: 2025-04-18
11+
validation: 2025-04-30
1212
posted: 2025-04-18
1313
tags: instance, cpu, vcpu, shared, dedicated
1414
---
15-
1615
When deploying a Scaleway Instance, selecting the appropriate CPU provisioning is key for optimizing performance and cost.
1716

1817
All Instances are deployed on large, powerful physical servers powered by the latest datacenter-grade CPUs. A hypervisor splits the large physical machine into smaller virtual units on these machines.
18+
1919
The hypervisor manages the allocation and scheduling of physical resources such as CPU or RAM. While RAM is always allocated dedicated per Instance, two types of CPU provisioning are available: **shared** and **dedicated** vCPUs.
2020

2121
Understanding the difference between these two techniques is key to making an informed decision about the best Instance for your application.
2222

2323
## Comparison of shared and dedicated vCPU Instances
2424

2525
| Feature | Shared vCPU | Dedicated vCPU |
26-
|---------------------------------|----------------------------------------------------------|----------------------------------------------------------------|
27-
| Performance consistency | Variable – depends on other workloads on the host | High – consistent and predictable performance |
28-
| Cost | Lower | Higher |
29-
| Use case | General workloads, low-traffic apps | Production apps, high-performance workloads |
30-
| CPU access | Split with other Instances | Exclusive access to physical cores |
31-
| Best for | Personal blogs or forums, staging environments | CI/CD, eCommerce, gaming, ML workloads |
32-
| Resource contention risk | Possible during peak usage | None |
33-
| Latency sensitivity | Not suitable for latency-sensitive apps | Ideal for latency-critical applications |
26+
|---------------------------------|------------------------------------------------------------|----------------------------------------------------------------|
27+
| CPU access | Physical cores shared across multiple Instances | Exclusive access to physical CPU cores |
28+
| Isolation | Strong virtual isolation, no data sharing between Instances| Full physical resource isolation |
29+
| Performance consistency | Variable – depends on other workloads on the host | High – consistent and predictable performance |
30+
| Resource contention risk | Possible during peak usage | None |
31+
| Latency sensitivity | Not suitable for latency-sensitive apps | Ideal for latency-critical applications |
32+
| Cost | Lower | Higher |
33+
| Use case | Dev/staging, personal projects, blogs, low-traffic sites | Production apps, eCommerce, CI/CD, ML, real-time processing |
34+
| Best for | Non-critical or experimental workloads | Business-critical, latency-sensitive or high-performance workloads |
3435

3536
## Shared vCPU Instances
37+
3638
Shared vCPU Instances, including [Learning](/instances/reference-content/learning/) and [Cost-Optimized](/instances/reference-content/cost-optimized/), are cost-effective virtual machines in which CPU resources are shared among multiple Instances.
37-
This means multiple virtual CPU cores are allocated to these Instances, but the physical CPU cores available on the hypervisors' hardware are shared among them.
39+
40+
This means that while each Instance gets its own vCPUs, these vCPUs are scheduled on physical cores that are shared across multiple Instances.
41+
3842
As a result, Instances share physical CPU time, and during peak demand from other Instances on the same host, your workloads might temporarily slow down due to CPU contention (also known as "CPU steal").
43+
3944
While physical CPU threads are shared between Instances, vCPUs are dedicated to each Instance, and no data can be shared or accessed between Instances through this setup.
4045

4146
### Typical use cases
47+
4248
- Development and staging environments
4349
- Small and non-critical production environments
4450
- Low to medium-traffic websites
@@ -49,15 +55,19 @@ While physical CPU threads are shared between Instances, vCPUs are dedicated to
4955
- Small-scale applications with limited traffic
5056

5157
### Summary
58+
5259
- Shared vCPU Instances provide an affordable solution for non-critical workloads.
5360
- CPU performance is less predictable and may fluctuate depending on neighboring workloads ("noisy neighbors").
5461
- During peak usage, your workloads might experience temporary slowdowns due to CPU steal.
5562

5663
## Dedicated vCPU Instances
64+
5765
Dedicated vCPU Instances, including [Production-Optimized](/instances/reference-content/production-optimized/) and [Workload-Optimized](/instances/reference-content/workload-optimized/), provide exclusive access to physical CPU cores.
66+
5867
This ensures consistent and predictable performance at all times. Dedicated vCPU Instances are perfect for applications that require high CPU utilization and low latency.
5968

6069
### Typical use cases
70+
6171
- Production applications with high CPU demands
6272
- eCommerce platforms and business-critical services
6373
- Game servers requiring low latency
@@ -68,22 +78,21 @@ This ensures consistent and predictable performance at all times. Dedicated vCPU
6878
- High-traffic websites and applications
6979

7080
### Summary
81+
7182
- Dedicated vCPU allocation ensures consistent and predictable performance.
7283
- No risk of performance degradation due to neighboring workloads.
7384
- Dedicated vCPU Instances are more expensive than shared vCPU Instances but offer guaranteed CPU performance.
7485

75-
## Choosing the best configuration
86+
## Choosing the right configuration
7687

7788
Choose **shared vCPU** Instances if:
78-
7989
- You are running non-critical or experimental workloads
8090
- Budget is a priority over performance consistency
8191

8292
Choose **dedicated vCPU** Instances if:
83-
8493
- Your application requires stable, predictable CPU performance
8594
- You are in a production environment with strict performance requirements
8695

8796
Consider your needs and workload requirements to choose the best vCPU provisioning option for your Scaleway Instance.
8897

89-
For more details about available Instance types, refer to [Choosing the best Scaleway Instance type for your workload](/instances/reference-content/choosing-instance-type/).
98+
For more details about available Instance types, refer to [Choosing the best Scaleway Instance type for your workload](/instances/reference-content/choosing-instance-type/).

0 commit comments

Comments
 (0)