How to Pool RAM from Old PCs: The Complete Guide (Yes, It’s Possible for AI)

How to Pool RAM from Old PCs: The Complete Guide (Yes, It’s Possible for AI)

Direct Answer

You can’t merge physical RAM across PCs into one motherboard slot. But you can pool their memory for local AI: open-source software splits a model’s transformer layers across machines over your LAN. Three computers with 16 GB RAM each combine into a 48 GB memory pool (roughly 42 GB usable), running 32B and 70B models that none could load alone.

When hardware forums answer this question, they focus on physical hardware buses. They are technically correct for traditional desktop computing: DDR3 cannot fit into a DDR4 slot, and PCIe buses cannot bridge across separate motherboards over a cable.

However, Artificial Intelligence does not execute like traditional software. Large Language Models (LLMs) calculate sequentially, layer by layer. By distributing those layers across computers on your local network, existing household devices work together as a single unified inference engine.

Why the standard answer is right for gaming (and wrong for AI)

Key Distinction: Video games and operating system kernels require nanosecond memory bus access (over 50 GB/s) across a single motherboard. Split-chassis gaming fails because network latency (0.1–1 ms) is thousands of times too slow for real-time graphics. AI inference, however, calculates sequentially: computers only exchange compact activation tensors (kilobytes per token), allowing standard gigabit Ethernet or Wi-Fi to handle full-speed generation.

Traditional programs assume Uniform Memory Access. A game engine constantly updates physics, audio buffers, and polygon vertices millions of times per second across shared memory addresses. If a CPU had to wait for an Ethernet packet just to read a single texture byte, frame rates would drop to absolute zero.

Large Language Models execute differently. When you submit a prompt to a 70-billion parameter model:

  • The prompt passes into Layer 1, which processes the input tokens.
  • Layer 1 outputs an intermediate activation vector (just a numerical array of hidden states, typically 4 KB to 16 KB in size).
  • That vector passes into Layer 2, then Layer 3, continuing in a sequential forward pass through all 80 layers.
  • Only the final layer evaluates the vocabulary probability to output the next token.

Because each layer only needs the output of the layer before it, the layers do not need to sit on the same physical motherboard. Machine A computes Layers 1–25 in its own RAM, sends a tiny 8 KB vector over your home router to Machine B, and Machine B computes Layers 26–50. Read our technical deep-dive in the How It Works architecture guide.

Can you combine RAM from two computers?

Direct Answer: Yes, for local AI inference. By running remote procedure call (RPC) worker daemons, two computers pool their RAM over local network. For example, a 16 GB laptop running Layers 1–32 and a 16 GB desktop running Layers 33–64 provide 32 GB of collective system memory, comfortably loading 25 GB to 28 GB quantized models (like Qwen 2.5 32B) without out-of-memory errors.
Computer Setup Hardware Specifications Assigned Transformer Layers Usable AI Memory
Old Laptop Intel Core i7-7700HQ (16 GB DDR4) Layers 1 – 22 (CPU/RAM) 14 GB
Home Desktop AMD Ryzen 5 + GTX 1650 (16 GB DDR4) Layers 23 – 44 (CPU/GPU) 14 GB
Spare Mini PC / Mac M-series Mac or Ryzen Mini PC (16 GB) Layers 45 – 64 (Metal / OpenCL) 14 GB
Total Pooled Cluster 3 Consumer Computers All 64 Layers Active 42 GB Usable (48 GB Total)

Can DDR3 and DDR4 machines work together?

Direct Answer: Yes. Pin layouts and memory voltages only matter within a single motherboard. In a network cluster, each memory stick stays seated in its own computer. A 2013 desktop running DDR3, a 2020 laptop running DDR4, and an Apple Silicon Mac running unified LPDDR5 communicate entirely through standardized TCP/IP network packets.

Because the operating system on each machine manages its own physical memory controller, architecture differences disappear over the network. The main inference process only cares that a worker responds to network RPC calls and reports available allocation capacity. Explore real hardware permutations in our guide: One Cluster, Every Setup: Why RAMDeck Fits Wherever You Start.

How much RAM do I need for a 70B model?

Direct Answer: A 70-billion parameter model quantized to 4-bit (Q4_K_M) requires approximately 42 GB to 44 GB of memory for model weights and KV context cache. While this exceeds the 24 GB VRAM limit of a single $2,000 Nvidia RTX 4090, three 16 GB computers (48 GB total RAM) provide ample pooled headroom to evaluate 70B models at zero extra hardware cost.

How to pool RAM from old PCs: The open-source DIY steps

