n4-highmem-2 by Google Cloud Platform

n4-highmem-2 is a 2 vCPUs, 16 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 16 GiB of memory and 0 GB of storage. The pricing starts at 0.015 USD per hour.
2 vCPU
16 GiB Memory
Spare SCore
1,601
(All-cores)
1,555
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750009
Name
n4-highmem-2
Description
2 vCPUs, 16 GB RAM
Family
n4
Hw Virt
Average Time To Start
18
Status
active
Observed At
2026-11-05T22:18:35.558816

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0399 USD/h 0.119 USD/h
Ashburn (US) / us-east4
0.0604 USD/h 0.119 USD/h
Council Bluffs (US) / us-central1
0.0669 USD/h 0.119 USD/h
The Dalles (US) / us-west1
0.0669 USD/h 0.119 USD/h
Moncks Corner (US) / us-east1
0.0669 USD/h 0.119 USD/h
Mumbai (IN) / asia-south1
0.0269 USD/h 0.1238 USD/h
Delhi (IN) / asia-south2
0.0396 USD/h 0.1238 USD/h
Bangkok (TH) / asia-southeast3
0.0237 USD/h 0.125 USD/h
Eemshaven (NL) / europe-west4
0.0261 USD/h 0.125 USD/h
Stockholm (SE) / europe-north2
0.0515 USD/h 0.125 USD/h
Queretaro (MX) / northamerica-south1
0.0348 USD/h 0.1297 USD/h
Tel Aviv (IL) / me-west1
0.0343 USD/h 0.1309 USD/h
St. Ghislain (BE) / europe-west1
0.0171 USD/h 0.1311 USD/h
Montréal (CA) / northamerica-northeast1
0.0244 USD/h 0.1311 USD/h
Johannesburg (ZA) / africa-south1
0.0314 USD/h 0.1311 USD/h
Toronto (CA) / northamerica-northeast2
0.0483 USD/h 0.1311 USD/h
Hamina (FI) / europe-north1
0.0544 USD/h 0.1311 USD/h
Las Vegas (US) / us-west4
0.056 USD/h 0.1341 USD/h
London (GB) / europe-west2
0.052 USD/h 0.1357 USD/h
Changhua County (TW) / asia-east1
0.0524 USD/h 0.1378 USD/h
Milan (IT) / europe-west8
0.0256 USD/h 0.1381 USD/h
Paris (FR) / europe-west9
0.0494 USD/h 0.1381 USD/h
Dallas (US) / us-south1
0.0247 USD/h 0.1404 USD/h
Madrid (ES) / europe-southwest1
0.0313 USD/h 0.1404 USD/h
Frankfurt (DE) / europe-west3
0.0836 USD/h 0.1404 USD/h
Salt Lake City (US) / us-west3
0.0305 USD/h 0.1431 USD/h
Los Angeles (US) / us-west2
0.0811 USD/h 0.1431 USD/h
Warsaw (PL) / europe-central2
0.0732 USD/h 0.144 USD/h
Doha (QA) / me-central1
0.0665 USD/h 0.1446 USD/h
Jurong West (SG) / asia-southeast1
0.0881 USD/h 0.1468 USD/h
Sydney (AU) / australia-southeast1
0.072 USD/h 0.1488 USD/h
Osaka (JP) / asia-northeast2
0.0554 USD/h 0.1528 USD/h
Seoul (KR) / asia-northeast3
0.0722 USD/h 0.1528 USD/h
Tokyo (JP) / asia-northeast1
0.0869 USD/h 0.1528 USD/h
Melbourne (AU) / australia-southeast2
0.0545 USD/h 0.1547 USD/h
Zurich (CH) / europe-west6
0.0792 USD/h 0.1559 USD/h
Jakarta (ID) / asia-southeast2
0.0464 USD/h 0.16 USD/h
Hong Kong / asia-east2
0.015 USD/h 0.1665 USD/h
Santiago (CL) / southamerica-west1
0.0315 USD/h 0.1702 USD/h
Osasco (BR) / southamerica-east1
0.025 USD/h 0.189 USD/h
Dammam (SA) / me-central2
0.0345 USD/h 0.1904 USD/h

Processor

