By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Alternative to r7i.large for better CPU utilization?

0

Hi, I previously switched my ec2 instance type from m5.xlarge to r7i.large as I had low CPU utilization (about 12%) but high memory usage (>73%). Once I made the switch, the memory usage went down as expected (23%) and CPU utilization went up slightly (23%). However if I'm trying to target better CPU utilization for better usage of my hosts, e.g. 55~60%, does anyone have any recommendations on course of action as there is no smaller instance of r7i family?

asked 24 days ago30 views
1 Answer
0

Based on your requirements for better CPU utilization while maintaining sufficient memory, you might want to consider the Amazon EC2 R7a instances as an alternative to the r7i.large. The R7a family offers a smaller instance size that could potentially meet your needs.

Specifically, you could look at the r7a.medium instance. This instance type provides:

  1. 1 vCPU (compared to 2 vCPUs in r7i.large)
  2. 8 GiB of memory (compared to 16 GiB in r7i.large)

The r7a.medium instance would likely increase your CPU utilization as it has half the CPU capacity of the r7i.large. This could potentially bring your utilization closer to your target of 55-60%. However, you should carefully consider if the reduced memory (8 GiB instead of 16 GiB) would still be sufficient for your workload.

R7a instances are powered by 4th generation AMD EPYC processors and are designed for memory-intensive workloads. They offer competitive performance and could be a good fit if you're looking to optimize both CPU utilization and costs.

If the r7a.medium proves to be too small for your needs, you could also consider the r7a.large, which has the same vCPU and memory specifications as the r7i.large but might offer different price-performance characteristics.

Remember to monitor your application's performance closely after making any instance type changes to ensure it meets your workload requirements. You may need to fine-tune your choice based on observed performance and cost considerations.

Sources
Amazon EC2 R7a Instances – Compute – Amazon Web Services

profile picture
answered 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions