Video failed to load

A Basis for Measuring Cloud Resource Right-Sizing (Downscaling Strategy Design)

698 words
3 minutes
A Basis for Measuring Cloud Resource Right-Sizing (Downscaling Strategy Design)
A Basis for Measuring Cloud Resource Right-Sizing (Downscaling Strategy Design)

Translation Notice

This article was originally written in Chinese and translated into English with the assistance of AI. The translation has been reviewed and edited for clarity, accuracy, and readability. Please refer to the original source where necessary, especially for technical terms, commands, configuration details, and proper nouns.

A Basis for Measuring Cloud Resource Right-Sizing (Downscaling Strategy Design)#

Efficient use of cloud resources has always been a core cloud-platform operations concern. As government, private, industry, and hybrid clouds have expanded, wasted and insufficient resources often coexist. Improving utilization while keeping services stable has therefore become an important cloud-operations topic.

Resource allocation is inherently somewhat subjective and often depends on an operations engineer’s experience. Relying entirely on experience, however, leads to inconsistent standards. A more reasonable approach is to establish a utilization-based evaluation model as an important basis for human judgment.


1. Problems with Traditional Right-Sizing Strategies#

In practice, the most common right-sizing strategies are very simple:

For example:

  • Utilization peak below 30% → reduce to 1/2 of the original size
  • Utilization peak below 15% → reduce to 1/4 of the original size

This approach is simple and inexpensive to implement, and it can identify low-utilization resources effectively in many cases.

However, this single-metric strategy has clear weaknesses:

If users know the sizing rules, they may avoid downscaling simply by creating a short period of high load during the measurement window. For example:

  • Running a temporary stress test
  • Executing a short batch task
  • Deliberately causing a CPU spike

This can result in:

Resources remain underutilized for a long time, but a transient peak is misinterpreted as a reason to retain the configuration, causing waste.

Relying on a single peak metric is therefore unreliable; a more robust evaluation method is needed.


2. Multidimensional Utilization Model (Weighted Utilization Model)#

To avoid misjudgment caused by a single metric, introduce a multidimensional utilization model using three metrics commonly adopted by cloud providers:

Primary reference data:

  1. Average utilization (Avg Utilization)
  2. P95 utilization (95th Percentile)
  3. Peak utilization (low weight)

Where:

P90 / P95 / P99 explained:

  • P90: 90% of the data is below this value
  • P95: 95% of the data is below this value
  • P99: 99% of the data is below this value

Percentile metrics effectively filter short-lived anomalies and are more useful than the absolute peak.

Compared with a single peak, P95 better reflects the workload level of real business traffic.


3. Weighted Utilization Calculation#

Calculate overall resource utilization using weights:

  • W₁ average-utilization weight: 80%
  • W₂ peak-utilization weight: 20%

Formula: Overall utilization = Avg × W₁ + Peak × W₂

Example data:

CPUMemCPU AvgCPU PeakMem AvgMem PeakAssessment
16C32G5.34%35.34%15.34%37.56%No reduction under the traditional model

Looking only at the peak, CPU Peak is 35%, which may suggest that no reduction is needed.

With the weighted model:

  • Overall CPU utilization: 5.34 × 0.8 + 35.34 × 0.2 = 11.34%
  • Overall memory utilization: 15.34 × 0.8 + 37.56 × 0.2 = 19.78%

The result is:

ResourceOverall utilizationRecommendation
CPU11.34%Reduce to 1/4
Memory19.78%Reduce to 1/2

Final recommendation: 16C32G → 4C16G

Compared with a single-peak decision, this approach better reflects actual resource usage.


4. Handling Abnormal Peaks#

If historical data contains a CPU Peak of 100%:

determine whether it represents:

  • Sustained high load
  • An occasional burst
  • A scheduled task
  • Stress-testing activity

Additional signals can include:

  • Peak duration
  • Number of peak occurrences
  • The difference between P95 and Peak
  • Peak frequency

