n2-highmem-4 by Google Cloud Platform

n2-highmem-4 is a 4 vCPUs 32 GB RAM server offered by Google Cloud Platform with 4 vCPUs, 32 GiB of memory and 0 GB of storage. The pricing starts at 0.026 USD per hour.
4 vCPU
32 GiB Memory
Spare SCore
3,681
(All-cores)
1,404
(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-09-09T22:02:08.142538

Availability

REGION / IDSPOTONDEMAND
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.0727 USD/h 0.2882 USD/h
Johannesburg (ZA) / africa-south1
0.0826 USD/h 0.2882 USD/h
Tel Aviv (IL) / me-west1
0.1487 USD/h 0.2882 USD/h
Toronto (CA) / northamerica-northeast2
0.026 USD/h 0.2885 USD/h
Eemshaven (NL) / europe-west4
0.0893 USD/h 0.2885 USD/h
Montréal (CA) / northamerica-northeast1
0.1272 USD/h 0.2885 USD/h
Hamina (FI) / europe-north1
0.1278 USD/h 0.2885 USD/h
Ashburn (US) / us-east4
0.0741 USD/h 0.2951 USD/h
Las Vegas (US) / us-west4
0.1575 USD/h 0.2951 USD/h
Changhua County (TW) / asia-east1
0.1118 USD/h 0.3034 USD/h
Milan (IT) / europe-west8
0.0332 USD/h 0.304 USD/h
Paris (FR) / europe-west9
0.0947 USD/h 0.304 USD/h
Dallas (US) / us-south1
0.0586 USD/h 0.3092 USD/h
Madrid (ES) / europe-southwest1
0.0727 USD/h 0.3092 USD/h
Delhi (IN) / asia-south2
0.0283 USD/h 0.3147 USD/h
Salt Lake City (US) / us-west3
0.1049 USD/h 0.3147 USD/h
Los Angeles (US) / us-west2
0.1071 USD/h 0.3147 USD/h
Mumbai (IN) / asia-south1
0.11 USD/h 0.3147 USD/h
Melbourne (AU) / australia-southeast2
0.1286 USD/h 0.316 USD/h
Warsaw (PL) / europe-central2
0.1104 USD/h 0.3171 USD/h
Doha (QA) / me-central1
0.0737 USD/h 0.3184 USD/h
Jurong West (SG) / asia-southeast1
0.1371 USD/h 0.3232 USD/h
Tokyo (JP) / asia-northeast1
0.0926 USD/h 0.3359 USD/h
Osaka (JP) / asia-northeast2
0.0945 USD/h 0.3365 USD/h
Seoul (KR) / asia-northeast3
0.1146 USD/h 0.3365 USD/h
Berlin (DE) / europe-west10
0.048 USD/h 0.3376 USD/h
London (GB) / europe-west2
0.0678 USD/h 0.3376 USD/h
Frankfurt (DE) / europe-west3
0.1617 USD/h 0.3376 USD/h
Turin (IT) / europe-west12
0.0631 USD/h 0.338 USD/h
Zurich (CH) / europe-west6
0.1205 USD/h 0.3433 USD/h
Jakarta (ID) / asia-southeast2
0.2008 USD/h 0.3523 USD/h
Hong Kong / asia-east2
0.1099 USD/h 0.3666 USD/h
Sydney (AU) / australia-southeast1
0.1715 USD/h 0.3718 USD/h
Santiago (CL) / southamerica-west1
0.0923 USD/h 0.3747 USD/h
Osasco (BR) / southamerica-east1
0.0838 USD/h 0.4159 USD/h
Dammam (SA) / me-central2
0.0663 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
130

System Resources and Accelerators

MEMORY
Memory Amount
32 GiB
Memory Amount Actual
32 GiB
GPU
GPU Count
0
GPU Memory Min
0 MiB
GPU Memory Total
0 MiB
GPUs
    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 virtual machine featuring a high memory-to-vCPU ratio for memory-sensitive workloads with moderate processing requirements.

      Memory OptimizedGeneral Purpose

      Google Cloud Platform n2-highmem-4 is a memory-optimized instance featuring 4 vCPUs and 32.0 GB of RAM, yielding an 8.0 GB per core ratio. Powered by a dedicated 2.8 GHz Intel Xeon x86_64 processor with 2 physical cores and 2 threads per core, it includes a 33 MB L3 cache and supports AVX-512 instruction sets. The instance does not include local storage, GPUs, or complimentary public IPv4 addresses. Performance benchmarks place its compute capabilities and memory bandwidth largely in the bottom 25%, though it achieves average ratings in PassMark memory and single-threaded gzip compression tests. Given its high memory-to-vCPU ratio and modest compute performance, this instance is qualitatively cost-efficient for memory-intensive workloads with low CPU demands, such as caching systems, lightweight database operations, and general-purpose memory-bound applications.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.265Score
      Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 358,109 ops/sec 1,917,397 ops/sec 0.187 50.00% 50.00% -56.80%
      Redis RPS (pipeline=16, SET) 2,198,327 ops/sec 11,681,410 ops/sec 0.188 20.00% 20.00% -28.40%
      PassMark Memory Mark (composite) 2,173 2,418 0.899 10.00% 10.00% -1.06%
      Memory bandwidth (read, 16 MB ~ L3) 29,995 MB/sec 108,140 MB/sec 0.277 10.00% 10.00% -12.00%
      PassMark single-thread CPU 1,979 Mops/s 2,365 Mops/s 0.837 10.00% 10.00% -1.76%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,135

      Geekbench Multi-Core

      Score: 2,492

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      4320
      Compression
      55698
      Encryption
      1702
      Extended Instructions
      3147
      Floating Point Maths
      6641
      Integer Maths
      12357
      Physics
      507
      Prime Numbers
      25
      Single Threaded
      1979
      String Sorting
      6580

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      2173
      Database Operations
      1442
      Memory Latency
      52
      Memory Read Cached
      23873
      Memory Read Uncached
      10482
      Memory Write
      9736

      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

      INSTANCEvCPUsMEMORYGPUs
      n2-highcpu-2 22 GiB0
      n2-standard-2 28 GiB0
      n2-highmem-2 216 GiB0
      n2-highcpu-4 44 GiB0
      n2-standard-4 416 GiB0
      n2-highcpu-8 88 GiB0
      n2-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYGPUs

      n2-highmem-4 FAQs