vCPUs
2
CPU Allocation
Dedicated
CPU Cores
1
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU L1D Cache
48 KiB
CPU L1D Cache Total
48 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
32 KiB
CPU L2 Cache
2 MiB
CPU L2 Cache Total
2 MiB
CPU L3 Cache
260 MiB
CPU L3 Cache Total
260 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, smx, est, ssse3, sdbg, fma, cx16, xtpr, pdcm, pcid, dca, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, cat_l3, cat_l2, cdp_l3, cdp_l2, ssbd, mba, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, avx512ifma, clflushopt, clwb, avx512cd, sha_ni, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, cqm_llc, cqm_occup_llc, cqm_mbm_total, cqm_mbm_local, avx_vnni, avx512_bf16, wbnoinvd, arat, avx512vbmi, umip, avx512_vbmi2, gfni, vaes, vpclmulqdq, avx512_vnni, avx512_bitalg, avx512_vpopcntdq, la57, rdpid, cldemote, movdiri, movdir64b, fsrm, md_clear, serialize, tsxldtrk, amx_bf16, avx512_fp16, amx_tile, amx_int8, arch_capabilities
Ecpus
1
Scalability
50

System Resources and Accelerators

MEMORY
Memory Amount
16 GiB
Memory Amount Actual
16 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

      An entry-level memory-optimized instance featuring a high RAM-to-vCPU ratio with advanced Intel vector instruction sets for light compute workloads.

      Memory Optimized

      Google Cloud Platform n4-highmem-2 is a memory-optimized virtual machine featuring 2 vCPUs powered by a single physical Intel x86_64 core with hyperthreading and 16 GB of RAM, delivering an 8.0 GB RAM per vCPU allocation. Hardware features include 260 MB of L3 cache, hardware cryptography engines, and advanced vector acceleration via Intel AMX and AVX-512. The instance contains no local NVMe storage and zero GPUs. Benchmark evaluation indicates average single-core capabilities, recorded with a 1640.0 Geekbench single-core score and 26.16 GB/sec single-threaded gzip throughput. Multi-core performance and memory bandwidth are bounded by the low core count, resulting in 15.05 GB/sec uncached memory read bandwidth. Qualitatively, n4-highmem-2 delivers efficient resource allocation for memory-heavy workloads with limited parallel CPU needs, such as small in-memory caches, lightweight microservices, and basic background text processing tasks.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.22Score
      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) 295,450 ops/sec 1,936,298 ops/sec 0.16 50.00% 50.00% -60.00%
      Redis RPS (pipeline=16, SET) 1,533,125 ops/sec 11,797,257 ops/sec 0.12 20.00% 20.00% -35.00%
      PassMark Memory Mark (composite) 1,381 2,407 0.58 10.00% 10.00% -5.30%
      Memory bandwidth (read, 16 MB ~ L3) 28,963 MB/sec 108,490 MB/sec 0.26 10.00% 10.00% -13.00%
      PassMark single-thread CPU 2,350 Mops/s 2,365 Mops/s 1 10.00% 10.00% 0.00%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,640

      Geekbench Multi-Core

      Score: 2,036

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      3,006
      Compression
      29,555
      Encryption
      1,692
      Extended Instructions
      2,090
      Floating Point Maths
      5,423
      Integer Maths
      7,613
      Physics
      384
      Prime Numbers
      16
      Single Threaded
      2,350
      String Sorting
      3,834

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,381
      Database Operations
      932
      Memory Latency
      75
      Memory Read Cached
      21,317
      Memory Read Uncached
      7,021
      Memory Write
      6,672

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      593.85 589.5 0.99×
      bitops
      115,002 142,870 1.24×
      branch
      110,802 171,593 1.55×
      funccall
      602.23 777.53 1.29×
      funcret
      9,914 15,475 1.56×
      hash
      139,353 203,304 1.46×
      intmath
      49,878 62,725 1.26×
      nop
      207,484 170,992 0.82×
      prime
      350,630 438,019 1.25×
      rotate
      76,508 96,873 1.27×
      str
      703,337 971,202 1.38×
      wcs
      539,058 680,793 1.26×
      CryptographySingleMultiScaling
      crypt
      2,647 3,126 1.18×
      CompressionSingleMultiScaling
      jpeg
      635.9 871.19 1.37×
      zlib
      45.22 56.12 1.24×
      HypervisorSingleMultiScaling
      clock
      43,744 67,837 1.55×
      clone
      353.76 367.03 1.04×
      context
      4,088 6,722 1.64×
      cpu-sched
      62.13 120.03 1.93×
      eventfd
      53,976 214,574 3.98×
      fault
      21,178 28,230 1.33×
      fork
      5,007 9,811 1.96×
      getrandom
      47,329 69,088 1.46×
      hrtimers
      200,659 228,787 1.14×
      mprotect
      566,345 572,878 1.01×
      mtx
      12,130,273 59,006,430 4.86×
      munmap
      3,451 6,046 1.75×
      null
      686,106 1,074,810 1.57×
      pipe
      2,808,207 1,230,793 0.44×
      priv-instr
      624,879 911,948 1.46×
      resched
      346,228 243,668 0.70×
      switch
      122,693 497,209 4.05×
      timermix
      181,323 312,564 1.72×
      tlb-shootdown
      5,518 5,917 1.07×
      tsc
      440,271 721,104 1.64×
      usersyscall
      537,266 781,806 1.46×
      vdso
      68,776,918 103,888,135 1.51×
      vfork
      31,152 57,517 1.85×
      x86syscall
      7,854,342 12,755,808 1.62×
      yield
      1,596,501 1,528,944 0.96×
      zero
      4,884,825 8,007,829 1.64×
      CPU float/SIMDSingleMultiScaling
      eigen
      12,474 17,060 1.37×
      expmath
      2,769 4,029 1.46×
      fma
      1,033,989 1,364,452 1.32×
      fp
      152.56 224.3 1.47×
      fractal
      5.2 7.6 1.46×
      hyperbolic
      3,135 4,514 1.44×
      logmath
      3,994 6,349 1.59×
      matrix
      3,902 4,346 1.11×
      matrix-3d
      765.36 797.43 1.04×
      monte-carlo
      225.71 366.54 1.62×
      mpfr
      1,328 1,577 1.19×
      powmath
      1,495 2,234 1.49×
      trig
      1,986 2,603 1.31×
      veccmp
      18,283 21,876 1.20×
      vecfp
      1,184 1,531 1.29×
      vecmath
      3,022 4,161 1.38×
      vecshuf
      628.42 736.8 1.17×
      vecwide
      26,918 33,394 1.24×
      AlgorithmsSingleMultiScaling
      bitonicsort
      7 8.4 1.20×
      bsearch
      226.19 290.93 1.29×
      bubblesort
      0.8 0.8 1.00×
      fibsearch
      256.31 324.87 1.27×
      heapsort
      8 10.8 1.35×
      hsearch
      6,529 8,389 1.28×
      insertionsort
      9.8 9.4 0.96×
      malloc
      1,881,156 3,655,447 1.94×
      mcontend
      335.91 366.38 1.09×
      mergesort
      23.2 33.2 1.43×
      qsort
      16.4 22.6 1.38×
      skiplist
      4,164 6,506 1.56×
      tree
      1.2 1.6 1.33×
      MemorySingleMultiScaling
      cache
      204,074 246,014 1.21×
      cachehammer
      184,228 304,985 1.66×
      cacheline
      25.67 53.55 2.09×
      l1cache
      838.96 350.41 0.42×
      memcpy
      334.83 354.31 1.06×
      memrate
      0.15 0.28 1.87×
      memthrash
      60.97 77.63 1.27×
      ptr-chase
      11,420,044 22,302,021 1.95×
      spinmem
      164.39 80.99 0.49×
      stream
      4.67 10.2 2.18×
      vm
      64,390 143,567 2.23×

      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

      INSTANCEvCPUsMEMORYAccelerators
      n4-highcpu-2 24 GiB0
      n4-standard-2 28 GiB0
      n4-highcpu-4 48 GiB0
      n4-standard-4 416 GiB0
      n4-highmem-4 432 GiB0
      n4-highcpu-8 816 GiB0
      n4-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n4-highmem-2 FAQs