r4.xlarge by Amazon Web Services
(All-cores)
(Single-core)
Specifications
Server Metadata
Vendor ID | aws |
Name | r4.xlarge |
Description | Memory optimized Gen4 xlarge |
Family | r4 |
Hw Virt | |
Status | active |
Observed At | 2026-06-18T12:50:33.067662Z |
Availability
| REGION / ID | SPOT | ONDEMAND |
|---|---|---|
Ohio (US) / us-east-2 | 0.077867 USD/h | 0.266 USD/h |
Oregon (US) / us-west-2 | 0.097433 USD/h | 0.266 USD/h |
Northern Virgina (US) / us-east-1 | 0.122367 USD/h | 0.266 USD/h |
Mumbai (IN) / ap-south-1 | 0.0872 USD/h | 0.274 USD/h |
Quebec (CA) / ca-central-1 | 0.13145 USD/h | 0.292 USD/h |
California (US) / us-west-1 | 0.10165 USD/h | 0.2964 USD/h |
Dublin (IE) / eu-west-1 | 0.1253 USD/h | 0.2964 USD/h |
London (GB) / eu-west-2 | 0.127167 USD/h | 0.312 USD/h |
Paris (FR) / eu-west-3 | 0.153433 USD/h | 0.312 USD/h |
Sydney (AU) / ap-southeast-2 | 0.1398 USD/h | 0.3192 USD/h |
Seoul (KR) / ap-northeast-2 | 0.09115 USD/h | 0.32 USD/h |
Osaka (JP) / ap-northeast-3 | 0.1034 USD/h | 0.32 USD/h |
Tokyo (JP) / ap-northeast-1 | 0.128633 USD/h | 0.32 USD/h |
Singapore (SG) / ap-southeast-1 | 0.128633 USD/h | 0.32 USD/h |
Frankfurt (DE) / eu-central-1 | 0.160533 USD/h | 0.3201 USD/h |
Sao Paulo (BR) / sa-east-1 | 0.08825 USD/h | 0.56 USD/h |
Processor
vCPUs | 4 |
Hypervisor | xen |
CPU Allocation | Dedicated |
CPU Cores | 2 |
CPU Speed | 2.3 GHz |
CPU Architecture | x86_64 |
CPU Manufacturer | Intel |
CPU Family | Xeon |
CPU Model | E5-2686 v4 |
CPU L1D Cache | 32 KiB |
CPU L1D Cache Total | 64 KiB |
CPU L1I Cache | 32 KiB |
CPU L1I Cache Total | 64 KiB |
CPU L2 Cache | 256 KiB |
CPU L2 Cache Total | 512 KiB |
CPU L3 Cache | 45 MiB |
CPU L3 Cache Total | 45 MiB |
CPU Flags | fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, cpuid, aperfmperf, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, cpuid_fault, pti, fsgsbase, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, rdseed, adx, xsaveopt |
Ecpus | 2.4 |
Scalability | 120 |
System Resources and Accelerators
| MEMORY | |
|---|---|
Memory Amount | 31 GiB |
Memory Amount Actual | 31 GiB |
| GPU | |
|---|---|
GPU Count | 0 |
GPU Memory Min | 0 MiB |
GPU Memory Total | 0 MiB |
GPUs |
| STORAGE | |
|---|---|
Storage Size | 0 GB |
Storages |
| NETWORK | |
|---|---|
Network Speed Baseline | 1.25 Gbps |
Network Speed Max | 10 Gbps |
Network Storage Speed Baseline | 0.85 Gbps |
Network Storage Speed Max | 0.85 Gbps |
Inbound Traffic | 0 GB/month |
Outbound Traffic | 0 GB/month |
IPv4 | 0 |
Server Description
A memory-optimized legacy instance offering high RAM density for memory-bound workloads with modest compute requirements.
Amazon Web Services r4.xlarge is a memory-optimized, fourth-generation instance designed for workloads requiring a high memory-to-vCPU ratio. Powered by an Intel Xeon E5-2686 v4 processor running at 2.3 GHz on the x86_64 architecture, it provides 4 vCPUs and 30.0 GB of RAM. The instance operates on the Xen hypervisor and does not include local storage, relying instead on network-attached storage with a 1 Gbps baseline network bandwidth. Benchmark data indicates that while its memory subsystem achieves average performance scores, its overall compute and memory bandwidth capabilities are weak to poor compared to modern standards. This makes the r4.xlarge a qualitatively cost-effective option for legacy memory-bound applications, basic database operations, and caching layers that require substantial memory capacity but have modest processing requirements.
Economics
Performance
Memory Bandwidth
Compression
OpenSSL
Geekbench Single-Core
Geekbench Multi-Core
Passmark CPU Scores
| BENCHMARK | SCORE |
|---|---|
Mark | 3184 |
Compression | 43710 |
Encryption | 935 |
Extended Instructions | 2085 |
Floating Point Maths | 5445 |
Integer Maths | 9506 |
Physics | 465 |
Prime Numbers | 27 |
Single Threaded | 1639 |
String Sorting | 6336 |
Passmark Memory Scores
| BENCHMARK | SCORE |
|---|---|
Memory Mark | 1936 |
Database Operations | 1222 |
Memory Latency | 54 |
Memory Read Cached | 19497 |
Memory Read Uncached | 10170 |
Memory Write | 7198 |
Stress-ng Raw Scores
Stress-ng Relative Multicore Performance
LLM Inference Speed for Prompt Processing
LLM Inference Speed for Text Generation
Static Web Server
Redis
Alternatives
Servers of the Same Family
| INSTANCE | vCPUs | MEMORY | GPUs |
|---|---|---|---|
| r4.large | 2 | 15 GiB | 0 |
| r4.2xlarge | 8 | 61 GiB | 0 |
| r4.4xlarge | 16 | 122 GiB | 0 |
| r4.8xlarge | 32 | 244 GiB | 0 |
| r4.16xlarge | 64 | 488 GiB | 0 |
Similar Servers
| INSTANCE | VENDOR | vCPUs | MEMORY | GPUs |
|---|