Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I dunno, working with M1 daily I struggle with resource contention and slow py/js builds. I'd love something faster when work provides me with updated device.


you could try moving your dev environment & docker into a linux VM.. could do something similar to this: https://medium.com/carvago-development/my-docker-on-macos-pa...

I mention this because I'm guessing you might be using Desktop Docker which is kinda slow.


Or maybe just switch to OrbStack: https://orbstack.dev/


Won’t change how slow it is to run docker containers in VMs on macOS.


docker definitely runs faster inside linux running in a VM on macOS. funny how that works given the overhead on running a VM, but it seems running on a linux & ext4fs interfaces give it quite a performance boost.


OrbStack’s docker and VMs are lightning fast.


My m1 16gb pro gets throttled (and manually restarted) every time vs code hits 100gb ram usage when running jest unit tests. Don’t know who to blame but 99% sure the problem is my source code and not the machine.


Chrome eats all my resources too and I have 128GB of ram. Some pages like ClickUp and the Google cloud console (bigquery) eat something like 3-5GB


You’re chewing through 100GB of RAM on unit tests? What is filling your RAM? Are you sure that you don’t have a memory leak somewhere?


I’m certain it’s a memory leak, just not sure solving the problem is worth my time.


100gb ram usage? Why not build a pc?


Considering he's got a 16GB of RAM, this is virtual memory, and most programs don't need to keep it all loaded at all times (if they do, you'll notice with constant paging exception handling).


> My m1 16gb pro gets throttled (and manually restarted) every time


Sounds like you need to spend some time optimising your build. Faster hardware just makes developers lazy. I'm still on an M1 and it's fine, although I do have 32GB.


To be fair, for all you know they’re building something pretty crazy that justifies high resource consumption.

Faster hardware doesn’t exclusively make developers lazy, it also opens up capability.


That's the thing. It's not a trivial project. I've already put a lot of time into optimizations and the returns are diminishing now.


In the age of AI it seems wild to blame developers for being “lazy” and needing more resources.

Like, if I were buying a new workstation right now, I’d want to be shelling out $2000 so that I could get something like a Ryzen AI 395+ with 128GB of fast RAM for local AI, or an equivalent Mac Studio.

That’s definitely not because I’m “lazy,” it’s because I can’t run a decent model on a raspberry pi


Could you clarify more, AFAIK there is no M1 with 32gb ram machine.


M1 Pro


Well it's quite different from the M1. Please don't mix it. It like saying i3 and i7 is the same if they are on the same generation.


It's not that different. It has more cores but they're the same cores.


And higher power limit, exactly like i3 and i5 and i7. Same core architecture, just different in clock, power and core count.


I think they have the same microarchitecture but are slightly different (in, like, the number of address bits)


OSX file I/O is really, really slow with large amounts of small files. Wondering if Apple will ever fix that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: