Skip to content

Commit 5f6912b

Browse files
committed
docs(ins): update doc shared/dedicated cpu
1 parent 6664522 commit 5f6912b

File tree

1 file changed

+51
-42
lines changed

1 file changed

+51
-42
lines changed

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

Lines changed: 51 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,82 +8,91 @@ 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
42-
- Development and staging environments
43-
- Small and non-critical production environments
44-
- Low to medium-traffic websites
45-
- Personal blogs and forums
46-
- Applications tolerant to occasional performance variability
47-
- Worker nodes in container orchestration clusters such as Kubernetes
48-
- Experimental or proof-of-concept projects
49-
- Small-scale applications with limited traffic
47+
48+
- Development and staging environments
49+
- Small and non-critical production environments
50+
- Low to medium-traffic websites
51+
- Personal blogs and forums
52+
- Applications tolerant to occasional performance variability
53+
- Worker nodes in container orchestration clusters such as Kubernetes
54+
- Experimental or proof-of-concept projects
55+
- Small-scale applications with limited traffic
5056

5157
### Summary
52-
- Shared vCPU Instances provide an affordable solution for non-critical workloads.
53-
- CPU performance is less predictable and may fluctuate depending on neighboring workloads ("noisy neighbors").
54-
- During peak usage, your workloads might experience temporary slowdowns due to CPU steal.
58+
59+
- Shared vCPU Instances provide an affordable solution for non-critical workloads.
60+
- CPU performance is less predictable and may fluctuate depending on neighboring workloads ("noisy neighbors").
61+
- 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
61-
- Production applications with high CPU demands
62-
- eCommerce platforms and business-critical services
63-
- Game servers requiring low latency
64-
- CI/CD pipelines
65-
- Audio and video transcoding
66-
- Machine learning and scientific computing
67-
- Real-time data processing and analytics
68-
- High-traffic websites and applications
6970

70-
### Summary
71-
- Dedicated vCPU allocation ensures consistent and predictable performance.
72-
- No risk of performance degradation due to neighboring workloads.
73-
- Dedicated vCPU Instances are more expensive than shared vCPU Instances but offer guaranteed CPU performance.
71+
- Production applications with high CPU demands
72+
- eCommerce platforms and business-critical services
73+
- Game servers requiring low latency
74+
- CI/CD pipelines
75+
- Audio and video transcoding
76+
- Machine learning and scientific computing
77+
- Real-time data processing and analytics
78+
- High-traffic websites and applications
7479

75-
## Choosing the best configuration
80+
### Summary
7681

77-
Choose **shared vCPU** Instances if:
82+
- Dedicated vCPU allocation ensures consistent and predictable performance.
83+
- No risk of performance degradation due to neighboring workloads.
84+
- Dedicated vCPU Instances are more expensive than shared vCPU Instances but offer guaranteed CPU performance.
7885

79-
- You are running non-critical or experimental workloads
80-
- Budget is a priority over performance consistency
86+
## Choosing the best configuration
8187

82-
Choose **dedicated vCPU** Instances if:
88+
Choose **shared vCPU** Instances if:
89+
- You are running non-critical or experimental workloads
90+
- Budget is a priority over performance consistency
8391

84-
- Your application requires stable, predictable CPU performance
85-
- You are in a production environment with strict performance requirements
92+
Choose **dedicated vCPU** Instances if:
93+
- Your application requires stable, predictable CPU performance
94+
- 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)