n2-highmem-4 by Google Cloud Platform
(All-cores)
(Single-core)
Specifications
Server Metadata
Vendor ID | gcp |
Server ID | 902004 |
Name | n2-highmem-4 |
Description | 4 vCPUs 32 GB RAM |
Family | n2 |
Hw Virt | |
Average Time To Start | 30 |
Status | active |
Observed At | 2026-10-24T22:30:03.759926 |
Availability
| REGION / ID | SPOT | ONDEMAND |
|---|---|---|
Council Bluffs (US) / us-central1 | 0.1572 USD/h | 0.262 USD/h |
The Dalles (US) / us-west1 | 0.1572 USD/h | 0.262 USD/h |
Moncks Corner (US) / us-east1 | 0.1572 USD/h | 0.262 USD/h |
Columbus (US) / us-east5 | 0.1572 USD/h | 0.262 USD/h |
St. Ghislain (BE) / europe-west1 | 0.0652 USD/h | 0.2882 USD/h |
Johannesburg (ZA) / africa-south1 | 0.0819 USD/h | 0.2882 USD/h |
Tel Aviv (IL) / me-west1 | 0.1729 USD/h | 0.2882 USD/h |
Toronto (CA) / northamerica-northeast2 | 0.026 USD/h | 0.2885 USD/h |
Eemshaven (NL) / europe-west4 | 0.0802 USD/h | 0.2885 USD/h |
Montréal (CA) / northamerica-northeast1 | 0.1322 USD/h | 0.2885 USD/h |
Hamina (FI) / europe-north1 | 0.1401 USD/h | 0.2885 USD/h |
Ashburn (US) / us-east4 | 0.0736 USD/h | 0.2951 USD/h |
Las Vegas (US) / us-west4 | 0.1637 USD/h | 0.2951 USD/h |
Changhua County (TW) / asia-east1 | 0.1051 USD/h | 0.3034 USD/h |
Milan (IT) / europe-west8 | 0.0299 USD/h | 0.304 USD/h |
Paris (FR) / europe-west9 | 0.0851 USD/h | 0.304 USD/h |
Dallas (US) / us-south1 | 0.0581 USD/h | 0.3092 USD/h |
Madrid (ES) / europe-southwest1 | 0.0798 USD/h | 0.3092 USD/h |
Delhi (IN) / asia-south2 | 0.0283 USD/h | 0.3147 USD/h |
Los Angeles (US) / us-west2 | 0.1062 USD/h | 0.3147 USD/h |
Mumbai (IN) / asia-south1 | 0.1092 USD/h | 0.3147 USD/h |
Salt Lake City (US) / us-west3 | 0.1205 USD/h | 0.3147 USD/h |
Melbourne (AU) / australia-southeast2 | 0.1468 USD/h | 0.316 USD/h |
Warsaw (PL) / europe-central2 | 0.1038 USD/h | 0.3171 USD/h |
Doha (QA) / me-central1 | 0.0628 USD/h | 0.3184 USD/h |
Jurong West (SG) / asia-southeast1 | 0.1232 USD/h | 0.3232 USD/h |
Tokyo (JP) / asia-northeast1 | 0.0972 USD/h | 0.3359 USD/h |
Osaka (JP) / asia-northeast2 | 0.0937 USD/h | 0.3365 USD/h |
Seoul (KR) / asia-northeast3 | 0.0975 USD/h | 0.3365 USD/h |
Berlin (DE) / europe-west10 | 0.0473 USD/h | 0.3376 USD/h |
London (GB) / europe-west2 | 0.0674 USD/h | 0.3376 USD/h |
Frankfurt (DE) / europe-west3 | 0.186 USD/h | 0.3376 USD/h |
Turin (IT) / europe-west12 | 0.0626 USD/h | 0.338 USD/h |
Zurich (CH) / europe-west6 | 0.1252 USD/h | 0.3433 USD/h |
Jakarta (ID) / asia-southeast2 | 0.1993 USD/h | 0.3523 USD/h |
Hong Kong / asia-east2 | 0.1034 USD/h | 0.3666 USD/h |
Sydney (AU) / australia-southeast1 | 0.1702 USD/h | 0.3718 USD/h |
Santiago (CL) / southamerica-west1 | 0.096 USD/h | 0.3747 USD/h |
Osasco (BR) / southamerica-east1 | 0.1009 USD/h | 0.4159 USD/h |
Dammam (SA) / me-central2 | 0.0695 USD/h | 0.4192 USD/h |
Processor
vCPUs | 4 |
CPU Allocation | Dedicated |
CPU Cores | 2 |
CPU Speed | 2.8 GHz |
CPU Architecture | x86_64 |
CPU Manufacturer | Intel |
CPU Family | Xeon |
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 | 1 MiB |
CPU L2 Cache Total | 2 MiB |
CPU L3 Cache | 33 MiB |
CPU L3 Cache Total | 33 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, ss, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, ssbd, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, clflushopt, clwb, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, arat, avx512_vnni, md_clear, arch_capabilities |
Ecpus | 2.6 |
Scalability | 65 |
System Resources and Accelerators
| MEMORY | |
|---|---|
Memory Amount | 32 GiB |
Memory Amount Actual | 32 GiB |
| ACCELERATORS | |
|---|---|
Accelerator Count | 0 |
Accelerator Memory Min | 0 MiB |
Accelerator Memory Total | 0 MiB |
Accelerators |
| STORAGE | |
|---|---|
Storage Size | 0 GB |
Storages |
| NETWORK | |
|---|---|
Inbound Traffic | 0 GB/month |
Outbound Traffic | 0 GB/month |
IPv4 | 0 |
CPU and System Topology
Server Description
A memory-optimized x86 virtual machine offering four virtual CPUs and thirty-two gigabytes of RAM for memory-dependent enterprise applications.
Google Cloud Platform n2-highmem-4 is a memory-optimized virtual machine instance within the N2 family featuring 4 dedicated x86_64 vCPUs across 2 physical Intel Xeon cores at 2.8 GHz and 32.0 GB of memory. Cache specifications include 33 MB of L3 cache, with hardware instruction support including AVX-512 and AES. The instance contains no integrated GPU accelerators or local NVMe storage. Benchmark metrics position compute throughput in the lower tier, with a PassMark CPU score of 4320.42 and stress-ng multi-core performance of 3680.85. Memory benchmarks display steady average performance, recording a PassMark memory score of 2173.39 and 26.28 GB/sec uncached read bandwidth. Offering 8.0 GB of memory per vCPU, the hardware profile prioritizes memory density over multi-threaded processing power. This configuration provides qualitative resource efficiency for memory-intensive applications, small-to-medium in-memory caches like Redis, and backend application servers requiring high RAM allocations.
Economics
Performance
Memory Bandwidth
Compression
OpenSSL
Geekbench Single-Core
Geekbench Multi-Core
Passmark CPU Scores
| BENCHMARK | SCORE |
|---|---|
Mark | 4,320 |
Compression | 55,698 |
Encryption | 1,702 |
Extended Instructions | 3,147 |
Floating Point Maths | 6,641 |
Integer Maths | 12,357 |
Physics | 507 |
Prime Numbers | 25 |
Single Threaded | 1,979 |
String Sorting | 6,580 |
Passmark Memory Scores
| BENCHMARK | SCORE |
|---|---|
Memory Mark | 2,173 |
Database Operations | 1,442 |
Memory Latency | 52 |
Memory Read Cached | 23,873 |
Memory Read Uncached | 10,482 |
Memory Write | 9,736 |
Stress-ng Stressors
| CPU integer | Single | Multi | Scaling |
|---|---|---|---|
atomic | 262.26 | 281.16 | 1.07× |
bitops | 107,039 | 243,844 | 2.28× |
branch | 152,585 | 454,729 | 2.98× |
funccall | 539.96 | 1,101 | 2.04× |
funcret | 11,144 | 31,542 | 2.83× |
hash | 125,066 | 350,139 | 2.80× |
intmath | 22,069 | 64,476 | 2.92× |
nop | 190,119 | 326,507 | 1.72× |
prime | 313,108 | 688,495 | 2.20× |
rotate | 96,253 | 263,149 | 2.73× |
str | 715,962 | 1,598,605 | 2.23× |
wcs | 478,686 | 993,650 | 2.08× |
| Cryptography | Single | Multi | Scaling |
|---|---|---|---|
crypt | 2,423 | 4,684 | 1.93× |
| Compression | Single | Multi | Scaling |
|---|---|---|---|
jpeg | 584.98 | 1,405 | 2.40× |
zlib | 59.33 | 153.37 | 2.59× |
| Hypervisor | Single | Multi | Scaling |
|---|---|---|---|
clock | 29,895 | 65,437 | 2.19× |
clone | 309.64 | 557.93 | 1.80× |
context | 2,549 | 5,936 | 2.33× |
cpu-sched | 65.92 | 241.09 | 3.66× |
eventfd | 43,447 | 210,684 | 4.85× |
fault | 10,553 | 26,273 | 2.49× |
fork | 3,587 | 11,247 | 3.14× |
getrandom | 44,491 | 106,580 | 2.40× |
hrtimers | 275,000 | 352,304 | 1.28× |
mprotect | 567,309 | 610,261 | 1.08× |
mtx | 9,879,826 | 123,215,656 | 12.47× |
munmap | 2,496 | 7,073 | 2.83× |
null | 289,459 | 587,845 | 2.03× |
pipe | 829,573 | 1,415,683 | 1.71× |
priv-instr | 548,973 | 1,228,828 | 2.24× |
resched | 603,989 | 341,370 | 0.57× |
switch | 77,096 | 650,071 | 8.43× |
timermix | 182,968 | 522,254 | 2.85× |
tlb-shootdown | 7,494 | 9,026 | 1.20× |
tsc | 992,209 | 2,739,638 | 2.76× |
usersyscall | 384,157 | 834,493 | 2.17× |
vdso | 82,343,793 | 232,891,988 | 2.83× |
vfork | 24,846 | 60,925 | 2.45× |
x86syscall | 3,314,752 | 6,761,447 | 2.04× |
yield | 2,140,264 | 2,390,755 | 1.12× |
zero | 2,006,877 | 4,201,063 | 2.09× |
| CPU float/SIMD | Single | Multi | Scaling |
|---|---|---|---|
eigen | 15,853 | 36,523 | 2.30× |
expmath | 2,671 | 8,042 | 3.01× |
fma | 545,554 | 1,750,401 | 3.21× |
fp | 122.4 | 303.05 | 2.48× |
fractal | 4.8 | 14.4 | 3.00× |
hyperbolic | 2,774 | 8,582 | 3.09× |
logmath | 4,501 | 13,140 | 2.92× |
matrix | 2,995 | 9,432 | 3.15× |
matrix-3d | 464.19 | 939.9 | 2.02× |
monte-carlo | 139.29 | 301.59 | 2.17× |
mpfr | 1,195 | 2,518 | 2.11× |
powmath | 1,576 | 4,762 | 3.02× |
trig | 1,693 | 4,448 | 2.63× |
veccmp | 15,320 | 32,051 | 2.09× |
vecfp | 1,290 | 3,215 | 2.49× |
vecmath | 2,175 | 6,746 | 3.10× |
vecshuf | 559.36 | 1,191 | 2.13× |
vecwide | 23,362 | 50,047 | 2.14× |
| Algorithms | Single | Multi | Scaling |
|---|---|---|---|
bitonicsort | 7.2 | 16.6 | 2.31× |
bsearch | 237.91 | 541.02 | 2.27× |
bubblesort | 0.8 | 1.6 | 2.00× |
fibsearch | 242.18 | 547.21 | 2.26× |
heapsort | 8.6 | 20.6 | 2.40× |
hsearch | 4,838 | 12,160 | 2.51× |
insertionsort | 8.2 | 16 | 1.95× |
malloc | 1,630,250 | 6,440,160 | 3.95× |
mcontend | 222.96 | 913.29 | 4.10× |
mergesort | 23 | 61.2 | 2.66× |
qsort | 14.6 | 34 | 2.33× |
skiplist | 4,847 | 13,584 | 2.80× |
tree | 1 | 2.4 | 2.40× |
| Memory | Single | Multi | Scaling |
|---|---|---|---|
cache | 270,030 | 359,685 | 1.33× |
cachehammer | 364,246 | 1,312,435 | 3.60× |
cacheline | 25.66 | 109.91 | 4.28× |
l1cache | 225.75 | 484.83 | 2.15× |
memcpy | 343.26 | 733.1 | 2.14× |
memrate | 1.17 | 3.06 | 2.62× |
memthrash | 53.01 | 151.81 | 2.86× |
ptr-chase | 10,865,041 | 40,002,737 | 3.68× |
spinmem | 210.79 | 176.19 | 0.84× |
stream | 29.85 | 288 | 9.65× |
vm | 57,217 | 232,786 | 4.07× |
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 | Accelerators |
|---|---|---|---|
| n2-highcpu-2 | 2 | 2 GiB | 0 |
| n2-standard-2 | 2 | 8 GiB | 0 |
| n2-highmem-2 | 2 | 16 GiB | 0 |
| n2-highcpu-4 | 4 | 4 GiB | 0 |
| n2-standard-4 | 4 | 16 GiB | 0 |
| n2-highcpu-8 | 8 | 8 GiB | 0 |
| n2-standard-8 | 8 | 32 GiB | 0 |
Similar Servers
| INSTANCE | VENDOR | vCPUs | MEMORY | Accelerators |
|---|