Direct Answer: The DIY method uses llama.cpp’s RPC backend. Step 1: Compile llama.cpp with `cmake -B build -DGGML_RPC=ON`. Step 2: Start `rpc-server -H 0.0.0.0 -p 50052` on each worker PC. Step 3: Run `llama-server` on your primary computer, passing `–rpc :50052,:50052` to shard the layers automatically across your local network.

Here is the exact step-by-step setup to pool your hardware using pure open-source code:

Step 1: Compile llama.cpp with RPC Enabled

Run these build commands on every computer in your cluster (Windows, macOS, or Linux):

# Clone the official repository
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp

# Configure CMake with RPC backend enabled
cmake -B build -DGGML_RPC=ON

# Compile the binaries (add --config Release on Windows)
cmake --build build --config Release -j

Tip: On Nvidia machines, add -DGGML_CUDA=ON. On Apple Silicon Macs, add -DGGML_METAL=ON.

Step 2: Start the RPC Worker on Each Node

On every worker machine that will donate its RAM to the cluster, launch the RPC listener:

# On Worker 1 (e.g., 192.168.1.101)
./build/bin/rpc-server -H 0.0.0.0 -p 50052

# On Worker 2 (e.g., 192.168.1.102)
./build/bin/rpc-server -H 0.0.0.0 -p 50052

Step 3: Launch the Primary Server

On your primary machine, start llama-server with the --rpc flag pointing to your worker IP addresses:

./build/bin/llama-server \
  -m models/qwen2.5-32b-instruct-q4_k_m.gguf \
  --rpc 192.168.1.101:50052,192.168.1.102:50052 \
  --host 0.0.0.0 --port 8080 -c 4096

The Engineering Traps of Raw DIY RPC

While raw llama.cpp RPC works, managing a DIY cluster long-term introduces real friction:

  • Zombie RPC Processes: If a model switch fails or a service restarts, orphaned rpc-server processes hold TCP port 50052, causing subsequent connections to fail silently.
  • Apple Silicon Memory Clamping: macOS limits unified Metal memory allocations to ~70% of total physical RAM. Passing raw capacity causes Metal allocation panics (GGML_ASSERT).
  • Proportional Split Bottlenecks: If you pass full capacity for a slow CPU alongside a fast GPU, llama.cpp‘s default proportional split offloads too many layers to the slow CPU, tanking throughput from 14 tok/s down to 1 tok/s.
  • Static IPs & Network Drops: If a laptop closes or an IP shifts under DHCP, the server crashes mid-generation.

When should you use a hardware appliance like RAMDeck?

Direct Answer: If you enjoy managing terminal scripts, hunting down zombie TCP ports, and manual IP assignments, the free open-source DIY route is ideal. If you want a plug-and-play appliance that automatically discovers network PCs, applies dynamic waterfill layer allocation, and exposes a fault-tolerant OpenAI-compatible endpoint to your home apps, that is what the RAMDeck Hub provides.

We developed RAMDeck after running into these exact engineering hurdles while scaling internal customer-support AI for TradeMAV. The RAMDeck appliance automates the entire orchestration:

  • Zero-Terminal Auto-Discovery: Broadcasts heartbeats across your subnet to discover Mac, Windows, Linux, and Android nodes automatically.
  • Dynamic Waterfill Sharding: Maximizes fast GPU offloading first and only routes exact layer spillovers into secondary CPU RAM, eliminating throughput bottlenecks.
  • Fault-Tolerant Failover: If a laptop sleeps or disconnects, the coordinator reschedules the missing layers within 3 seconds without dropping your chat session.
  • Private OpenAI API: Drop-in compatibility with Open-WebUI, LibreChat, Continue.dev, and LangChain.

Real-world cost comparison: DIY vs. RAMDeck vs. New Hardware

Here is an honest breakdown of the true cost to achieve 40+ GB of local AI memory:

Approach Available AI Memory Can Run 70B Models? Hardware & Setup Cost
DIY Open-Source (llama.cpp RPC) 42 GB Usable (3x 16GB PCs) ✅ Yes $0 (Manual CLI setup)
RAMDeck Turnkey Hub 42 GB – 140+ GB (Pooled) ✅ Yes (Full 70B & 120B) $199 – $299 (Appliance kit)
New Nvidia RTX 4090 (24GB) 24 GB VRAM ❌ No (Exceeds 24GB ceiling) $1,800 – $2,200
Apple Mac Studio (M2/M4 64GB) 64 GB Unified ✅ Yes $3,999+
Commercial Cloud (API Subscriptions) Remote Hosted ✅ Yes $240 – $1,200/year (Plus privacy risk)

What speed can you expect from pooled old PCs?