For example:

  • Peak = 100%
  • P95 = 18%

This indicates an occasional spike and should not be used as a basis for scaling up.

  • Peak = 100%
  • P95 = 75%

This may indicate a genuine lack of resources.


5. A More Reasonable Right-Sizing Recommendation#

When data granularity is insufficient, such as when only monthly statistics are available, use:

Multi-metric scoring: Score = Avg × 0.6 + P95 × 0.3 + Peak × 0.1

Recommended strategy:

Overall utilizationRecommendation
<15%Reduce to 1/4
15–30%Reduce to 1/2
30–50%Keep the current size
>50%Evaluate scaling up

This approach can:

  • Avoid human interference
  • Improve resource utilization
  • Make allocation more reasonable
  • Reduce the chance of misjudgment

6. Real-World Limitations#

It is important to understand that cloud-resource allocation can never be fully automated.

Utilization cannot capture factors such as:

  • An upcoming new service
  • Business growth trends
  • Tasks scheduled for specific times
  • Future capacity planning

For example: Previously: low utilization on 16 cores → possibly little business traffic

Now: high utilization on 4 cores → possibly growing business demand

Algorithms cannot fully judge such situations. Therefore, automated evaluation can only provide recommendations, not final decisions.


7. Conclusion#

Cloud-resource right-sizing is fundamentally a combination of data models and experience-based judgment.

The automated model provides:

  • Utilization analysis
  • Right-sizing recommendations
  • Risk alerts

People provide:

  • Business judgment
  • Risk assessment
  • The final decision

The goal is not to compress resources to the absolute minimum

but to maximize resource utilization within a safe operating range.

That is the true goal of cloud-operations optimization.

Support & Share

If this article helped you, please share or support!

Sponsor
A Basis for Measuring Cloud Resource Right-Sizing (Downscaling Strategy Design)
https://blog.bytesycn.cn/posts/f611d353-fc99-42bd-bf0c-b6983a64ee5c/
Author
Ryan Zhang
Published at
2026-03-16
Related PostsSmart
1
TOTP Two-Factor Authentication for Windows Remote Logins
TutorialAdd TOTP-based two-factor authentication to Windows Remote Desktop (RDP) with multiOTP to improve remote-login security. Supports mainstream authenticators such as Google Authenticator and Tencent Authenticator.
2
How to Conduct a Phishing Simulation
KnowledgeWith proper authorization, phishing simulations are an important way to assess an organization's security awareness and defenses. This article covers a disciplined, safe, and controlled 2025 simulation, from information gathering and attack-surface analysis to simulated-page assessment, platform selection, and data collection.
3
[Security Training Vol. 1] Security in the Age of Artificial Intelligence
KnowledgeTraining is essential in cybersecurity. I have accumulated many training decks through work and personal interest, and believe knowledge should be shared openly. This series publishes my own presentations to support everyone’s learning.
4
Security Checks Giving You a Headache? Save This Complete Port and File-Upload Blocklist!
KnowledgeA comprehensive list of high-risk ports to close and file types to block, covering remote access, databases, file sharing, executables, and web scripts to help complete security checks and improve protection.
5
Data Destruction: An Overview of Technologies and Standards
KnowledgeAn analysis of data-destruction technologies and standards, including domestic and global overwrite standards such as the three- and seven-pass methods in GA/T 1143 and DoD 5220.22-M; logical erasure of storage media; and physical shredding as the ultimate safeguard. The article compares mainstream standards, their principles, strengths, weaknesses, and use cases, and introduces common destruction tools such as AOMEI Assistant and nwipe.
Random PostsRandom

Comments

Profile Image of the Author
Ryan Zhang
Keep building, keep thinking, keep creating.
Announcement
Welcome to my blog!
Categories
Tags
Latest Moments
Site Statistics
Posts
30
Categories
7
Tags
42
Total Words
117,260
Running Days
0 days
Last Activity
0 days ago
Table of Contents