n4d-highcpu-2 by Google Cloud Platform

n4d-highcpu-2 is a 2 vCPUs, 4 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 4 GiB of memory and 0 GB of storage. The pricing starts at 0.0162 USD per hour.
2 vCPU
4 GiB Memory
Spare SCore
3,440
(All-cores)
3,437
(Single-core)

Specifications #

Server Metadata #

Vendor ID
gcp
Server ID
1751200
Name
n4d-highcpu-2
Description
2 vCPUs, 4 GB RAM
Family
General Purpose
Series
n4d
Hw Virt
Average Time To Start
17
Status
active
Observed At
2026-12-04T05:30:32.732083

Availability #

Region / IDSpotOndemand
Mumbai (IN) / asia-south1
0.0272 USD/h
0.0543 USD/h
Moncks Corner (US) / us-east1
0.0162 USD/h
0.0715 USD/h
The Dalles (US) / us-west1
0.017 USD/h
0.0715 USD/h
Columbus (US) / us-east5
0.0361 USD/h
0.0715 USD/h
Ashburn (US) / us-east4
0.0387 USD/h
0.0715 USD/h
Council Bluffs (US) / us-central1
0.0427 USD/h
0.0715 USD/h
Delhi (IN) / asia-south2
0.0188 USD/h
0.0743 USD/h
Eemshaven (NL) / europe-west4
0.0406 USD/h
0.0751 USD/h
Tel Aviv (IL) / me-west1
0.0223 USD/h
0.0786 USD/h
St. Ghislain (BE) / europe-west1
0.0236 USD/h
0.0787 USD/h
Hamina (FI) / europe-north1
0.0453 USD/h
0.0787 USD/h
Las Vegas (US) / us-west4
0.0217 USD/h
0.0805 USD/h
London (GB) / europe-west2
0.0441 USD/h
0.0814 USD/h
Frankfurt (DE) / europe-west3
0.0446 USD/h
0.0843 USD/h
Salt Lake City (US) / us-west3
0.0514 USD/h
0.0859 USD/h
Jurong West (SG) / asia-southeast1
0.0477 USD/h
0.0881 USD/h
Dammam (SA) / me-central2
0.0272 USD/h
0.1144 USD/h

Processor #

vCPUs
2
Hypervisor
KVM
CPU Allocation
Dedicated
CPU Cores
1
CPU Architecture
x86_64
CPU Manufacturer
AMD
CPU Family
EPYC
CPU Model
9B45
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
1 MiB
CPU L2 Cache Total
1 MiB
CPU L3 Cache
32 MiB
CPU L3 Cache Total
32 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, mmxext, fxsr_opt, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, extd_apicid, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, cmp_legacy, cr8_legacy, abm, sse4a, misalignsse, 3dnowprefetch, osvw, topoext, ssbd, ibrs, ibpb, stibp, ibrs_enhanced, vmmcall, fsgsbase, tsc_adjust, bmi1, avx2, smep, bmi2, invpcid, avx512f, avx512dq, rdseed, adx, smap, avx512ifma, clflushopt, clwb, avx512cd, sha_ni, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, avx_vnni, avx512_bf16, clzero, xsaveerptr, wbnoinvd, arat, avx512vbmi, umip, pku, ospke, avx512_vbmi2, gfni, vaes, vpclmulqdq, avx512_vnni, avx512_bitalg, avx512_vpopcntdq, rdpid, movdiri, movdir64b, avx512_vp2intersect, flush_l1d
Ecpus
1
Scalability
50

System Resources and Accelerators #

Memory
Memory Amount
4 GiB
Memory Amount Actual
4 GiB
Accelerators
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    Storage
    Storage Size
    0 GB
    Storages
      Compatible Storage IDs
      30014, 30017, 30013, 30016
      Network
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      CPU and System Topology #

      Server Description #

      Dedicated AMD EPYC single-core architecture delivering strong per-thread execution speeds with a compact memory footprint for lightweight processing workloads.

      Google Cloud Platform n4d-highcpu-2 is an x86_64 virtual instance configured with 2 dedicated vCPUs across 1 physical AMD EPYC 9B45 core, accompanied by 4.0 GB of system memory. Lacking integrated local storage and hardware acceleration, the instance relies on network-attached storage. Benchmark testing highlights strong single-threaded throughput, reaching 2493.0 in Geekbench single-core and top-decile execution speeds in compression and text processing tasks. However, overall multi-core compute, PassMark aggregate figures, and database throughput remain limited by the two-thread layout. Memory bandwidth is moderate, measuring 45.68 GB/sec for uncached reads. The n4d-highcpu-2 offers a cost-effective footprint for tasks prioritized around per-thread execution speed rather than thread count or memory density, making it appropriate for lightweight compute jobs, single-threaded batch scripts, microservices, and static web serving.

      Economics #

      Average Price per Region #

      Prices per Zone #

      Lowest Prices #

      Performance #

      Workload Profiles #

      0.36Score
      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 latency (512 MB), 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) 490,291 ops/sec 2,019,345 ops/sec 0.24 50.00% 50.00% -51.00%
      Redis RPS (pipeline=16, SET) 2,735,844 ops/sec 12,166,480 ops/sec 0.23 20.00% 20.00% -25.00%
      PassMark memory latency (512 MB) 79 ns 64 ns 0.81 10.00% 10.00% -2.10%
      Memory bandwidth (read, 16 MB ~ L3) 92,180 MB/sec 110,257 MB/sec 0.84 10.00% 10.00% -1.70%
      PassMark single-thread CPU 3,420 Mops/s 2,367 Mops/s 1.4 10.00% 10.00% +3.40%

      Memory Bandwidth#

      Compression #

      OpenSSL #

      Geekbench Single-Core #

      Score: 2,493

      Geekbench Multi-Core #

      Score: 3,185

      Passmark CPU Scores #

      BENCHMARKSCORE
      Mark
      4,642
      Compression
      46,270
      Encryption
      2,444
      Extended Instructions
      3,541
      Floating Point Maths
      7,437
      Integer Maths
      12,100
      Physics
      643
      Prime Numbers
      32
      Single Threaded
      3,420
      String Sorting
      5,804

      Passmark Memory Scores #

      BENCHMARKSCORE
      Memory Mark
      1,516
      Database Operations
      1,381
      Memory Latency
      79
      Memory Read Cached
      30,988
      Memory Read Uncached
      28,535
      Memory Write
      22,290

      Stress-ng Stressors #

      CPU integerSingleMultiScaling
      atomic
      537.56 537.79 1.00×
      bitops
      209,639 243,609 1.16×
      branch
      157,734 274,517 1.74×
      funccall
      819.26 1,098 1.34×
      funcret
      24,563 35,146 1.43×
      hash
      198,181 304,920 1.54×
      intmath
      72,961 88,026 1.21×
      nop
      389,638 466,492 1.20×
      prime
      568,102 784,315 1.38×
      rotate
      128,911 131,941 1.02×
      str
      1,427,937 1,824,643 1.28×
      wcs
      932,768 1,125,825 1.21×
      CryptographySingleMultiScaling
      crypt
      4,900 5,482 1.12×
      CompressionSingleMultiScaling
      jpeg
      1,144 1,626 1.42×
      zlib
      58.03 131.09 2.26×
      HypervisorSingleMultiScaling
      clock
      50,504 80,903 1.60×
      clone
      643.41 595.46 0.93×
      context
      8,465 13,932 1.65×
      cpu-sched
      59.18 135.62 2.29×
      eventfd
      89,220 351,956 3.94×
      fault
      39,517 56,194 1.42×
      fork
      10,764 20,799 1.93×
      getrandom
      89,321 101,571 1.14×
      hrtimers
      157,998 351,121 2.22×
      mprotect
      1,106,373 1,126,905 1.02×
      mtx
      23,698,552 128,875,176 5.44×
      munmap
      7,301 12,994 1.78×
      null
      1,348,364 2,275,055 1.69×
      pipe
      4,469,824 2,378,085 0.53×
      priv-instr
      1,274,815 1,876,719 1.47×
      resched
      601,694 405,046 0.67×
      switch
      137,521 771,659 5.61×
      timermix
      501,927 768,410 1.53×
      tlb-shootdown
      15,447 15,335 0.99×
      tsc
      808,811 1,585,281 1.96×
      usersyscall
      1,020,266 1,507,528 1.48×
      vdso
      98,887,249 154,180,571 1.56×
      vfork
      68,498 112,704 1.65×
      x86syscall
      17,828,932 30,087,828 1.69×
      yield
      2,692,187 2,341,728 0.87×
      zero
      7,167,493 9,404,375 1.31×
      CPU float/SIMDSingleMultiScaling
      eigen
      16,008 19,191 1.20×
      expmath
      3,653 4,817 1.32×
      fma
      1,427,573 2,080,113 1.46×
      fp
      200.78 279.08 1.39×
      fractal
      8.2 12.2 1.49×
      hyperbolic
      4,985 7,599 1.52×
      logmath
      5,140 8,018 1.56×
      matrix
      8,293 6,836 0.82×
      matrix-3d
      1,241 1,524 1.23×
      monte-carlo
      420.07 667.75 1.59×
      mpfr
      2,178 2,960 1.36×
      powmath
      1,675 2,617 1.56×
      trig
      2,218 3,369 1.52×
      veccmp
      27,473 37,686 1.37×
      vecfp
      2,198 3,675 1.67×
      vecmath
      4,333 6,712 1.55×
      vecshuf
      914.26 1,124 1.23×
      vecwide
      36,933 49,568 1.34×
      AlgorithmsSingleMultiScaling
      bitonicsort
      11.6 13.6 1.17×
      bsearch
      320.82 470.31 1.47×
      bubblesort
      1.2 1.6 1.33×
      fibsearch
      383.89 514.22 1.34×
      heapsort
      13 17.6 1.35×
      hsearch
      12,171 14,165 1.16×
      insertionsort
      14.4 8.8 0.61×
      malloc
      4,638,240 7,829,783 1.69×
      mcontend
      356.68 423.05 1.19×
      mergesort
      35.4 54.6 1.54×
      qsort
      24.4 34.4 1.41×
      skiplist
      7,598 12,077 1.59×
      tree
      2.4 3.6 1.50×
      MemorySingleMultiScaling
      cache
      1,032,054 1,043,570 1.01×
      cachehammer
      294,536 544,029 1.85×
      cacheline
      33.6 67.46 2.01×
      l1cache
      1,244 772 0.62×
      memcpy
      723.7 739.19 1.02×
      memrate
      1.1 1.19 1.08×
      memthrash
      87.39 136.74 1.56×
      ptr-chase
      62,646,649 40,478,183 0.65×
      spinmem
      301.38 141.15 0.47×
      stream
      141.18 319.24 2.26×
      vm
      235,496 259,358 1.10×

      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#

      PostgreSQL heavy read-only throughput #

      Alternatives #

      Servers of the Same Family #

      INSTANCEvCPUsMEMORYAccelerators
      n4d-standard-2 28 GiB0
      n4d-highmem-2 216 GiB0
      n4d-highcpu-4 48 GiB0
      n4d-standard-4 416 GiB0
      n4d-highmem-4 432 GiB0
      n4d-highcpu-8 816 GiB0
      n4d-standard-8 832 GiB0

      Similar Servers #

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n4d-highcpu-2 FAQs #