Using Intel® Xeon® Scalable Processors with Granulate Real-Time Continuous Optimization Shrinks Execution Time Compared to C6g Instances with Graviton Processors
By choosing cloud instances that compile and run Python scripts faster, your organization can improve overall application performance. We used the PyPerformance benchmark to test the Python performance that multiple Amazon Web Services (AWS) EC2 cloud instance types can deliver. PyPerformance is designed to showcase Python performance, detect performance regression in Python implementations, and validate optimization changes.
First, we tested C5 instances featuring Intel® Xeon® Scalable processors two ways: with and without Granulate Real-Time Continuous Optimization (Granulate). Granulate offers “autonomous, continuous workload optimization,” which, according to Granulate, “improves application performance and cuts costs by up to 63%.”1 Next, we compared the C5 instance with Granulate to a C6g instance using Graviton processors.
The C5 instance with Granulate outperformed both its C5 counterpart without Granulate and the C6g instance with Graviton processors. These results suggest that businesses can enjoy greater performance for Python implementations by choosing C5 instances enabled by Intel® Xeon® Scalable processors with Granulate.
Granulate Improved PyPerformance
As Figure 1 shows, on c5.large instances, using Granulate improved execution speed of the PyPerformance benchmark by 9%.
A C5 Instance with Granulate Outperformed a Graviton Processor-Based C6g Instance
As Figure 2 shows, the c5.large instance enabled by Intel® Xeon® Scalable processors with Granulate delivered 37% better performance than the c6g.large instance based on Graviton processors.
Conclusion
The faster your Python scripts run, the better performance your applications will have. In tests, an AWS C5 instance featuring Intel® Xeon® Scalable processors with Granulate real-time continuous optimization outperformed the same instance without Granulate as well as an AWS C6g instance based on Graviton processors. Adding Granulate increased performance by 9% on the C5 instance we tested, and the Granulate-enabled C5 instance outperformed the C6g instance we tested by 37%.
Learn More
To begin running your Python workloads on Amazon C5 instances with Intel® Xeon® Scalable processors with Granulate, visit https://aws.amazon.com/ec2/instance-types/c5/.
Tests by Intel completed Oct. 2021. All tests on AWS us-east-2 with 4.14.248-189.473.amzn2.x86_64, 2 vCPUs, 4GB RAM, 20GB EBS-GP2 storage with 100 IOPS, 10Gbps network BW, Docker v. 20.10.7, Docker Image Python v. 3.7, and PyPerformance version 1.0.2. Instance details: c5.large: Intel Xeon 8124M @3.00Ghz; c5.large +G.io: Intel Xeon 8124M @3.00Ghz, Granulate agent v. 2.2.0; c6g.large: arm64 Graviton 2.