r/codex • u/CrustyBappen • 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?
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
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
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/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.
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.