by mdasen · 4y ago · 0 comments
If I'm writing new software using Java, C#, Python, JavaScript, etc. it's easy to deploy to ARM. With Apple moving to ARM and 25% of developers using Macs (41-45% using Windows)*, there's going to be good ARM support for what developers need. Sure, some things might might run better on Intel and some things might not easily port, but that feels like it isn't the case for the majority of stuff that developers are going to be doing.
It seems likely that Microsoft and Google will introduce ARM-based instances. We know Google has dipped its toe in with its Tensor processor for the Pixel. We've seen reports that Microsoft has been working on ARM processors for servers. Qualcomm is gearing up for a major push into better ARM processors to compete with Apple on the desktop/laptop, but presumably they'd be happy to get cloud workloads as well. Oracle, while not a major cloud provider, has ARM-based instances already.
Intel has had a virtual monopoly for 20 years. Now they're facing a resurgent AMD stealing x86 marketshare and ARM processors that are quickly becoming a better price/performance option - and Apple is ensuring that everything developers need will be ARM compatible. I don't think it's an existential threat, but there's a huge difference between the margins you get as a virtual monopoly and the margins you get when you have to compete against strong competitors.
Plus, I'd guess that AWS is probably making sweet margins off those Graviton instances. Let's say that their margin on Intel instances is X and that margin on Graviton is 2X. That leaves AWS a lot of room to start pushing Intel out of their datacenters as old hardware is replaced. Let's say you're a company spending $100M/year with AWS and you're renewing your contract. Maybe Amazon suggests that they could give you a 20% discount off Intel boxes and a 40% discount off Graviton boxes - which they say are already 20% better price/performance so it's basically 52% off!
It also gives AWS negotiating power with Intel. If 20% of AWS customers move to Graviton, you can go to Intel and say, "we're finding Graviton processors really cheap to make and operate and customers are loving them...more and more they're realizing they don't need your Intel processors...if we don't get cheaper Intel processors, we might have to accelerate our incentives to get people onto Graviton boxes...the more we accelerate that, the more Google Cloud and Azure will likely want to prioritize ARM boxes..."
They're scared because it's the type of thing that snowballs until their lock-in is near meaningless. If ARM becomes 50% of the server market, there goes Intel's ability to demand high margins. 5-10 years from now, most deployments could use Intel or ARM based on price/performance rather than instruction set - and that makes life a lot harder for Intel.
The problem with this ad/page is that the ship has already sailed. Once Apple introduced its M1 MacBooks, we were getting first-class ARM support for everything developers would need going forward. It didn't happen overnight, but with Apple going all-in on ARM chips and with Macs being such a big player in developer usage, the war was lost that day. Now it's just a matter of time. Once all your devs are running and testing their stuff on an M1 MacBook, why not deploy it to an ARM instance?
* From StackOverflow's 2021 developer survey
Raspberry Pi, BeagleBone and various arm based embedded systems played a much higher role in getting most linux, BSD tools working under arm.
Same thing that’s happening now with RISC-V and SiFive’s boards.
It’s not apple M1 that’s making this migration possible, its just the cherry on top of a cake.
The cake was all those consumer arm boards and dev kits which got in the hands of various OS developers, software maintainers. Who put in their time to port their codebases to arm and ensure compatibility.
It was pioneering in how low-cost and mass market it was at launch, but before the Pi there was plug computing, largely based around Marvell Kirkwood processors. There were also a variety of hackable NAS devices, I used some with Orion5x CPUS in. Then before plug computing there was the linksys NSLU2 with its Intel Xscale IXP chip, and all the hackable linksys routers going back to 2002, and that's just some of the stuff I've played with over the years. Before that I imagine there were previous generations of linux ARM support.
The Pi and other hobby boards are really great, don't get me wrong, but there's a tendency to credit them with a bit too much.
Whoa, haven't heard that one in a looong time. Still have mine sitting in a storage closet, I think...
Pi entered a mature ecosystem, it just made it a bit more consumer/newbie facing but the system level foundations were all there.
Ironically the Pi isn’t even particularly well supported in terms of drivers compared to commercial offerings.
While strongarm and others have been around longer, none had any real mass market hold. With Pi & co, you can build a (slow) server with $35. You can build a k8 cluster with $150. That's why we have cross platform packages for almost anything server related.
M1 probably enables the same transition for customer-oriented, proprietary apps. But it has little to do with cloud computing, except proving that performance and ARM are not mutually exclusive, thus providing more acceptance.
None of the paid software with a tiny userbase you're thinking of is relevant to the server market, the point is that it's free and open.
I don't disagree, but going mainstream is different.
>It’s not apple M1 that’s making this migration possible, its just the cherry on top of a cake.
M1 would not exist without the Apple's App store all based on ARM.
Apples are upset their $2000+ laptop isn't the revolutionary catalyst for the Arm revolution but instead a crappy $25 computer that's been around for a decade.
Of course Pi has started a big movement and prepared the groundwork, but M1, which I also use, is something else in terms of performance, and it caused this build-up to become an avalanche. Cloud systems will inevitably ride this wave, and will seriously eat into Intel's market share.
Just provisioned a small docker-lab in an ORACLE Cloud Ampere system. This thing is seriously snappy at the first glance.
So the only thing that is new is that ARM architecture is finally starting to "spill over" into the notebook/desktop and server market and preparing to eat Intel's (and AMD's) cake. But the wide-scale adoption of the architecture already has a long history, so presenting Raspi and Apple M1 as "pioneers of ARM introduction" is a bit misleading (Apple was a pioneer, but already back in 2007).
Before that there were already ARM servers too, but they're few and far between.
So I was trying to say that, Raspberry Pi and Apple M1 made ARM "touchable" with standard development tools and utilities for the normal people out there. So, this interaction accelerated the acceptance and software porting and grown the ecosystem faster.
For example, consider that golang has been able to cross-compile to ARM since almost the very start. That alone has probably contributed more to actual ARM server deployment than M1 (which is by the way not available for cloud or any server systems).
Even before Pi my router had DDWRT, I don't think Pi did very much.
The biggest thing not being talked about that hurts Intel is AWS’ pool of Intel CPUs that currently run S3, SQS, Dynamo, etc (m3s, c4s, etc) all being released to the public and offered at such a discount (especially on the spot market) that new onprem purchases (i.e. new Intel chips) are not cost effective.
Disclaimer: I used to work at Amazon but never in AWS. This is all based on public speculation.
1) if their managed services (RDS, DynamoDB, etc) can run on ARM and it provides a better price/performance ratio, they'll use that internally, thus needing less x86 hardware
2) if most customers can run on ARM (interpreted languages run out of the box, compiled ones need more effort but is still doable) and it's better priced than x86 there is less demand on x86 again.
I think Go needs a flag specified at compile time to work on ARM. Instead of `go build`, run `env GOOS=linux GOARCH=arm64 go build`.
Rust is similar, except it requires the appropriate toolchain to be installed first (1-liner).
It’s probably less effort what I’ve described because there are GitHub Actions that will generate appropriate binaries out of the box.
(This holds true for JS/python/… too.)
I do think x86 will be phased out as you suggest. I feel either Intels foundry division and/or chip designs for ARM and/or RISC-V will very likely get incorporated into Graviton-X (and similar) if only as a bargaining tactic between Intel vs TSMC and Intel vs Qualcomm vs ARM.
> Plus, I'd guess that AWS is probably making sweet margins off those Graviton instances.
> It also gives AWS negotiating power with Intel.
It's not just about pricing. Another convincing argument for the move towards ARM [1] is that the big cloud providers like AWS have much more insight into cloud workloads than Intel could ever have, with vast amounts of metrics, so custom-designing chips would be a somewhat natural path by itself.
[1] I heard this first in a presentation by Brendan Gregg, but I can't find the slides at the moment.
Our entire deployment stack is Java/Python on Linux.
I'm looking at our deployments and thinking, we sure would save a lot of money, and likely deliver a superior product if we switched to ARM on both AWS and OCI. Better product due to beefing up the Postgres clusters with part of the savings.
My hope is that by the end of Q2, our default deployment is on ARM on OCI. We're looking at nearly a 50% cost reduction versus the current m5 RDS and other EC2 instances.
If switching to ARM means general parity on per core performance, I can easily sell rolling a portion of that savings into a bigger baseline config for all customers. Especially on Oracle, where their charges for RAM on A1 are peanuts.
I thought the industry's consensus was a key component of Intel's dominance is they leveraged the best fab tech in the world, made possible by huge volume. That's a virtuous cycle on the way up and terrible as volume decreases...
I’d guess like everything they do, they’re taking a bath on margin in the short term to solidify a monopoly in the long term. Amazon made basically $0 for over a decade. Investors were fine with that because everyone knew they were building a monopoly to later be exploited.
The applications themselves are in TypeScript, and Node as a runtime is cross arch without any extras. The hardest part is building docker images from my Github action.
I wouldn't be surprised to find out that AWS is secretly switching the hardware running of their serverless overrings to use their in-house chips. Things like lambda (assuming source is distributed), aurora serverless, Dynamo, Cognito, CloudFront, etc
Let's rather say that Apple helps developers realize that the vast majority of open source dev tools they need have been working seamlessly on arm platforms for decades thanks to the work of linux and bsd distros.
The danger is that the transition to another architecture is used as an excuse to not do this, even for devices that have historically been open.
> coup-de-gras
Is funny. Gras (pronounced gra) means fat(as in animal fat, not a fat panda), and the real saying is coup de grâce (pronounced gras and means grace). For some weird reason English speakers pronounce coup de grâce improperly, skipping the s sound at the end ( funnily it's usually the French language which cuts sounds), including in movies (like Kill Bill).
Wasn't the Apple I the modern general purpose computer?
> How easy is to replace the operating system on an ARM mobile device
Very easy if you have an Android phone :)
But the restriction is that many OEMs and/or carriers forbids bootloader unlock.
1. Have bootloader unlock available via official channels. If you are in the 1% with a supported phone variant, congratulations. Service box unlocks, while often possible unofficially, rarely result in a critical mass of developers that's needed for the next step.
2. Have a ROM ready to go. If lucky, it'll be Lineage OS. If less lucky, some unofficial build of Lineage OS with potentially some hardware not supported (but there's hope!). If you are really unlucky, the phone is so unpopular that a ROM developer hasn't taken enough interest in it to produce a usable ROM.
3. Flash the ROM, keeping all idiosyncrasies of the particular hardware in mind. Hope you got the right partition table/kernel/bootloader/ fragile fragment, because if you flash the one meant for GEX5546ab on a hardware that corresponds to GEX5546cb, you just killed your phone. Run through contingency procedures for unbricking the phone in case you need them.
4. Congratulations. You now have a firmware that works better than the factory OS, but they also happens to potentially not support small things like Bluetooth or the camera blobs. You may get support in 2-3 months, hopefully. Your secure enclave keys are also gone, so bank apps will be suspicious and Netflix will refuse to serve higher-quality content.
Untrue for most of the phones on XDA, S3 was the most popular android phone and came locked.
>2. Have a ROM ready to go. If lucky, it'll be Lineage OS. If less lucky, some unofficial build of Lineage OS with potentially some hardware not supported (but there's hope!). If you are really unlucky, the phone is so unpopular that a ROM developer hasn't taken enough interest in it to produce a usable ROM.
Luck to me is more than LOS, its the bare minimum, but I have gotten unlucky with non popular phones. Not hard to look at roms when you see if you should root or install custom bootloader.
>3. Flash the ROM, keeping all idiosyncrasies of the particular hardware in mind. Hope you got the right partition table/kernel/bootloader/ fragile fragment, because if you flash the one meant for GEX5546ab on a hardware that corresponds to GEX5546cb, you just killed your phone. Run through contingency procedures for unbricking the phone in case you need them.
You could just run Halium to run Linux with all drivers, or use chroot to have linux in it too. Safety that existed since 2012 prevented me from ever having a single issue like that, and I never bricked a phone with over 20 flashes.
>4. Congratulations. You now have a firmware that works better than the factory OS, but they also happens to potentially not support small things like Bluetooth or the camera blobs. You may get support in 2-3 months, hopefully. Your secure enclave keys are also gone, so bank apps will be suspicious and Netflix will refuse to serve higher-quality content.
This was occasionally true before 2017. All new phones have mainline linux support. https://www.computerworld.com/article/3306443/what-is-projec... https://www.xda-developers.com/android-project-mainline-modu...
Basically, if you spend 10 minutes looking up relevant information, buy a popular phone with good support and you will face 0 problems. You are making a mountain out of a molehill.
>Can you install Windows or Linux on ARM Macs?
ARM Windows sucks. I wouldn't even try, asahi can be installed (but I don't get why you would, all unix stuff works) https://asahilinux.org/about/
Apple has moved to arm but does this really make it easier to write cloud apps for arm linux? What is Apple doing to make this easier?
So the conversation went from “what’s the cost of getting our systems running on ARM and how does that compare to cloud pricing” to “our systems work everywhere, so who’s giving us the best deal”
They’re making ARM machines with really great perfs and used by a pretty large amounts of developers leading to:
* way more developers getting comfortable and natural access to ARM devices, meaning way easier for them to test & debug ARM issues
* way larger market for ARM developer tools
To be honest, i hardly know anyone ( little bit biased because of .net development)
I was using a Mac when I worked for a Fortune 500 enterprise. The choice was between a top of the line Macbook Pro with sudo rights and some underpowered Thinkpad where I'd have to request software to be installed by someone.
Not exactly what i suspected, but in retrospect my comment wasn't clear. I should have mentioned that eg. IOs engineers / Mac developers have no option. Which would be some share of the market.
But your comment was more valuable, thanks!
The killer is there was no friction at all and target is cheaper. It all just worked. Absolutely no issues at all.
The thing that scares intel is that they’re not special any more.
Actually google was the first. Its called TPU - Tensor Processing Units and has been available for their ML platform for a long time. Interestingly, TPU replaces nvidia in this case.
There are already largescale Kaggle benchmarks on CPU vs GPU vs TPU - https://towardsdatascience.com/when-to-use-cpus-vs-gpus-vs-t...
I'm mentioning that Google Cloud primarily hosts and bills your ML code on TPUs. Today TPU v4 run at exascale.
so the equivalence "scared" behavior exists for both Intel and nvidia on Google already.
Instead $/ML training job or time to complete training given X budget is likely a better measure.