A Principled Technologies report: Hands-on testing. Real-world results.

Upgrade to Google Cloud N4 instances featuring 5th Gen Intel Xeon Scalable processors and double Java server-side performance

Compared to older N1 instances with 1st Gen Intel Xeon processors, N4 instances with 5th Gen Intel Xeon Scalable processors handled more simultaneous Java work while maintaining acceptable response times, delivering twice the value

Whether your company is using Java to build enterprise-level apps, securely and reliably handle transactions at a high volume, or develop more efficient and scalable machine learning (ML) models, deploying the right Google Cloud instances can accelerate your workloads. Stronger Java performance can translate to improved user experiences, needing fewer instances, and an overall increase in the productivity and profitability of Java workloads.

In a study commissioned by Intel®, we used an industry-standard Java benchmark to test two types of Google Cloud instances: N4 standard instances featuring 5th Gen Intel Xeon® Scalable processors and older N1 standard instances with Intel 1st Gen Intel Xeon processors. The benchmark mirrors an international supermarket organization that handles a mix of work, including point-of-sale requests, online purchases, and data-mining operations.1

In our tests, the N4 instances achieved up to twice the performance of older N1 instances. These results indicate they could support more simultaneous operations on Java apps while maintaining acceptable response times. This performance improvement also meant that they delivered a better value, delivering up to twice the performance per dollar of N1 instances. Read on to learn more about our testing and what these results might mean for your organization.

N4 instances featuring 5th Gen Intel Xeon Scalable processors achieved up to 2.0 times the performance on 16vCPU and 64vCPU instances, as well as up to 2.0 times the performance per dollar on 16vCPU and 64vCPU instances.

How we tested

We ran two types of Google Cloud instances in the us-east1 (South Carolina) region:

  • N1 standard instances featuring 1st Gen Intel Xeon processors
  • N4 standard instances featuring 5th Gen Intel Xeon Scalable processors

We tuned for best server-side Java throughput under response time, and we include both those results and server-side Java maximum transaction throughput results. The former results offer insight into the performance gains your business might expect from N4 standard instances in situations where there are latency constraints. The latter results are for situations where there are no latency constraints.

Because different organizations require different workloads, and those workloads may fluctuate in size, we ran tests on smaller, medium-size, and larger instances. We also calculated the performance per dollar of each instance. We based this data on the results of our testing and instance pricing we researched on May 20, 2024.

To learn more about our tests, configurations, calculations, and results, see the science behind the report.

Configuration information for the 3 instance sizes we tested. Small instances featured 16 vCPUs, 8 cores, and 16 threads. Small N1 instances had 60 GB of memory and small N4 instances had 64 GB of memory. Medium instances featured 32 vCPUs, 16 cores, and 32 threads. Medium N1 instances had 120 GB of memory and medium N4 instances had 128 GB of memory. Large instances featured 64 vCPUs, 32 cores, and 64 threads. Large N1 instances had 240 GB of memory and large N4 instances had 256 GB of memory.
Key specifications for each instance size we tested. Source: Principled Technologies.

Increase productivity and profitability with N4 instances

The Google Cloud Platform instances you choose can have a cascading effect on productivity and profitability. In Figures 1 and 2, we show the stark contrast between operations per second (OPS) N4 standard instances handled compared to N1 standard instances. It’s important to note we tuned both instances for best response-constrained performance (Figure 1). These results are especially important for service providers that deal with surges during peak hours or seasons and companies with SLAs. However, non-restrained maximum transaction performance can also have a direct bearing on the amount of data you can process at one time (Figure 2). For full configuration and result details, read the science behind the report.

