Post

How I Set Up Local AI on a Dell T5810 with Two RTX 3060s

I wanted to learn how to deploy and tune local AI models, then use them to help me write and review code for my projects. I’d held off because of hardware costs until I saw a YouTube video about putting two RTX 3060s in an older Dell Precision T5810. The build looked affordable enough to try, so I picked up the workstation on eBay.

A couple of weeks in, I have both cards running and I’m using the Dell for local AI. Here’s what I bought and how I got it working.

What I bought

These were the best prices I found while shopping for this build, rounded to the nearest dollar to give you an idea of what I spent. The workstation, graphics cards, and replacement power supply were all used. What you pay will depend on when you shop and what’s available.

ItemPrice I paid
Dell Precision T5810 with 64 GB DDR4 RAM and 512 GB storage$473
Two EVGA GeForce RTX 3060 XC 12 GB graphics cards (12G-P5-3657-KR)$769 for the pair
Dell K61PK / H825EF-02 825 W 80 Plus Gold power supply, Grade B$93
Sabrent EC-PCIE M.2 NVMe PCIe adapter with aluminum heatsink$18
Patriot P400 Lite 1 TB M.2 NVMe SSD (P400LP1KGM28H)$150
COMeap BX0019-1170X Dell 8-pin to dual 6+2-pin PCIe power cable$12
MODDIY T7810-10P-D8PCIE Dell 10-pin to dual 8-pin PCIe power cable (CO973)$20
Total$1,535

The finished setup

  • System. Ubuntu 26.04 Desktop on an Intel Xeon E5-2683 v4 with 64 GB of DDR4 RAM.
  • Storage. I used a Sabrent adapter to install a 1 TB Patriot NVMe SSD in one of the PCIe slots.
  • Graphics. I installed the two RTX 3060s in PCIe slots 2 and 4. Each card has 12 GB of VRAM, for 24 GB across both cards.

How I powered both GPUs

My T5810 came with a 685 W power supply and a Dell M6NP2 power distribution board. The original graphics cable had two 6-pin plugs, and each RTX 3060 needed an 8-pin plug.

I upgraded to the 825 W Dell power supply for extra headroom with both GPUs. I’d also read a report from another T5810 owner that the 825 W unit puts the two connectors I use for GPU power on separate 12 V rails. T5810 owner’s report

I kept the original power distribution board and used a separate connector for each card.

  • POWER_VGA1 (black, 8-pin). I used a COMeap 6+2-pin cable for the first RTX 3060.
  • POWER_CPU2 (white, 10-pin). I used a MODDIY 10-pin to dual 8-pin cable for the other RTX 3060. MODDIY lists this cable for the Dell T7810, but it is working fine on the M6NP2 board in my Dell T5810.

If you’re shopping for a similar setup, check the part number on your distribution board and verify the cable wiring for that connector. The shape of the plug alone only tells you whether it fits.

How I use it with VS Code

With both cards running, I could put the Dell to work on my software projects. I use Twinny as my AI coding harness in VS Code. It sends my requests to a model server running on the Dell, where I use llama.cpp, Strata, or PolyStrata depending on the model. I’ve also connected the Docker MCP Toolkit to Twinny, giving my local AI model access to additional tools and expanding what it can do. Twinny documentation

Why I use Remote SSH

When I launched a model from a terminal on the Ubuntu desktop over RDP, I saw about 45 W of extra power draw on the warmer RTX 3060. I switched to VS Code Remote SSH so I could start the models from VS Code’s terminal and avoid that extra GPU load. VS Code Remote SSH documentation

Starting a model and connecting Twinny

From the Remote SSH terminal, I use separate launcher scripts to switch models without entering their settings every time. Each script starts a local server on the Dell. Here’s what I’ve been running.

  • llama.cpp. Arete 27B.
  • Strata. Inkling 2 Mini.
  • PolyStrata. Inkling 2 Mini, Flint 40B, and Tiel Coder 35B.

In Twinny, I add a chat provider using the address and port from the server’s startup message. For example, I use the OpenAI-compatible server preset for Inkling on PolyStrata. Once the provider is saved, I select it whenever I start that model. Twinny’s local provider documentation

Putting more work on the cooler card

GPU 0 had less room for airflow and still tended to run warmer after I switched to Remote SSH.

Before tuning the cards, I saw temperatures around 92°C. I capped GPU 0 at 100 W and GPU 1 at 110 W, and the warmer card still averaged about 82°C under load in llama.cpp. So I shifted more of the model work to the cooler GPU 1 and raised its cap to 120 W. GPU 0 is still capped at 100 W and typically runs around 75–78°C under load now.

Setting the GPU power limits

In a Bash terminal on the Ubuntu workstation, run this to check which index and UUID belong to each card.

1
nvidia-smi --query-gpu=index,uuid,pci.bus_id,power.limit --format=csv

Check your own card order first, then run the power-limit commands in the same Ubuntu Bash terminal. These are the indexes and limits for my two cards.

1
2
3
sudo nvidia-smi -i 0 -pl 100
sudo nvidia-smi -i 1 -pl 120
nvidia-smi --query-gpu=index,power.limit --format=csv

To apply the limits at boot, my systemd service identifies the cards by UUID instead of GPU index. NVIDIA’s nvidia-smi documentation

How I split the work

Arete 27B in llama.cpp. My Bash launcher sets the GPU order and defaults to a 46/54 split, giving GPU 1 the larger share. The launcher passes --device CUDA0,CUDA1 --split-mode layer to llama-server. llama.cpp multi-GPU guide

1
2
3
export CUDA_DEVICE_ORDER=PCI_BUS_ID
export CUDA_VISIBLE_DEVICES=0,1
export LLAMA_ARG_TENSOR_SPLIT="${LLAMA_ARG_TENSOR_SPLIT:-46,54}"

Inkling 2 Mini in PolyStrata. In this excerpt from my JSON config, [1, 0] puts GPU 1 first and 18 is the layer where GPU 0 takes over. PolyStrata’s Inkling documentation

1
2
3
4
5
{
  "gpu": [1, 0],
  "gpu_order": "as_given",
  "layer_split": 18
}

Both launchers use a 98,304-token context window. Inkling’s image processing runs on the CPU.

What I measured

I watched both cards in nvidia-smi during an Arete test with about 89,000 input tokens.

  • GPU 0 peaked at 78°C.
  • GPU 1 peaked at 63°C and had as little as 743 MiB of free VRAM.

Watching the available VRAM helped me see how much room I had to increase the context window.

How fast the models ran

Alongside temperature and memory use, I wanted to see how quickly each model could generate a reply. Here’s what I saw on my two RTX 3060s in the runs I saved.

ModelRuntimeApprox. generation speed (tokens/sec)
Arete 27Bllama.cpp17
Inkling 2 MiniPolyStrata44
Flint 40B-A2.5BPolyStrata77
Tiel Coder 35B-A3BPolyStrata130

These are the speeds I saw after the model finished reading the prompt. The runs used different prompts and context lengths.

Getting a similar setup running

  1. Check that Ubuntu sees both cards. After installing the NVIDIA driver, run this in a Bash terminal on the Ubuntu workstation.

    1
    
    nvidia-smi
    

    Confirm that both GPUs are listed.

  2. Pick one model and start its server. Use an engine that supports the model you want to run. Start with a modest context window and confirm the model loads across both cards. llama.cpp server guide · Strata · PolyStrata
  3. Connect Twinny. Open your project in the VS Code Remote SSH window. In Twinny, add a chat provider using the model server’s address and the configured model name. Send a short message to confirm you get a reply. Twinny provider guide
  4. Try a longer prompt while watching both cards. Run this in a second Bash terminal on the Ubuntu workstation while the model is working.

    1
    
    watch -n 1 nvidia-smi
    

    Check how much VRAM each card is using and how warm it gets. Once your first model is working, you can use the same process to try another one or tune the context and GPU split.

A couple of weeks in, I’m enjoying local AI in VS Code and still seeing what it can handle. If you’ve built something similar, I’d like to hear what you’re running and what’s worked well for you. Connect with me on LinkedIn.

Disclaimer: AI tools assisted with research and editing. I reviewed and revised the content, but errors or oversimplifications may remain. Verify important details against the linked references and official documentation.


This post is licensed under CC BY 4.0 by the author.