You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Developer Forums relocated!

Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Running java, python and mysql on M1 without rossetta

I bought a M1 macbook air, the java, python and mysql performance was awful, swapped it for an intel macbook air, about 6 months ago, which was ok, but is now only getting 30 mins of battery life. Apple store today who stated I was working the air too hard and advised on a mabook pro, I (stupidly) parted with over 3k for a new top end 14" macbook pro having been sold it would work and alas the performance is awful as as it was with the M1 macbook air.


The issue seems to be in the migration tool from intel to M1, it just copies over the apps without trying to find their M1 binaries, so everything is being emulated via rosetta and is killing performance (understandably) , it is a 8 core CPU and a 14 core GPU lasts 45 mins and runs at 250% CPU, and crude bench mark it is about 100x slower than the intel based macbook air for intensive java and python processing. Tensorflow does not even attempt to leverage the GPU's.


Is there a way to run python, java and mysql natively on the M1 chip set and access the GPU?

MacBook Air 13″, macOS 11.6

Posted on Nov 2, 2021 2:41 PM

Reply

Similar questions

2 replies

Nov 2, 2021 5:17 PM in response to midnightcoder

Migration Assistant is not going to download new version of tools for you. If you want Apple Silicon versions of your tools, you will have to find them and install them. Python, Java, and MySQL all run natively on Apple Silicon.


I don't know anything about TensorFlow. The website says it only supports NVIDIA GPUs. But I found this page from Apple that indicates some sort of Metal support.


Nobody in an Apple Store is going to know anything about this stuff. If you have dependencies on 3rd party products, it is your responsibility to investigate them before making a purchase.

Nov 3, 2021 3:27 AM in response to etresoft

Yeah, they were pretty unhelpful, basically telling me I should not be developing on a mac without xcode. I see that JDK 17 now has ARM binaries https://www.oracle.com/java/technologies/downloads/#jdk17-mac, and seems apple is support python patches itself https://www.techradar.com/news/you-can-now-run-python-on-apple-m1-macos, https://formulae.brew.sh/formula/mysql. Seems like a things have moved a bit in the last year or so.

Running java, python and mysql on M1 without rossetta

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.