n2-highcpu-4 by Google Cloud Platform
(All-cores)
(Single-core)
Specifications
Server Metadata
Vendor ID | gcp |
Server ID | 903004 |
Name | n2-highcpu-4 |
Description | 4 vCPUs 4 GB RAM |
Family | n2 |
Hw Virt | |
Average Time To Start | 22 |
Status | active |
Observed At | 2026-10-24T05:25:40.502061 |
Availability
| REGION / ID | SPOT | ONDEMAND |
|---|---|---|
Council Bluffs (US) / us-central1 | 0.086 USD/h | 0.1434 USD/h |
The Dalles (US) / us-west1 | 0.086 USD/h | 0.1434 USD/h |
Moncks Corner (US) / us-east1 | 0.086 USD/h | 0.1434 USD/h |
Columbus (US) / us-east5 | 0.086 USD/h | 0.1434 USD/h |
St. Ghislain (BE) / europe-west1 | 0.0357 USD/h | 0.1577 USD/h |
Johannesburg (ZA) / africa-south1 | 0.0448 USD/h | 0.1577 USD/h |
Tel Aviv (IL) / me-west1 | 0.0946 USD/h | 0.1577 USD/h |
Toronto (CA) / northamerica-northeast2 | 0.0142 USD/h | 0.1579 USD/h |
Eemshaven (NL) / europe-west4 | 0.0439 USD/h | 0.1579 USD/h |
Montréal (CA) / northamerica-northeast1 | 0.0724 USD/h | 0.1579 USD/h |
Hamina (FI) / europe-north1 | 0.0767 USD/h | 0.1579 USD/h |
Ashburn (US) / us-east4 | 0.0403 USD/h | 0.1615 USD/h |
Las Vegas (US) / us-west4 | 0.0896 USD/h | 0.1615 USD/h |
Changhua County (TW) / asia-east1 | 0.0575 USD/h | 0.166 USD/h |
Milan (IT) / europe-west8 | 0.0163 USD/h | 0.1663 USD/h |
Paris (FR) / europe-west9 | 0.0465 USD/h | 0.1663 USD/h |
Dallas (US) / us-south1 | 0.0318 USD/h | 0.1692 USD/h |
Madrid (ES) / europe-southwest1 | 0.0436 USD/h | 0.1692 USD/h |
Delhi (IN) / asia-south2 | 0.0155 USD/h | 0.1722 USD/h |
Los Angeles (US) / us-west2 | 0.0581 USD/h | 0.1722 USD/h |
Mumbai (IN) / asia-south1 | 0.0598 USD/h | 0.1722 USD/h |
Salt Lake City (US) / us-west3 | 0.0659 USD/h | 0.1722 USD/h |
Melbourne (AU) / australia-southeast2 | 0.0803 USD/h | 0.1729 USD/h |
Warsaw (PL) / europe-central2 | 0.0568 USD/h | 0.1735 USD/h |
Doha (QA) / me-central1 | 0.0344 USD/h | 0.1742 USD/h |
Jurong West (SG) / asia-southeast1 | 0.0674 USD/h | 0.1769 USD/h |
Osaka (JP) / asia-northeast2 | 0.0513 USD/h | 0.1841 USD/h |
Tokyo (JP) / asia-northeast1 | 0.0533 USD/h | 0.1841 USD/h |
Seoul (KR) / asia-northeast3 | 0.0534 USD/h | 0.1841 USD/h |
Berlin (DE) / europe-west10 | 0.0259 USD/h | 0.1848 USD/h |
London (GB) / europe-west2 | 0.0368 USD/h | 0.1848 USD/h |
Frankfurt (DE) / europe-west3 | 0.1018 USD/h | 0.1848 USD/h |
Turin (IT) / europe-west12 | 0.0343 USD/h | 0.185 USD/h |
Zurich (CH) / europe-west6 | 0.0685 USD/h | 0.1878 USD/h |
Jakarta (ID) / asia-southeast2 | 0.109 USD/h | 0.1928 USD/h |
Hong Kong / asia-east2 | 0.0566 USD/h | 0.2006 USD/h |
Sydney (AU) / australia-southeast1 | 0.0932 USD/h | 0.2035 USD/h |
Santiago (CL) / southamerica-west1 | 0.0526 USD/h | 0.2051 USD/h |
Osasco (BR) / southamerica-east1 | 0.0552 USD/h | 0.2276 USD/h |
Dammam (SA) / me-central2 | 0.038 USD/h | 0.2294 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 | 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 |
| NETWORK | |
|---|---|
Inbound Traffic | 0 GB/month |
Outbound Traffic | 0 GB/month |
IPv4 | 0 |
CPU and System Topology
Server Description
A dedicated compute-focused virtual machine with a low memory-to-core ratio, designed for lightweight processing and basic text operations.
Google Cloud Platform n2-highcpu-4 is an x86_64 compute-focused virtual machine featuring 4 dedicated vCPUs and 4.0 GB of RAM, powered by an Intel Xeon processor operating at 2.8 GHz. It contains 2 physical cores with hyper-threading, a 33 MB L3 cache, and supports AVX-512 instruction sets. This configuration does not include local storage or GPU accelerators. Performance benchmarks generally fall into the lower quartiles, with weak multi-core CPU and memory bandwidth results, though it maintains average single-threaded decompression and text processing capabilities. Qualitatively, this instance provides a cost-effective option for dedicated CPU workloads with low memory requirements. It is best suited for lightweight compute tasks, basic text processing, and low-traffic web serving.
Economics
Performance
Memory Bandwidth
Compression
OpenSSL
Geekbench Single-Core
Geekbench Multi-Core
Passmark CPU Scores
| BENCHMARK | SCORE |
|---|---|
Mark | 4,325 |
Compression | 55,716 |
Encryption | 1,700 |
Extended Instructions | 3,154 |
Floating Point Maths | 6,651 |
Integer Maths | 12,358 |
Physics | 509 |
Prime Numbers | 26 |
Single Threaded | 1,977 |
String Sorting | 6,542 |
Passmark Memory Scores
| BENCHMARK | SCORE |
|---|---|
Memory Mark | 1,053 |
Database Operations | 1,419 |
Memory Latency | 53 |
Memory Read Cached | 23,959 |
Memory Read Uncached | 9,876 |
Memory Write | 9,564 |
Stress-ng Stressors
| CPU integer | Single | Multi | Scaling |
|---|---|---|---|
atomic | 258.76 | 252.51 | 0.98× |
bitops | 107,590 | 245,641 | 2.28× |
branch | 153,125 | 460,521 | 3.01× |
funccall | 539.46 | 1,116 | 2.07× |
funcret | 11,300 | 31,947 | 2.83× |
hash | 125,259 | 355,067 | 2.83× |
intmath | 22,155 | 66,007 | 2.98× |
nop | 189,827 | 328,806 | 1.73× |
prime | 313,771 | 696,470 | 2.22× |
rotate | 96,346 | 262,779 | 2.73× |
str | 750,744 | 1,584,300 | 2.11× |
wcs | 477,624 | 998,993 | 2.09× |
| Cryptography | Single | Multi | Scaling |
|---|---|---|---|
crypt | 2,431 | 4,715 | 1.94× |
| Compression | Single | Multi | Scaling |
|---|---|---|---|
jpeg | 594.2 | 1,328 | 2.23× |
zlib | 48.35 | 175.17 | 3.62× |
| Hypervisor | Single | Multi | Scaling |
|---|---|---|---|
clock | 29,943 | 68,594 | 2.29× |
clone | 364.57 | 559.69 | 1.54× |
context | 2,551 | 5,968 | 2.34× |
cpu-sched | 57.41 | 235.23 | 4.10× |
eventfd | 46,196 | 216,911 | 4.70× |
fault | 10,156 | 26,726 | 2.63× |
fork | 3,893 | 11,026 | 2.83× |
getrandom | 44,515 | 107,627 | 2.42× |
hrtimers | 218,716 | 364,893 | 1.67× |
mprotect | 576,600 | 633,775 | 1.10× |
mtx | 9,095,618 | 108,826,138 | 11.96× |
munmap | 2,774 | 7,183 | 2.59× |
null | 289,174 | 597,880 | 2.07× |
pipe | 831,919 | 1,412,553 | 1.70× |
priv-instr | 550,627 | 1,228,299 | 2.23× |
resched | 605,945 | 326,693 | 0.54× |
switch | 80,117 | 674,109 | 8.41× |
timermix | 182,099 | 523,281 | 2.87× |
tlb-shootdown | 7,021 | 9,988 | 1.42× |
tsc | 992,979 | 2,755,095 | 2.77× |
usersyscall | 380,918 | 845,260 | 2.22× |
vdso | 82,563,221 | 233,226,427 | 2.82× |
vfork | 26,686 | 64,222 | 2.41× |
x86syscall | 3,346,535 | 6,890,448 | 2.06× |
yield | 2,027,841 | 1,927,589 | 0.95× |
zero | 1,997,123 | 4,255,003 | 2.13× |
| CPU float/SIMD | Single | Multi | Scaling |
|---|---|---|---|
eigen | 16,059 | 37,131 | 2.31× |
expmath | 2,665 | 8,080 | 3.03× |
fma | 546,518 | 1,767,419 | 3.23× |
fp | 117.6 | 311.05 | 2.64× |
fractal | 4.8 | 14.4 | 3.00× |
hyperbolic | 2,779 | 8,505 | 3.06× |
logmath | 4,510 | 13,254 | 2.94× |
matrix | 2,994 | 9,528 | 3.18× |
matrix-3d | 515.92 | 951.06 | 1.84× |
monte-carlo | 139.51 | 311.16 | 2.23× |
mpfr | 1,205 | 2,561 | 2.12× |
powmath | 1,578 | 4,799 | 3.04× |
trig | 1,701 | 4,477 | 2.63× |
veccmp | 15,343 | 32,315 | 2.11× |
vecfp | 1,294 | 3,247 | 2.51× |
vecmath | 2,178 | 6,821 | 3.13× |
vecshuf | 562.65 | 1,200 | 2.13× |
vecwide | 22,561 | 50,613 | 2.24× |
| Algorithms | Single | Multi | Scaling |
|---|---|---|---|
bitonicsort | 7.2 | 16.8 | 2.33× |
bsearch | 240.06 | 539.72 | 2.25× |
bubblesort | 0.8 | 1.6 | 2.00× |
fibsearch | 242.94 | 551.37 | 2.27× |
heapsort | 8.6 | 20.8 | 2.42× |
hsearch | 4,871 | 12,168 | 2.50× |
insertionsort | 8 | 16 | 2.00× |
malloc | 1,709,391 | 7,010,019 | 4.10× |
mcontend | 205.71 | 878.52 | 4.27× |
mergesort | 23.2 | 62.2 | 2.68× |
qsort | 14.8 | 34 | 2.30× |
skiplist | 4,855 | 13,666 | 2.81× |
tree | 1.2 | 2.4 | 2.00× |
| Memory | Single | Multi | Scaling |
|---|---|---|---|
cache | 296,210 | 373,382 | 1.26× |
cachehammer | 366,132 | 1,309,681 | 3.58× |
cacheline | 26.33 | 113.55 | 4.31× |
l1cache | 226.44 | 488.69 | 2.16× |
memcpy | 346.23 | 740.83 | 2.14× |
memrate | 1.17 | 3.06 | 2.62× |
memthrash | 66.61 | 149.5 | 2.24× |
ptr-chase | 11,487,859 | 41,750,836 | 3.63× |
spinmem | 221.39 | 192.99 | 0.87× |
stream | 30.37 | 293.94 | 9.68× |
vm | 54,733 | 230,867 | 4.22× |
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
| 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-standard-4 | 4 | 16 GiB | 0 |
| n2-highmem-4 | 4 | 32 GiB | 0 |
| n2-highcpu-8 | 8 | 8 GiB | 0 |
| n2-standard-8 | 8 | 32 GiB | 0 |
Similar Servers
| INSTANCE | VENDOR | vCPUs | MEMORY | Accelerators |
|---|