Chart showing normalized server-side Java throughput under response time, where higher is better. At 16v CPUs, N4 instances show 2.08 and N1 instances show 1.00. At 32 vCPUs, N4 instances show 1.65 and N1 instances show 1.00. At 64 vCPUs, N4 instances show 2.03 and N1 instances show 1.00. N4 instances delivered up to twice the performance.
Relative server-side Java throughput under response time that N4 standard instances handled compared to N1 standard instances. Higher is better. Source: Principled Technologies.
Chart showing normalized server-side Java maximum transaction throughput, where higher is better. At 16v CPUs, N4 instances show 2.06 and N1 instances show 1.00. At 32 vCPUs, N4 instances show 1.73 and N1 instances show 1.00. At 64 vCPUs, N4 instances show 1.99 and N1 instances show 1.00. N4 instances delivered up to 1.9 times the performance.
Relative server-side Java maximum transaction throughput that N4 standard instances handled compared to N1 standard instances. Higher is better. Source: Principled Technologies.

Maximize value with N4 instances

Prioritizing customer satisfaction and minimizing the chance of costly SLA contract breaches are important for the success of your business. Still, there is also the bottom line to consider. In Figures 3 and 4, we show that the performance-to-cost ratios on N4 standard instances were significantly higher (better) than N1 standard instances—with up to twice the tuned Java throughput under response time performance per dollar on 16 vCPU and 64 vCPUs. For full configuration and pricing details, read the science behind the report.

Chart showing normalized performance per dollar for throughput under response time, where higher is better. At 16v CPUs, N4 instances show 2.08 and N1 instances show 1.00. At 32 vCPUs, N4 instances show 1.65 and N1 instances show 1.00. At 64 vCPUs, N4 instances show 2.03 and N1 instances show 1.00. N4 instances delivered up to twice the performance per dollar.
Relative server-side Java throughput under response time per VM cost of N4 standard instances compared to N1 standard instances. Higher is better. Source: Principled Technologies.
Chart showing normalized performance per dollar for maximum transaction throughput, where higher is better. At 16 vCPUs, N4 instances show 2.06 and N1 instances show 1.00. At 32 vCPUs, N4 instances show 1.73 and N1 instances show 1.00. At 64 vCPUs, N4 instances show 1.99 and N1 instances show 1.00. N4 instances delivered up to 1.9 times the performance per dollar.
Relative server-side Java maximum transaction throughput per VM cost of N4 standard instances compared to N1 standard instances. Higher is better. Source: Principled Technologies.

Conclusion

For Java workloads, the Google Cloud instance type you choose can affect productivity and profitability. Our Java server test results indicate that N4 instances enabled by 5th Gen Intel Xeon Scalable processors delivered up to twice Java throughput under response time at 16, 32, and 64 vCPU counts versus N1 instances with 1st Gen Intel Xeon processors. These performance gains lead to N4 instances delivering a better value, with up to double the performance per dollar on 16 and 64 vCPU instances. With an instance that can process more OPS at a better value, your company could provide a more satisfying experience for users, reduce Java workloads onto fewer instances, and grow your business.

  1. SPEC, “The SPECjbb2015 benchmark,” accessed June 7, 2024, https://www.spec.org/jbb2015/.
  2. Standard Performance Evaluation Corporation (SPEC), “SPECjbb2015 Benchmark Run and Reporting Rules 1.02,” accessed June 6, 2024, https://www.spec.org/jbb2015/docs/runrules.pdf.
  3. Standard Performance Evaluation Corporation (SPEC), “SPECjbb2015 Benchmark Run and Reporting Rules 1.02.”
  4. Google Cloud, “General-purpose machine family for Compute Engine,” accessed June 4, 2024, https://cloud.google.com/compute/docs/general-purpose-machines.
  5. Intel, “5th Gen Intel® Xeon® Scalable processors,” accessed June 12, 2024, https://www.intel.com/content/www/us/en/products/details/processors/xeon/scalable.html.
  6. Intel, “5th Gen Intel® Xeon® Scalable processors.”

This project was commissioned by Intel.

August 2024

Principled Technologies is a registered trademark of Principled Technologies, Inc.

All other product names are the trademarks of their respective owners.

Forgot your password?