Direct Answer: Network-pooled inference easily outpaces human reading speed. In live cluster benchmarks, an 8-year-old Acer laptop paired with an entry-level Dell desktop ran Qwen 2.5 32B at 13.7 tokens per second. Pairing a Mini PC with an Apple Silicon Mac mini achieved 38 to 39 tokens per second on 30B Mixture-of-Experts models.

Tested cluster metrics from our lab benchmarks:

  • Qwen 2.5 32B: Clocked at 13.7 tokens per second—comfortably faster than comfortable reading speed (roughly 4–5 words per second).
  • 30B MoE (Qwen2.5-Coder): Hit 38–39 tokens per second when pairing a Mini PC with an Apple Silicon Mac mini.
  • 120B Parameter Giant (MX-120B): Evaluated across 6 mixed consumer computers (spanning 148 GB pooled RAM) at 1.37 tok/s during a continuous 40-hour stress test.

Read full hardware specs, power draws, and telemetry in: What Speed Looks Like on a Pile of Old Computers.

What happens if a computer disconnects or sleeps mid-run?

Direct Answer: On raw DIY RPC, the inference process crashes immediately. In fault-tolerant engines like RAMDeck, the coordinator detects the lost node heartbeat within 3 seconds, recalculates layer distribution across the remaining active computers, reloads missing weights into available RAM, and resumes generation seamlessly.

Cluster Deep-Dive Guides & Specific Use Cases

Explore dedicated walkthroughs for your exact hardware combination, security requirements, and model sizing:

Private AI for Law Firms & Clinics →

How Harbor & Finch LLP deployed on-premise AI across 3 staff members with 100% data privacy and zero cloud fees.

Running a 120B Model on 6 Old Computers →

Pooling 148 GB RAM across household computers to evaluate massive frontier models locally over LAN.

llama.cpp RPC Multi-Machine Setup →

Exact compilation, daemon flags, and networking commands to link machines using open-source tools.

Running LLMs on 2 PCs Without a GPU →

Dual-machine CPU RAM pooling for laptops and desktops without dedicated graphics cards.

Combining VRAM and System RAM →

How dynamic Waterfill layer sharding prevents slow CPUs from dragging down fast GPU inference.

Local AI Server for Small Business →

Cost breakdown: replace recurring $30/user/mo cloud subscriptions with a one-time pooled office server.

Is llama.cpp RPC Secure? →

Understanding open port 50052, network sniffing risks, firewall rules, and appliance isolation.

Mixing Mac & Windows PCs in One Cluster →

Bridging Apple Silicon Metal GPUs and Windows CUDA/CPU PCs over standard TCP/IP.

How Much RAM to Run Llama 3 70B? →

Memory math for Q4_K_M weights, KV cache sizing, and breaking the 24 GB single-GPU limit.

Can DDR3 and DDR4 PCs Share Memory? →

Why physical motherboard slots reject mismatched DDR generations, but LAN clusters pool them seamlessly.

Frequently Asked Questions

Can you combine RAM from two computers?

Yes, for local AI inference. Software splits model layers sequentially across your local network. A 16 GB laptop and a 16 GB desktop combine into 32 GB of memory, allowing you to load 25 GB to 28 GB models that would crash on either machine alone.

Can DDR3 and DDR4 machines work together?

Yes. Physical memory slots stay on their respective motherboards. Because machines exchange numerical activation tensors over standard Wi-Fi or Ethernet packets, older DDR3 computers, DDR4 rigs, and modern Apple Silicon Macs collaborate seamlessly.

How much RAM do I need for a 70B model?

Approximately 42 GB to 44 GB for a 4-bit quantized model (Q4_K_M) with standard context. Three consumer PCs with 16 GB RAM each provide 48 GB total system RAM (roughly 42 GB usable for AI), providing the headroom required to run 70B models without a $2,000 GPU.

Do you need 10-Gigabit Ethernet to pool RAM for AI?

No. Standard 1-Gigabit Ethernet or Wi-Fi 5/6 works smoothly. The network only transfers intermediate activation tensors (a few kilobytes per token step) between layers, not the entire multi-gigabyte model weights.

Can you mix Windows, Linux, and macOS devices?

Yes. Distributed tensor RPC is operating-system agnostic. Apple Silicon Metal GPUs, Nvidia CUDA cards, and standard x86 CPUs work together in the same homogeneous cluster.

TradeMAV LLC

Written by TradeMAV LLC

TradeMAV LLC is an engineering and product team with a proven track record of designing, funding, and shipping production hardware and software (including OptionMAV and TradeMAV). We built RAMDeck to solve our own production AI memory constraints during the global DRAM shortage, creating a reliable way to orchestrate on-premise AI across mixed consumer hardware. Learn more on our Our Story page or explore our code on GitHub.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top