"I bought a machine too small for my needs and it's not working the way I like. Help."
I wish everyone would teach computer science students why this general statement is wrong. And they should do it in the first semester and not second or third. I tell my students in the first semester and keep repeating it until the leave with their master degree.That dedicated RAM to dedicated devices is important.
That is truly shocking, isn't it? Two tools reporting the same results when using exactly the same underlying mechanism... who would have thought.I tried your codes and result is the same. Good job.
Wait, I thought everyone is running it?!? 😜I can't believe that no one mentioned he's running Avast Antivirus!
Setups, work flows, and use cases differ. I am a developer in systems and tools programming using Go, Python, and C. The M1 Mac Mini that replaced my Mac Pro 2013 has been phenomenal.View attachment 1774048
View attachment 1774049
For anyone who wanna do developping or designing on M1 Mac, don't buy the 8G version.
They still did 2GB with the mid-2011 MacBook Air.Crazy! I did not think they did a 4gb since around 2010!
The way the RAM is shared on the M1 works as though both the CPU and GPU have dedicated RAM. They have direct high speed access to the RAM rather than having to be accessed through a shared bus as with integrated memory.8GB of RAM on M1 mac is shared by the CPU and the GPU, we are fooled by Apple. That dedicated RAM to dedicated devices is important. I don't feel much lag on my i9 9900K 16GB workstation.
... we are fooled by Apple...
Do you mean that the 8GB of RAM on M1 is devided into 2 dedicated parts (virtually or physically)?For example, 6GB for the compution tasks while 2GB for the graphics?The way the RAM is shared on the M1 works as though both the CPU and GPU have dedicated RAM. They have direct high speed access to the RAM rather than having to be accessed through a shared bus as with integrated memory.
You just don't know the truth bro. I made my own Linux distro, optimizition of compilers and lots of people are using it. Wordpress is easy to drag and play while the machanism under the hood is cumbersome for the sacrifice of compatibility. Probably you can publish some popular frameworks better than Wordpress and gain people's trust. You words are meaningless.p.s. IMHO people that use Wordpress aren’t real developers and at least the few I’ve had the unfortunate experience of knowing tend to not understand how any of the technology they use actually works, since none of them actually went to school for computer science but all of them think they’re engineers😂
Are there really professional developers out there that don’t understand the hardware?Do you mean that the 8GB of RAM on M1 is devided into 2 dedicated parts (virtually or physically)?For example, 6GB for the compution tasks while 2GB for the graphics?
If only Apple would let us know about this stuff... oh, wait...Do you mean that the 8GB of RAM on M1 is devided into 2 dedicated parts (virtually or physically)?For example, 6GB for the compution tasks while 2GB for the graphics?
M1 also features our unified memory architecture, or UMA. M1 unifies its high‑bandwidth, low‑latency memory into a single pool within a custom package. As a result, all of the technologies in the SoC can access the same data without copying it between multiple pools of memory. This dramatically improves performance and power efficiency. Video apps are snappier. Games are richer and more detailed. Image processing is lightning fast. And your entire system is more responsive.
Great.I made my own Linux distro and lots of people are using it.
I’m not jumping through hoops or altering the way I use my machine to “fix” a software or hardware flaw on my computer. It’s up to the manufacturer to fix any defects that cause issues with normal use.I usually do not buy into these "FIXED!" YouTube videos, but this one seems well researched : M1 Mac SSD Swap Memory Issue - FIXED! (and how to reduce it)
The worst part about this thing is I don't actually use it every day. I have another Linux machine that I use cause I am hoping for some software fix for memory management. And when I am using it's not till I do anything intensive that it starts clobbering the drive away. It writes about 300 GB an hour (289TB/917 power-on hours) and you can definitely feel it when you're doing any work at all. If you can, return it and get a 16gb. As you install plugins it just starts dying and dying further.I feel you bro. I did an calculation about your SSD writes. You probably get 712GB writes per day in 7 months. This is crazy. Probably 2 or 3 years later your SSD will be broken. I got 2T writes in 1 day because I need to do some intense development on my M1 Mac. I do not even use IDE for the moment (I use PyCharm often). VSCode(ARM64) is laggy as well, ATOM only has x86 version. I use Vim for small scripts. But when I tried to setup some developing environment on my M1, it's catastrophic. For browser Safari is really good but not for debugging, chrome is much easier. My workstation i9 9900K 16GB is still a beast but I want to develop on the go, M1 Mac fails me. 16GB might be better but never enough. I am planning to change the Unified RAM (solder a new pair) after my M1 mac is out of warranty. It is possible according to some news in China. Maybe 16GB or 32GB...
Curious of the name of this distro?You just don't know the truth bro. I made my own Linux distro, optimizition of compilers and lots of people are using it. Wordpress is easy to drag and play while the machanism under the hood is cumbersome for the sacrifice of compatibility. Probably you can publish some popular frameworks better than Wordpress and gain people's trust. You words are meaningless.
I see it as much less about the swap and the lag that the swapping creates. I have to say though Xcode(for my uncomprehensive experience with it) is quite efficient on m1. Like the machine doesn't even heat up(I am on an air). The problem is more when many applications are pulling from the swap and for some reason, both safari and chrome are slamming swap as well and everything just freezes up. After that sometimes the machine turns purple for a second and then crashes or (sometimes more annoyingly) will look like its idling for many minutes completely unresponsive but actually you can see after the fact that the machine is slamming the drive at something like 1.4GB/s for like half a minute and then it's slamming the rest of the system. While using video calls when the machine will freeze by doing this my camera will freeze and the machine will sometimes take forever to get to a desktop or mount a drive or start a monitor or EVEN freeze after plugging in the machine. I understand that 300 TB is a little excessive considering most people's usage but to think that this computer may only last 4 years but the real problem is the slowdown it causes. This would be totally wrong though if you guys arent experiencing these slowdowns.I've been developing iOS and macOS apps on an M1 8GB with 3 4K monitors running, plus light gaming. Yes, it lags when running tons of simulators and always has some swap. But really, it's $600!!!!!. After six months of use I have 25.2 TB written or 1% of SSD life. That's fine. Not every developer is going to tax the machine like the OP. If I had that workload, I wouldn't have been so cavalier about the purchase. Know your tools. Do I wish I waited for a 16GB to ship, yeah, I'm probably not going to upgrade until the M2s because this was already a huge bump up... for the price, it's just too satisfying.
Seriously. I bought a laptop, and was planning on doing light programming, so I got it with 8gb. Had I been using it professionally, or on heavier projects, I absolutely would have bought the 16gb model."I bought a machine too small for my needs and it's not working the way I like. Help."
I have to agree with you in that Coding is kinda a very blanket statement. The problem is usually having a lot of tools that you need open and running when you are editing. For example, if you are running a monitor(which does use ram because GPU and CPU are shared) with VScode, a terminal, discord for working with team members(or slack), chrome for development with at least a few stack overflow tabs, probably some remote machine may be open with VNC or just SSH and actively emptying and trying your website out in different form factors and running test scripts to see if new changes are running well you can run into problems with ram very quickly. These lead to slowdowns so large that I just switched computers for editing and am just editing on a super old mac which can be annoying but at least its consistently slower and not GOD AWFUL slow for like 10% of the time.I think I may have missed something here. What do we mean by "Coding"?
I 'code' writing Fortran either in BBEdit or an IDE. I never have problems with any sort of 'lag'.
Are we talking about an interpreted system, like Basic, Java or the like?
What language are we talking about, what programming environment (IDE) and what sort of program?
And yes, turn off that Bl**dy Chrome and Anti-Virus. Every time you run a build, it will see it as a new application and scan it.
It's like taking a small truck, filling the tray with 5 tons of bricks, and then complaining that it has no acceleration.