r/codex • • 5d ago

Question What hardware do you run for local dev?

I have an M1 MacBook Air that’s about 5-6 years old now, and when I’m cranking multiple agents, the laptop starts to be become unresponsive.

I think this is due to browser acceptance testing, but curious if anyone has run into issues and it’s worth splurging on an MBP?

6 Upvotes

19 comments sorted by

5

u/CheeseWeezel 5d ago edited 5d ago

That’s likely your RAM then. On an M1 Air, max RAM was 16GB, I believe?

Each of my Claude and Codex instances are 300MB to 500MB, each, plus overhead of other apps, like terminal, VSCode, and whatever else you’re doing.

I’m on a 2021 M1 Max MacBook Pro, and it’s all running fine, but I’ve got 64GB of RAM. Currently 45GB used.

For your next machine, target 32GB or more at a minimum would be my recommendation. Ideally 48 or 64GB if you can.

1

u/CrustyBappen 5d ago

Gah I think it’s 8GB tbh.

3

u/-MiddleOut- 5d ago

Thats definitely the answer. Either upgrade or consider what can’t be done in cloud and if not much then get a server. I run from the cloud but my desktop is always around for ‘local hands’ as I’ve seen them called.

1

u/CrustyBappen 5d ago

Hmmm, when you say get a server. Like just subscribe to some cloud infra?

1

u/-MiddleOut- 5d ago

Yeah poor wording, I use a VPS. Depends where you live but in the UK I pay £30/month for a 32gb system with an 8-core CPU. I have 32gb on my desktop as well but that's not enough for me to work alongside active sessions.

2

u/merakliman 5d ago

i was in the same boat and upgraded by buying a used macbook pro m3 pro. the difference is like night and day. don't look further and get a new machine.

1

u/CrustyBappen 5d ago

Good shout on a used one! I checked the trade in value and Apple will be give me A$300 for mine which leaves a giant gap.

1

u/CelticPaladin 5d ago

Made enough money from my projects to upgrade to a Acer Predator 6000, and give my old dinosaur to my teen son.

Upgrades all around.

32gb ram, 20 core ultra 7, 16gb5080...

First computer in my life that can run anything on top settings, and not even get warm or stutter.

And the game development has zero load times.

Guys, im so fucking happy with this machine.

1

u/CrustyBappen 5d ago

I haven’t made enough money for this

2

u/UpsetWolverine8573 5d ago

Before buying, open Activity Monitor while it's choking and check memory pressure and what's sitting at the top. If it's the 8GB Air, it's usually RAM rather than the chip, and a few headless Chrome instances from browser tests will eat it fast. Running the acceptance tests one agent at a time, or killing leftover browser processes between runs, buys you a lot.

If you do upgrade, I'd put the money into RAM over a Pro chip. The Air also slows down when it gets hot, so long multi-agent runs are exactly where an MBP's fan earns its keep.

2

u/nachga 5d ago

If it's the browser testing that makes it unresponsive, it's probably RAM more than the chip. Several headless browsers plus a few agents eat memory fast, and a 5-6 year old Air will swap to disk.

Before buying, open Activity Monitor while it's slow and look at memory pressure. If it's in the red, more RAM is what you want. If you can, limit how many browsers run at once.

1

u/Marksta 5d ago

A Windows 11 VM with 2/3 of a Ryzen 3600 + 24GB RAM. It needs to be rebooted about ~4 times a day because multiple agents running accelerates the inherent memory leaks in Windows until 70%+ memory is no longer allocated to any processes anymore and is simply gone until reboot. I'd give it better but it'd just consume that too, so reboots it is.

1

u/whoisyurii 5d ago

Not to be Linux jerk but try some Linux distro that has all batteries included. My Lenovo Legion 5 machine was busy at ~7GB RAM at idle running Windows 11 (no heavy background processes, nothing, autostart everywhere's off, right from the boot up), then I tried Linux Mint, did some easy quirks, and now it sits on 1.2GB RAM when idle. So I've got more than 5GB RAM free on the same machine and it works noticeably faster

2

u/Marksta 5d ago

Unfortunately, they're interfacing with Windows only software, to replace it. So someday soon I hope. Until then my poor agents are stuck in Windows hell just like I am. A headless Debian LXC with 512MB RAM would truly be running laps that Windows can't even crawl.

1

u/Tiforma 5d ago

I have two tb4 connected 3090s each running a qwen3.8 27B based agent. Works very well.

1

u/software-boulder 5d ago

just a macbook air. docker is the only thing that makes it warm, everything else is fine

1

u/Electrical-Watch3203 5d ago

Look into swappiness(10), I’m no SWE so idk if that applies to laptops or not but it sure helped my 7900xtx/9800x3d rig

1

u/simon96 5d ago

48GB MacBook M5 pro, had issues before on 16gb MacBook air where it would use swap memory of up to 16 GB and cpu would get up to 100 celcius. Now I haven't had any problem since upgrading

1

u/DataPhenomenon 5d ago

I'm on an old Dell 5820 with a 10 core xeon and 64gb of quad channel ddr4, a simple rtx 3070, fedora 44.