News for hackers. Stuff that matters.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by mdasen on Sunday December 12, 2021 @11:49PM (#29536733)
Of course they're scared. Even if Intel is able to close performance gaps, cloud computing is often an easy sell for ARM and Amazon is likely going to be able to get the chips cheaper given that they're looking for markup on the service end while Intel needs markup on the chip.

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

Re:Intel seems awfully scared of Graviton2. Why pay for this... by avh02 on Monday December 13, 2021 @02:08AM (#29537447)
I think the raspberry pi started moving compatibility/arm adoption far earlier than apple's migration. Maybe not the dev tools, sure, but I've seen a steady stream of more and more projects supporting arm and I attribute that to the pi.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by teitoklien on Monday December 13, 2021 @02:40AM (#29537602)
This is true, don't know why you're getting downvoted.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by kuschku on Monday December 13, 2021 @03:52AM (#29537915)
I can confirm, the RPi is the only reason I provide armhf and aarch64 builds of all my projects. It really helped accelerate the long tail.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by alias_neo on Monday December 13, 2021 @04:40AM (#29538156)
Same, I only added ARM Docker images for my stuff because I'm an avid Pi user.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @03:38AM (#29537852)
It's probably because linux on arm has been around longer than the Pi, but a lot of people seem to hold this idea it was pioneering.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @05:06AM (#29538268)
Plug computing and Linksys routers weren't cheap, and the Pi was. That's the entire difference when your target audience is kids with a couple of dollars worth of allowance or broke college kids.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by bityard on Monday December 13, 2021 @08:12AM (#29539232)
> Plug computing and Linksys routers weren't cheap, and the Pi was.

For their time (20 years ago), they certainly were cheap. $100 or so for a small power efficient box that could run almost a whole Linux distribution was an amazing bargain. Before that, you needed a good-sized desktop or server to do anything involving a Unix-like OS, or paid dearly for the convenience of a laptop.

And it wasn't much before that, that running Unix on any microcomputer was just a dream.

It's hard to comprend just how amazingly affordable computing has become in such a short amount of time.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @09:39AM (#29539947)
Do you realise that a $100 is a fortune to the demographic that I specified? For that price, those devices are so out of reach that they might as well just not exist.

I remember that time in my life very well. I literally had around $50 in my local currency in the coin box, and that was it. Hand me down computers were unavailable where I was.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:58AM (#29549663)
Everyone had one anyway because they needed a router. It was "free". Used ones were common too.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @05:19AM (#29538316)
Ok, but that doesn’t mean that the Pi was important in getting most Linux or BSD tools working under ARM, as was the claim above.

Yes, it reached a wide audience, they did a lot of great stuff getting capable dev boards out to a lot of people. But fully functional Linux on ARM pre-dates the Pi significantly.

(I’d argue the NSLU2 and sheevaplug were both pretty affordable, at sub-$100 too, but the Pi definitely upped the game there)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @09:48AM (#29540022)
In the chicken and egg problem of getting support for ARM software, the Raspberry Pi Foundation was the one that unilaterally plopped a ready-to-go (if very weak), low cost chicken in front of everyone. For that, I think they deserve some credit. Sure they built in top of the work of others - so let's acknowledge everyone involved in the process rather than pretend that one party deserves fame exclusively. It was a community effort :)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @09:32PM (#29547500)
> getting support for ARM software

It is my contention that this support was largely already present. That's all.

Pi did great work getting cheap boards out to people, and put a lot of effort into education and community building. They exposed a huge number of people to the possibilities of non-x86 computing that otherwise might not have been. So indeed let's credit them with that, it's all great stuff!

But it's quite revisionist to say they helped get linux or BSD or their tools onto the platform, IMHO.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by OJFord on Monday December 13, 2021 @05:52AM (#29538462)
The wide audience itself is a big motivator to get them working on Arm.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @09:44AM (#29539992)
This. The ARM ecosystem didn't get a good prebuilt Docker container story until the Pi4, but it was somewhat doable on the Pi3 if you were willing to recompile 80% of containers from scratch. I can only guess that additional adoption fueled the critical mass of incentives for building for ARM as a rule rather than as an exception.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:59AM (#29549670)
>it was somewhat doable on the Pi3 if you were willing to recompile 80% of containers from scratch.

If Pi3 was so popular, why didn't it exist as a binary?

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Tuesday December 14, 2021 @05:28AM (#29550196)
The pi3 CPU used an older ARM spec, which had issues with producing good binaries for e. g. Go-based builds (I remember that quite vividly).

Beyond that, I can only hypothesize that Docker on non-x86_64 (or multiarch Docker, in general), was very difficult to kick-start for whatever reason. This may have been compounded by the fact that Docker wasn't as broadly adopted by hobbyists back then, so demand for ARM builds want that great.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @05:35AM (#29550223)
https://gist.github.com/tyrell/2963c6b121f79096ee0008f5a47cf... looking at this, it seems that debian added it at least 3 years ago and even in 2016 there was a binary, unless you knew about it and it sucked.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @09:34PM (#29547514)
But the systems already worked on Arm, that's the point!

Getting more attention to the platform was definitely a good thing, exposing more people to a different architecture, to having a machine cheap enough to just play with, to all sorts of great stuff.

But Linux and BSD themselves were already mature on arm by that point.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by bbarnett on Monday December 13, 2021 @09:21AM (#29539773)
Indeed. Debian had full ARM support for years before the Pi, very mature, and was really the only reason the Pi project could even choose ARM. If not for Debian's work, which the Pi relies upon, they'd have never been able to bootstrap.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @09:49AM (#29540040)
Debian project also deserves some credit - so let's credit them. There's enough credit to go around got everyone who helped to bring this about.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by mschuster91 on Monday December 13, 2021 @03:54AM (#29537924)
> Then before plug computing there was the linksys NSLU2 with its Intel Xscale IXP chip

Whoa, haven't heard that one in a looong time. Still have mine sitting in a storage closet, I think...

Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @04:19AM (#29538047)
They were great little machines!

I used to run my own mail server on one and use another as a media server. I even did a small hardware mod and soldered a wifi card to one of the internal USB headers on one of them. Much fun!

I don't imagine the processing power stands up to modern devices though :)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by flyinglizard on Monday December 13, 2021 @03:06AM (#29537702)
This started long before Pi. StrongARM existed 20 years ago and the new generation of application processors which pushed forward ARM started around 2005 (Atmel, TI, Freescale, Qualcomm and others) with the ARM9 core.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by alpanka on Monday December 13, 2021 @04:32AM (#29538125)
No, but pi is what gave us the software!

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by flyinglizard on Monday December 13, 2021 @04:48AM (#29538191)
You could do just that before. Cross compiling for ARM is an ancient, dark craft. All that changed for the better (and admittedly much better for the hobbyists) is getting prebuilt binaries in the major distributions.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by alpanka on Monday December 13, 2021 @05:12AM (#29538293)
Before pi & co, cross compiling was a black art. You often needed to build your own toolchain and the target environment were often not standardized either so you would need different compilers for each target.

Fast forward to today, you can apt-get cross-compilers and build tools.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nursie on Monday December 13, 2021 @09:42PM (#29547559)
While it was a hassle, you could use pre-built cross compilers on debian before the Pi came along, as I was in 2010/11. Multi-arch helped a lot when it was introduced too.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:33AM (#29549528)
Was that so hard? Arduino was easy.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by llukas on Monday December 13, 2021 @03:03AM (#29537689)
M1 brings large customer base paying for stuff. Raspberry Pi doesn't have that big of a $$$ splash.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by MayeulC on Monday December 13, 2021 @03:45AM (#29537882)
Are you going to run Apple software on your servers? Most servers leverage the Linux ecosystem, most of which is open-source and maintained by developers who do not have big $$$.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by chrischen on Monday December 13, 2021 @04:20AM (#29538053)
A lot of stuff got prioritized for Arm/M1 compatibility... and fast as soon as the first M1 Macs released. Docker, node, in addition to Apple software.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by MayeulC on Monday December 13, 2021 @07:16AM (#29538884)
> Docker, node, in addition to Apple software.

Well, to be honest it was probably macos+M1 platform support. Docker runs a virtual machine with Linux in it on macos and windows, not sure improvements there directly translate to server workloads. I am not sure about node, but it was surely working very well on ARM before that, although it might gain some optimizations thanks to M1.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by dboreham on Monday December 13, 2021 @07:41AM (#29539023)
Although Node.js existed for ARM, often there wouldn't be pre-built binaries for whatever version/native dependency you needed. M1 has significantly changed that picture.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by KptMarchewa on Monday December 13, 2021 @06:26AM (#29538631)
Tons of java tools did nothing, until tickets started appearing that X does not work on my dev env.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by thecompilr on Monday December 13, 2021 @08:38AM (#29539455)
Huh? I am developing natively in macOS for a Linux server using Rust. Everything just runs fine on both. Unless I need to go really low into syscalls I have no reason to be writing and testing my code on Linux.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by the_mitsuhiko on Monday December 13, 2021 @08:43AM (#29539487)
You’re supporting that point though. A big initial move for ARM in rust was raspberry pi.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by thecompilr on Monday December 13, 2021 @09:23AM (#29539791)
The post I replied to said M1 only gonna help user applications, not servers, I claim that it helps both.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jbverschoor on Monday December 13, 2021 @03:58AM (#29537941)
Just wait 1.5 years and enjoy the apple cloud..
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jlawer on Monday December 13, 2021 @04:20AM (#29538055)
As someone who has worked with Apple "Enterprise" / "Business" / "Pro" products before..... I'll wait. It will start half decent, get a push to 90% of everything you need and then slowly get rewritten simplified to a level that is too basic to do any real work or just abandoned.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dreamcompiler on Monday December 13, 2021 @09:21AM (#29539779)
Yeah no. There was a time (early 2000s) when Apple made half-decent server hardware and operating systems. Those days are over. Apple has vocally abandoned the server market, and trying to use MacOS as a server today is an exercise in futility. Too many things require the GUI, and Apple's intense focus on security theater makes everyday server operations a nightmare.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jbverschoor on Monday December 13, 2021 @11:03AM (#29540791)
I'm not talking about macos.. I'm talking about becoming an energy efficient cloud vm provider.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:56AM (#29549655)
What is the criteria to meet energy efficient?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by criddell on Monday December 13, 2021 @09:39AM (#29539950)
What's an example of something that requires the GUI?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dreamcompiler on Monday December 13, 2021 @09:53AM (#29540073)
Allowing full-disk access, turning on sshd, repeatedly clicking "OK" when you're asked "Do you want <freshly-compiled yet unsigned app> to accept incoming connections?"

If there are CLI ways to do this stuff I'd love to hear them.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by criddell on Monday December 13, 2021 @10:35AM (#29540492)
I think there probably are.

I know sshd is controlled through systemsetup[1].

    sudo systemsetup -setremotelogin on

[1]: https://ss64.com/osx/systemsetup.html
Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @05:05AM (#29538262)
Bluntly put, I'm not gonna be running my business-critical application in Apache running off an M1 MacBook.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by wooger on Monday December 13, 2021 @09:07AM (#29539660)
Ha, large customer base of very expensive laptops, that's actually tiny compared to the customer base of arm servers, Rpis.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:30AM (#29549507)
>Raspberry Pi, BeagleBone and various arm based embedded systems played a much higher role in getting most linux, BSD tools working under arm.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by BizarroLand on Tuesday December 14, 2021 @07:09PM (#29560041)
It makes sense, we build for what we play with. You gotta give us the nails if you want to sell a hammer.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by MisterTea on Monday December 13, 2021 @07:41AM (#29539022)
> This is true, don't know why you're getting downvoted.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by dang on Tuesday December 14, 2021 @05:05PM (#29558658)
Please don't post in the flamewar style. It's not what this site is for, and it destroys what it is for.

https://news.ycombinator.com/newsguidelines.html

Re:Intel seems awfully scared of Graviton2. Why pay for this... by vmladenov on Monday December 13, 2021 @02:07PM (#29543085)
When are the new n-gate posts coming out?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by anaganisk on Tuesday December 14, 2021 @03:35AM (#29549544)
N-gate has no love for pis either. The article would’ve been like, Apples and Pis fight over whose shitty processor paved the way for more underpowered devices , while intel continues war against its users.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by MisterTea on Monday December 13, 2021 @05:09PM (#29545322)
I am not the n-gate maintainer, just someone who enjoys the humor. Last I heard the maintainer has been busy and unable to dedicate enough time. They hang out in in #cat-v on oftc.net.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by bayindirh on Monday December 13, 2021 @03:36AM (#29537848)
Raspberry Pi didn't have serious resources until 3/4 era. I have every iteration of the board, and while they're all useful in their own regard, only the latest boards can handle serious, biggish projects, resource wise.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by rob74 on Monday December 13, 2021 @04:45AM (#29538172)
The Raspi and Apple's ARM chips may be the ones that get the most coverage, but as others have pointed out, the groundwork for this has been laid much earlier: even the first Android phones and iPhones back in 2007 already used ARM-based SoCs and had Linux kernel support from day one, and the support only grew from there. The initial Raspi could only be sold at that low price because it used a mass-produced ARM SoC.

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).

Re:Intel seems awfully scared of Graviton2. Why pay for this... by bayindirh on Monday December 13, 2021 @06:01AM (#29538513)
From the hardware perspective you're certainly right, but while iPhone and Android had made the initial groundbreaking in the kernel(s) and userland(s), Raspberry Pi arguably brought it to "touch distance" for the layman.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:00AM (#29549682)
From the hardware perspective you're certainly right, but while iPhone and Android had made the initial groundbreaking in the kernel(s) and userland(s), Raspberry Pi arguably brought it to "touch distance" for the layman.

Everyone already had an iPhone or Android, how was it not touch distance for the layman?

Re:Intel seems awfully scared of Graviton2. Why pay for this... by bayindirh on Tuesday December 14, 2021 @04:05AM (#29549701)
Because to be able to interact with the OS and the system itself, you either had to Root your Android phone or Jailbreak your iPhone.

OTOH, you can get a pi, add peripherals (or just network), and you have a system to be hacked and tinkered on.

This is what I meant by touch distance.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:35AM (#29549882)
Neither was very hard, Android came with root in developer tools at first, has very easy root, and you could always just chroot if that was too hard.

Jailbreaking was so easy someone like Justin Beiber did it. https://www.idownloadblog.com/2011/07/29/justin-bieber-jailb...

Saurik and the original jailbreakers did all the heavy lifting, APT, SSH, and the usual CLI tools were ported so they could enjoy their handheld Unix computers.

Pi was an image on a microSD, some computer interfaces, it was very slow, burned out the microSD card, and was discouraging for me to use when I had a much better computer, the phones were easy to invest effort in, if I had a way crappy computer I wouldn't do too much with it, most people throw PiHole and never touch it again.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by bayindirh on Tuesday December 14, 2021 @04:52AM (#29549970)
> Neither was very hard, Android came with root in developer tools at first, has very easy root, and you could always just chroot if that was too hard.

Been there, done that. Doesn't matter. Tinkering with a critical life infrastructure device vs, tinkering with a device made for tinkering is different. Way different.

> Jailbreaking was so easy someone like Justin Beiber did it

Again, doesn't matter because of the reasons I've said earlier. I'm using both platforms for a decade, and won't do them to my primary devices either. Because these devices are handling a lot of stuff for me, tinkering with them is not an option.

> Pi was an image on a microSD, some computer interfaces, it was very slow, burned out the microSD card, and was discouraging for me to use when I had a much better computer, the phones were easy to invest effort in, if I had a way crappy computer I wouldn't do too much with it, most people throw PiHole and never touch it again.

Actually, with a semi-decent SD card, burning one out with a Raspberry Pi is almost impossible. If you're worried about that, you can add a ZRAM, move swap and some folders to it (as Raspbian does), and sync during reboots, or periodically. If you're downloading world on it, a USB drive can alleviate the worry too.

On the slowness side, a first generation Raspberry Pi has a comparable performance to a Pentium II - 266MHz system, with similar performance to GPUs of that era. Considering the things I've done (live webcasting for example) with a P2 at that time, A Raspberry Pi is a powerhouse for its size.

You may have a much better computer with way higher specs, but you're missing the point. A Pi is a literally unbrickable and forgettable Linux PC with decent performance and no noise for many tasks many people do. I'm running an home infrastructure on an OrangePi Zero and the bottleneck is the 512MB RAM, not the CPU. With a decent SD card, it's not slow either.

I can replace all of it with a Raspberry Pi 1 or 2, but the OrangePi is much smaller.

Just because it can't race with a specially built workstation, doesn't mean it's useless.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @05:14AM (#29550103)
>Again, doesn't matter because of the reasons I've said earlier. I'm using both platforms for a decade, and won't do them to my primary devices either. Because these devices are handling a lot of stuff for me, tinkering with them is not an option.

If you use them for a lot of things, wouldn't you want to tinker them to make them run better? I certainly do on linux.

>You may have a much better computer with way higher specs, but you're missing the point. A Pi is a literally unbrickable and forgettable Linux PC with decent performance and no noise for many tasks many people do. I'm running an home infrastructure on an OrangePi Zero and the bottleneck is the 512MB RAM, not the CPU. With a decent SD card, it's not slow either.

I don't fear my PC being brickable, and its not noisy either, you can use water cooling for desktop or use a modern laptop, many are fanless (can't say the same about the Pi4). I have for example a router I used custom firmware on that can do everything a pihole can do, and more, just works quietly, it can do also act as a smart hub but I don't see the point.

>I can replace all of it with a Raspberry Pi 1 or 2, but the OrangePi is much smaller.

I find the problem with SBCs is they are too slow to be worthwhile, Android phones are much faster, have all inputs, and just works. Its not hard to buy an extra or use an old one if you fear tinkering.

>Been there, done that. Doesn't matter. Tinkering with a critical life infrastructure device vs, tinkering with a device made for tinkering is different. Way different.

What is "made for tinkering"? A Unix phone that can run all the software I want, a linux phone with root access, or my PSP which was made to play PSP and PS1 games with excellent homebrew counts as not made for tinkering seems alien. What can't they do? Throw a breakout board if you need the pins, I don't get the issue with using them. A one click root or unlock is way less complex than buying required parts to make an SBC work.

>On the slowness side, a first generation Raspberry Pi has a comparable performance to a Pentium II - 266MHz system, with similar performance to GPUs of that era. Considering the things I've done (live webcasting for example) with a P2 at that time, A Raspberry Pi is a powerhouse for its size.

>Just because it can't race with a specially built workstation, doesn't mean it's useless.

No its just not very useful for me, its hard to want to eat ground pork when there is steak to be had, I don't see the point of it really when my computer does everything better, why would someone want to use it to webcast for instance or use the PII era GPU? Sure you can emulate games one it, but I can on my computer already.

>I'm running an home infrastructure on an OrangePi Zero and the bottleneck is the 512MB RAM, not the CPU. With a decent SD card, it's not slow either.

You aren't disagreeing with me, you use it for a purpose (like a PiHole), not as a computer. I can use slower boards for purposes like yours too, what do you use it for? I don't really understand the benefit of a smart home hub, what are you running on it for what automation/smart?

Re:Intel seems awfully scared of Graviton2. Why pay for this... by fulafel on Monday December 13, 2021 @02:58AM (#29537672)
Raspberry Pi was a huge boost, but most of the ARM porting work had been done earlier on other Linux/ARM platforms. We had Debian running on StrongARM iPAQ and Novell Netwinder devices 10+ years before RPi 1.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by zibzab on Monday December 13, 2021 @03:20AM (#29537766)
Either way, OP has an extremely Apple centric view on this and completely ignores decades of work on Linux and many others to get us here.

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).

Re:Intel seems awfully scared of Graviton2. Why pay for this... by robin_reala on Monday December 13, 2021 @07:38AM (#29539008)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by darkwater on Monday December 13, 2021 @09:07AM (#29539663)
And it's just used to run Apple-ecosystem-only things, not real production load for your typical API (unless you have loooots of $$$ to burn and give as charity to Apple) (already prepared for the comment "I do use AWS M1 to serve production load, not just build/test Apple software")
Re:Intel seems awfully scared of Graviton2. Why pay for this... by zibzab on Monday December 13, 2021 @11:48AM (#29541297)
Funny you mentioned that.

Apple most definitely does _not_ support that thing. In fact, they have in past tried to shut down similar initiatives.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by blihp on Monday December 13, 2021 @03:58AM (#29537939)
Pretty much all of the ARM-based SBCs have ensured excellent Linux coverage for the architecture starting over a decade ago. The Pi popularized it with a more mainstream (i.e. plug and play) audience.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by nicoburns on Monday December 13, 2021 @05:52AM (#29538465)
The big jump for ARM adoption was the iPhone and later Android. A lot of important C libraries got first-class ARM support because they were battle tested on the iPhone.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:01AM (#29549691)
iOS was mobile Unix, and Android was mobile Linux. Definitely agree with you.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Flockster on Monday December 13, 2021 @02:23AM (#29537510)
Yes, for nearly every semi-popular project, there already exsists an arm-compatible docker container to deploy it on a pi.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dreamcompiler on Monday December 13, 2021 @09:10AM (#29539690)
Agreed. And I think ARM Chromebooks played a role too: Some can run Linux pretty well and are excellent cheap roadworthy development machines.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:02AM (#29549695)
ChromeOS is gentoo based linux. ;)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @03:29AM (#29549499)
Can that not be attributed to Android or even Arduino? If we are talking about OS I would exclude arduino. In terms of Apple, they made the switch from PPC to x86 and ARM, the App Store made developers money and that allowed a huge repository of applications to exist so that Apple would move their computers.

Even before Pi my router had DDWRT, I don't think Pi did very much.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by charwalker on Monday December 13, 2021 @02:45PM (#29543576)
Easy, cost effective entry point with tons of applications and options all marketed as a learning/hobby board. Other than pi's, I'm on x86 but could see that changing if I can get away from Windows Server on my homelab.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by stjohnswarts on Monday December 13, 2021 @11:51AM (#29541326)
correlation != causation. ARM has been gaining mindshare for the past 15 years without the Pi. I love rpi but to claim it is what started ARM being more prevalent will take a lot more than just stating it. There were lots of ARM embedded systems before pi was a sparkle in someone's eye.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by yazaddaruvala on Monday December 13, 2021 @01:23AM (#29537236)
FWIW, it’s unlikely AWS will ever shut down it’s Intel hardware. In a growing Cloud market, Graviton is likely just a way for AWS to access more of the semiconductor production than other clouds. They will likely keep buying from Intel at Intel’s price point, as long as it remains profitable for them.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by Nextgrid on Monday December 13, 2021 @02:28AM (#29537546)
AWS and other compute providers will continue to buy what customers want, but:

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by Marazan on Monday December 13, 2021 @03:15AM (#29537741)
RDS is a huge one. Switching to Graviton meant that our instances are significantly cheaper and just as fast. And there was zero switching friction.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by nindalf on Monday December 13, 2021 @03:06AM (#29537701)
> Compiled ones need more effort

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by liftm on Monday December 13, 2021 @04:03AM (#29537964)
It remains that easy until your Go/Rust project relies on libraries written in other languages, say C.

(This holds true for JS/python/… too.)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by cure on Monday December 13, 2021 @09:34AM (#29539912)
Right. But even then it does not become that much worse.

Just tell Go to use the appropriate cross compilation chain for the C bits, e.g. `apt install gcc-aarch64-linux-gnu` and set the `CC=aarch64-linux-gnu-gcc` environment variable to compile for arm64. Compilation becomes a bit slower, but it's still manageable.

It's that easy thanks to the foundations laid by the distribution that ships a solid cross-compiler setup (in this example, thank you Debian!) and of course the brilliance of the Go design and toolchain.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by creamytaco on Monday December 13, 2021 @04:28AM (#29538105)
Relying on libraries written in C is not an issue if the library doesn't make assumptions about / isn't tied to, a particular architecture. Some do but most (especially newer codebases written to C11 and beyond) don't.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by ajdlinux on Monday December 13, 2021 @08:13AM (#29539250)
There's also the issue of performance-optimised assembly routines, which impacts many native libraries doing things such as crypto, image processing, etc.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by blihp on Monday December 13, 2021 @04:03AM (#29537966)
The issue is that someone has to initially write the code to emit the native assembly/machine code for each architecture that a given compiler supports. (i.e. assuming it actually emits native code and not code for another compiled language like C/C++) The flag simply means that someone has already done that work for a particular language on a particular architecture.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by nindalf on Monday December 13, 2021 @05:10AM (#29538285)
Absolutely, it’s a lot of work. Just saying the work had already been done for Go and Rust even before M1 made it mainstream.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by noway421 on Monday December 13, 2021 @02:37AM (#29537590)
The way I see it, in the long run AWS will stop net-adding Intel instances. Only decommissioning and re-adding the existing ones. While Graviton-based instances will continue growing with the growth of the cloud market (and global economy), Intel will be considered legacy the same way we view mainframes as legacy.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by yazaddaruvala on Monday December 13, 2021 @09:42PM (#29547562)
I think when discussing “Intel instances” over a long enough time horizon we need to not couple it with x86.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by ckastner on Monday December 13, 2021 @05:11AM (#29538290)
> cloud computing is often an easy sell for ARM and Amazon is likely going to be able to get the chips cheaper given that they're looking for markup on the service end while Intel needs markup on the chip.

> 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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Monday December 13, 2021 @08:26AM (#29539352)
Given how I am much more impressed by Amperes product Vs Amazon's Graviton those insights don't seem to be that valuable.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by InvaderFizz on Monday December 13, 2021 @01:06AM (#29537145)
This right here is what I'm working on at my company right now. We're a multi-cloud and on-prem SaaS provider, we meet the customer where they want to be.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by hinkley on Monday December 13, 2021 @02:36AM (#29537585)
Have you compared with the m6i they just introduced? I’m seeing about a 20% improvement in price/performance.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by InvaderFizz on Monday December 13, 2021 @03:02AM (#29537685)
I have not. I'll add that to my test matrix. I don't care who provides the compute(Intel/AMD/ARM). I care about QoL and QoS for customers, costs for delivery for us.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by x0x0 on Monday December 13, 2021 @02:16PM (#29543209)
This sounds more and more like an existential threat to Intel.

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...

Re:Intel seems awfully scared of Graviton2. Why pay for this... by tw04 on Monday December 13, 2021 @12:33AM (#29536959)
> 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.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by davedx on Monday December 13, 2021 @04:23AM (#29538078)
AWS is not a monopoly in any sense
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:04AM (#29549700)
I don't know personally how it works, but some stuff only works on AWS, so it can have monopoly status in some server instances, but not all. They were a monopoly for years, but no longer are at least for general cloud computing.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by stjohnswarts on Monday December 13, 2021 @11:54AM (#29541360)
Sure but they are part of a market that is pretty quickly reaching oligopoly status
Re:Intel seems awfully scared of Graviton2. Why pay for this... by apatheticonion on Monday December 13, 2021 @01:36AM (#29537301)
I actually have a few production workloads running exclusively on ARM servers and have saved money doing so.

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

Re:Intel seems awfully scared of Graviton2. Why pay for this... by akrotkov on Monday December 13, 2021 @01:49AM (#29537369)
I don't believe this is much of a secret. A lot of internal services have been gradually shifted over the past couple years, there was a re:Invent talk this year about it.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by luhn on Monday December 13, 2021 @01:52AM (#29537388)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by rixed on Monday December 13, 2021 @06:31AM (#29538655)
> Apple is ensuring that everything developers need will be ARM compatible

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Monday December 13, 2021 @08:30AM (#29539388)
Apple doesn't care about LAPACK or BLAS afaics.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dreamcompiler on Monday December 13, 2021 @09:33AM (#29539905)
They obviously care about them a little bit since they ship [a subset of] them with MacOS.

https://developer.apple.com/accelerate/

Re:Intel seems awfully scared of Graviton2. Why pay for this... by loycombinate on Monday December 13, 2021 @05:00AM (#29538242)
Funny how the makers of cloud hardware didn’t want to get into the cloud from the start. Intel Cloud would have seemed more normal then a bookseller getting into it.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by lotsofpulp on Monday December 13, 2021 @06:35AM (#29538678)
No risk, no reward. Intel execs wanted less risk and were happy with the easy stream of profits they were getting from their monopoly. Other companies opted to forego taking profits and kept spending on R&D for new avenues for the business to earn money.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by AyyWS on Monday December 13, 2021 @09:56AM (#29540109)
I worked for Savvis who initially bought an Intel datacenter in the 90s to get started. Company lore was that Intel couldn't make a profit in the colo space because they over engineered everything. Savvis cut DC staff and cut other services until the data center was profitable.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Monday December 13, 2021 @08:31AM (#29539399)
Except for monopoly laws
Re:Intel seems awfully scared of Graviton2. Why pay for this... by DeathArrow on Monday December 13, 2021 @01:31AM (#29537277)
I'd rather see x86 staying. X86 is much more open than ARM. Can you install Windows or Linux on ARM Macs? How easy is to replace the operating system on an ARM mobile device?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by zrm on Monday December 13, 2021 @01:42AM (#29537338)
That isn't anything inherent to the CPU architecture. We could have ARM (or RISC-V) systems that you could install arbitrary operating systems onto.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by dTal on Monday December 13, 2021 @04:17AM (#29538032)
"Danger" undersells it a bit - it's already happening, quite explicitly spelled out in Microsoft's legalese regarding Secure Boot. A lot of the Linux world was very afraid on the introduction of Secure Boot, as it was seen as the final anti-Linux coup-de-gras - Microsoft could, at their whim, simply turn off the ability to install Linux! This fear was widely mocked as hysterical. Now they have done exactly that, on all ARM devices that run Windows.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by sofixa on Monday December 13, 2021 @09:44AM (#29539995)
Offtopic, but

> 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).

Re:Intel seems awfully scared of Graviton2. Why pay for this... by stjohnswarts on Monday December 13, 2021 @11:57AM (#29541406)
That's fair, english speakers often make fun when the French mutilate our language as well :)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dTal on Monday December 13, 2021 @01:45PM (#29542832)
Er, yes... the greasy coup... meant it all along!
Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @05:10AM (#29538284)
I firmly believe that this is their endgame on x86 too. The elevated Windows 11 hardware requirements had the effect of normalising hardware setups capable of end-to-end DRM, which is only a step to the side from Secure Boot restrictions.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by stjohnswarts on Monday December 13, 2021 @11:57AM (#29541413)
Yeah I don't think it has much to do with security as it does securing hardware from competitors.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by ece on Monday December 13, 2021 @01:47PM (#29542865)
You can cast doubt on TPM/SecureBoot implementations with evidence, but it very much is real security controlled by the user with mokutil. We need more of this kind of security, that's controller by the user, if we're ever going to get away from locked bootloaders.

https://wiki.debian.org/SecureBoot

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @02:35PM (#29543460)
They give you the keys now. They could change that overnight if they mandate the same "Secure Boot only with a Microsoft key" that they mandated on early ARM devices. Don't be mistaken. They are very much the Don of x86, and when they choose to alter the deal, you'll be SOL.

That's why I consider alternative ecosystems (that don't have exorbitant prices) like RISC-V and Raspberry Pi to be critical to the survival of general-purpose computing. Once your ability to run on bare metal disappears (via Secure Boot or otherwise), you're in grave danger of simply not having physical hardware to convert new users.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by ece on Monday December 13, 2021 @04:02PM (#29544605)
I hope the regulations being discussed right now[1] pass and we can just call SecureBoot what it is instead of fearing what it might become (atleast on x86).

[1] https://www.congress.gov/bill/117th-congress/senate-bill/299...

Re:Intel seems awfully scared of Graviton2. Why pay for this... by ajdlinux on Monday December 13, 2021 @08:17AM (#29539283)
A lot of people who have lived entirely in the x86 world are completely unaware that a single CPU architecture can have many, many, many different incompatible types of system architecture - x86 means a few sub-types of BIOS + UEFI-based PCs, while ARM, Power, etc have far more variance.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Hamuko on Monday December 13, 2021 @02:55AM (#29537657)
The fact that you can't install Windows on an ARM Mac is mainly a licensing issue, as in, Microsoft will not sell you an ARM license. Apple has said it's open to the idea of ARM Bootcamp and people have pretty successfully ran ARM Windows in VMs.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:23AM (#29549798)
I wonder why anyone would want to? I thought you could do it on Pi4 for free so why not Mac? https://www.notebookcheck.net/Windows-11-can-even-run-native...
Re:Intel seems awfully scared of Graviton2. Why pay for this... by Hamuko on Tuesday December 14, 2021 @05:15AM (#29550109)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @05:21AM (#29550153)
I don't understand the point you are making Pi4 is broadcom and it works.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by blackoil on Monday December 13, 2021 @04:03AM (#29537967)
This is not an architecture issue but ecosystem. Current PC/x86 systems have been built in open historically. ARM has no such baggage, they are free to build closed and incompatible systems which are awesome as long as you stay within the garden.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jfrunyon on Monday December 13, 2021 @02:15AM (#29537475)
ARM is significantly more open than x86.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by dTal on Monday December 13, 2021 @04:08AM (#29537987)
For "x86", read "the PC platform" - which is the thing that gave us modern general purpose computing, and we obsolete it at our peril.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:12AM (#29549734)
> For "x86", read "the PC platform" - which is the thing that gave us modern general purpose computing, and we obsolete it at our peril.

Wasn't the Apple I the modern general purpose computer?

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @05:08AM (#29538276)
ARM popularised the concept of bootloader locking. I don't think so.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jfrunyon on Monday December 13, 2021 @05:33PM (#29545576)
Has absolutely zero to do with either openness or ARM.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @10:10PM (#29547732)
It certainly does. An architecture isn't just about the ISA, but the culture around it too. The culture around ARM mobile phones and tablets heavily emphasized bootloader locking, which accelerated its spread to x86 too - which works contrary to the notion of openness.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jfrunyon on Tuesday December 14, 2021 @05:24PM (#29558939)
> The culture around ARM mobile phones and tablets heavily emphasized bootloader locking

Virtually all of which are user-unlockable. But keep telling me how unopen they are?

(BTW, those of us who actually want secure systems very much appreciate the fact that malware can't overwrite my boot sector without a hardware-level vulnerability.)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:13AM (#29549744)
If its good they'll make a hack to unlock it. Have phones that were sold locked, so many security bugs that they are easily unlocked.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Monday December 13, 2021 @08:34AM (#29539426)
I am aware of exactly 0 ARM motherboard makers that make boards with socketed (read upgradeable) CPUs. I know they are made for PowerPC. I know there are tons of x86 ones.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by prewett on Monday December 13, 2021 @02:01PM (#29543021)
For a while I bought motherboards with upgradable CPUs. I quit doing that after a while because by the time I wanted to upgrade, the newer chips required a new socket, I needed faster memory that the motherboard didn't support, etc.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jfrunyon on Monday December 13, 2021 @05:34PM (#29545579)
I wasn't aware that it had to be socketed to be open?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by yellow_lead on Monday December 13, 2021 @01:37AM (#29537310)
I don't think this is an inherent property of the instruction set / CPU. Moreso the device manufacturer and whether drivers are supported.

> How easy is to replace the operating system on an ARM mobile device

Very easy if you have an Android phone :)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by widespace_ on Monday December 13, 2021 @02:18AM (#29537487)
>Very easy if you have an Android phone Very easy if you have an Android phone from the correct manufacturer that and it's popular enough to have custom roms for it or you know how to port custom roms to other devices*
Re:Intel seems awfully scared of Graviton2. Why pay for this... by phh on Monday December 13, 2021 @05:56AM (#29538485)
Nope, nowadays any recent-ish Android can receive custom ROM very easily, using GSI.

But the restriction is that many OEMs and/or carriers forbids bootloader unlock.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by selfhoster11 on Monday December 13, 2021 @10:32PM (#29547890)
If you have Android, you have to have an excessive number of stars aligned just right for a successful OS replacement. On x86, the replacement involves toggling some firmware settings, rebooting, and using a point and click installer. On Android:

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:22AM (#29549789)
>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.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GhettoComputers on Tuesday December 14, 2021 @04:11AM (#29549725)
Yes you can on some, Apple's T1 was on x86 to prevent other OSes from installing. ARM isn't as open, RISC-V is, but don't worry x86 will still be staying in the way tha PPC, Amiga, and the ARM based on RISCOS stayed.

>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/

Re:Intel seems awfully scared of Graviton2. Why pay for this... by jayd16 on Monday December 13, 2021 @01:20AM (#29537227)
>and Apple is ensuring that everything developers need will be ARM compatible.

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?

Re:Intel seems awfully scared of Graviton2. Why pay for this... by Xylakant on Monday December 13, 2021 @02:13AM (#29537470)
For example docker for arm has received a major push, with more images becoming available by default, more testing of dependencies, etc. Generally, a lot of developer tooling now get exercised on arm a lot more, making it more robust and accessible. And once you have that, it’s much easier to just build and deploy on arm as well.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by nindalf on Monday December 13, 2021 @03:13AM (#29537727)
Earlier there were a million paper cuts on ARM that couldn’t be solved by any single developer. So the friction to trying out ARM was high unless your use case already worked well. When millions of developers switched to M1 in the last year, most of these paper cuts were fixed. Almost everything just works now.

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”

Re:Intel seems awfully scared of Graviton2. Why pay for this... by stjohnswarts on Monday December 13, 2021 @11:59AM (#29541431)
Sure but the conjecture was that Apple was responsible for it, not open source developers
Re:Intel seems awfully scared of Graviton2. Why pay for this... by jayd16 on Monday December 13, 2021 @11:34AM (#29541148)
Ah, I thought Docker was already using an emulator on Windows and Mac. Or are you saying the cross compilation tooling is used more often now?
Re:Intel seems awfully scared of Graviton2. Why pay for this... by masklinn on Monday December 13, 2021 @03:18AM (#29537755)
> 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?

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

Re:Intel seems awfully scared of Graviton2. Why pay for this... by GianFabien on Monday December 13, 2021 @06:42AM (#29538721)
Even if Apple doesn't support writing code for Arm + Linux, you could use Go on a new Apple Silicon system and simply cross-compile for Linux for deployment.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by NicoJuicy on Monday December 13, 2021 @04:26AM (#29538099)
I'm really wondering how many developers are forced using a Mac.

To be honest, i hardly know anyone ( little bit biased because of .net development)

Re:Intel seems awfully scared of Graviton2. Why pay for this... by krab on Monday December 13, 2021 @07:08AM (#29538839)
Just an anecdote - in my surroundings (development for Linux server with Java and Python), I usually see around 50 % Mac, 40 % Linux, 10 % Windows.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by NicoJuicy on Monday December 13, 2021 @02:08PM (#29543094)
Hardly seems like a fair choice to me :p

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!

Re:Intel seems awfully scared of Graviton2. Why pay for this... by krab on Monday December 13, 2021 @02:59PM (#29543805)
Ha, I see now. :-)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by hvgk on Monday December 13, 2021 @07:48AM (#29539067)
On this point I just deployed my first end to end ARM app. It’s a small aggregator but it’s written in Go on an M1 mac and deployed to graviton2 instance.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Monday December 13, 2021 @08:42AM (#29539480)
Except if you use an M1 and deploy your build on Graviton3 you will leave a lot of performance on the table. (SVE)
Re:Intel seems awfully scared of Graviton2. Why pay for this... by watermelon0 on Monday December 13, 2021 @05:14PM (#29545374)
The same holds true for x86, you want to build performance sensitive code on a machine with the same processor that will be used for running it.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by freemint on Tuesday December 14, 2021 @04:47PM (#29558368)
In my experience the difference between Intel laptop parts and xeons isn't that much, atleast it is for AVX512 which would be a good analog for the situation with SVE.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by sandGorgon on Monday December 13, 2021 @12:43AM (#29537021)
>It seems likely that Microsoft and Google will introduce ARM-based instances.

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...

Re:Intel seems awfully scared of Graviton2. Why pay for this... by ma2rten on Monday December 13, 2021 @12:56AM (#29537090)
I'm pretty sure TPUs are not based on ARM.
Re:Intel seems awfully scared of Graviton2. Why pay for this... by sandGorgon on Monday December 13, 2021 @01:03AM (#29537124)
I'm not claiming they are on ARM - and that in itself is a moot point.

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.

Re:Intel seems awfully scared of Graviton2. Why pay for this... by bushbaba on Monday December 13, 2021 @01:35AM (#29537296)
GCP cloud TPUs are comprised of multiple ASICS underneath. To say 1 TPU is faster than 1 GPU is moot as the Cloud TPU is a logical construct.

Instead $/ML training job or time to complete training given X budget is likely a better measure.