News for hackers. Stuff that matters.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by Androider on Friday February 22, 2019 @02:38PM (#19228404)
Node and Ruby applications do fail on ARM though, when it comes to native libraries and extensions. And now your whole distro is different than your development machine, which adds complexity.

Do I really want to be debugging why node-gyp fails to compile scrypt on the ARM distro on the new Amazon A1 ARM instance (which it did in my case)? And if I solve that, what about the other 2451 dependencies? Let's pessimistically say there's a 1% failure rate, I'll be stuck doing that forever! Nah, I'll just go back to my comfy x86 instance, life's short and there's much code to write :)

I think I'll side with Linus on this one. I saw first-hand how non-existent the x86 Android market was, despite Intel pouring megabucks into the project. If the developers don't run the same platform, it's not going to happen, no matter how great the cross platform story is in theory. Even if it's as simple as checking a box during upload that "yes, this game can run on X86", a huge chunk of the developers will simply never do that.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by tlb on Friday February 22, 2019 @03:33PM (#19228865)
I'm suffering through this now -- I have a custom C++ Node exception that needs to run on both x64 and ARM. The ARM cpu is onboard a mobile robot, where I care about power draw.

The good news is that Clang can cross-compile fairly easily. Much better than gcc.

The bad news is that there are a surprising number of missing libraries on Ubuntu/ARM64. For example, Eigen3. And although the code is fairly compatible, there's some extra cognitive load in learning to debug on ARM. For example, calling a virtual function on a deleted object crashes differently.

I'm willing to put up with it for ARM's advantages in battery-powered applications, but I wouldn't just to save a few bucks on cloud servers.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by ekiwi on Friday February 22, 2019 @04:41PM (#19229375)
Have you tried compiling with address sanitizer? https://clang.llvm.org/docs/AddressSanitizer.html

Unfortunately C++ code is only portable if it is free from undefined behavior. Fortunately there are many tools now to debug these kinds of errors: https://blog.regehr.org/archives/1520

Re:Linus Torvalds on Why ARM Won't Win the Server Space by saagarjha on Friday February 22, 2019 @06:58PM (#19230355)
The Undefined Behavior Sanitizer might be more useful in this case: http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
Re:Linus Torvalds on Why ARM Won't Win the Server Space by sriram_sun on Friday February 22, 2019 @04:13PM (#19229169)
How about using CMake to download and cross-compile the 3rd party dependencies? I've worked on a couple of robotics applications (C++). I wouldn't depend on Ubuntu for packages. You'll lose the flexibility to choose package versions, apply patches etc.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by bonzini on Saturday February 23, 2019 @01:51AM (#19232096)
> The good news is that Clang can cross-compile fairly easily. Much better than gcc.

How so? The complications in cross compiling come from setting up all the system libraries, not the compiler and linker.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by Gibbon1 on Saturday February 23, 2019 @02:57AM (#19232279)
I remember getting annoyed needing a windows driver that was part of an open source package. That needed autotools to build. I got annoyed trying to make it compile under mysys/MinGW. So I built a gcc cross compiler under linux. Compiled the damn driver and it just worked(tm).
Re:Linus Torvalds on Why ARM Won't Win the Server Space by rvp-x on Sunday February 24, 2019 @08:13AM (#19238425)
by default it supports a variety of targets, you don't need to set it up.

setting up the system libraries is relatively easy, make a copy of the target you're building for, assuming it has a setup for compilation, and use --sysroot=/path/to/target.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by cozzyd on Friday February 22, 2019 @07:12PM (#19230436)
eigen3 is header only isn't it?
Re:Linus Torvalds on Why ARM Won't Win the Server Space by snovv_crash on Saturday February 23, 2019 @02:32AM (#19232218)
Yes, but only once you run the `configure` so that it chooses the right inline assembly blocks for your system.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by Androider on Friday February 22, 2019 @02:45PM (#19228466)
On a related note, if Apple does switch to ARM chips for their laptops, that will make mainstream ARM server-side development more viable than any cross-platform story ever can. Or kill the Mac desktop. One or the other :)
Re:Linus Torvalds on Why ARM Won't Win the Server Space by kakwa_ on Friday February 22, 2019 @05:19PM (#19229674)
It will most likely kill apple laptops as a developer platform.

Unless you are deeply disconnected from the hardware, CPU architecture does matter. Most developers using macbooks I know have VMs for either Windows or Linux works.

It might be conceivable to use the ARM port of <Insert your Linux distribution here>, or the ARM version of Windows 10. But it would also require a good desktop virtualization solution for ARM. If Apple release its own solution or creates a partnership with let's say VMWare to release something at the same time an ARM macbook comes out, it might work, but barely, and I'm not sure if developers are at the top of Apple's priority list. In the end, with the Linux subsystem in Windows, choosing Windows as a development platform might make more sense.

As a side note, if Apple switches to ARM, I foresee a lot of cringing. The switch from ppc to intel was annoying for a lot of Apple users at the time, but there were a lot of goodies (bootcamp, better autonomy, better performance, VMs) that kind of made it up for it, basically, nothing was lost in term of possibilities, a few were actually gained, and only the transition was a bit painful. With a switch to ARM, you may gain a little in term of autonomy, but with macbook pro already at +8 hours (~a work day), not sure it's a game changer, at best you will stay the same in term of performance, and you will lose in compatibility with other OSes.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by Moto7451 on Friday February 22, 2019 @05:43PM (#19229828)
I think kill is too strong. Certainly some developers will need to be on an Intel chip, but not all. How many developers use their laptops as a dumb SSH terminal? While some C extensions to scripting languages will need some love, the majority of major interpreted or VM driven languages work already.

My feeling is it will be net zero as far as ARM servers are concerned until the hardware is made and is viable. Perhaps Apple ARM laptops will help with marketing ARM as a viable option, but we already develop on OS X in order to deploy to Linux without any great calling for OS X servers.

Cloud server “hardware” has also drifted from what you see in real hardware. There are numerous times in my career I’ve had to explain to deveopers of all experience levels that their SSD is several orders of magnitude faster than the tiny EBS volume they’re reading from and writing to.

In short, I think architecture mismatch just isn’t that important to most Web App oriented companies. My girlfriend works at a travel industry giant and they’re at the opposite end, putting IBM mainframes to good use. They don’t have much use for Macs and most of their developers seem to be on Windows instead of anything resembling what they’re deploying on. For the segment of our industry that does care, they’ll have options and will choose them regardless of what Apple, Google, and Microsoft do with ARM, Intel, Power, MIPS and other architectures.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by kakwa_ on Friday February 22, 2019 @05:58PM (#19229935)
Maybe it would be interesting to look at the past.

Was the PowerBook as heavily used as a developer laptop as the MacBook is today?

(or Power Mac vs desktop PC as desktops were more common at the time).

I was not in the industry at the time (2000 - 2006) so I don't know the answer.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by cschep on Friday February 22, 2019 @06:24PM (#19230126)
While the Intel switched helped, at least I thought it was great, the big deal was that OS X was a tremendously usable Unix on amazing laptop hardware.

I'm not sure the architecture mattered as much as that did.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by mbreese on Friday February 22, 2019 @08:30PM (#19230963)
Agreed. I switched when there were still G4 PPC laptops just because OS X was a usable Unix with good hardware. The switch to Intel was good, but it wasn’t because I struggled with the architecture. It was for the more powerful CPUs and battery life.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by tracker1 on Saturday February 23, 2019 @11:02PM (#19237054)
Sorry, but in Windows, Mac and Linux x86 docker is a huge part of my workflow... I'm having enough trouble guiding people out of windows only as it stands, ARM is too big a pill to swallow in teh near future. There's still enough bad parts in scripting environments at the edges (I'm a heavy node user, scss and sqlite being a big two touch points).
Re:Linus Torvalds on Why ARM Won't Win the Server Space by manicdee on Sunday February 24, 2019 @09:12PM (#19242226)
I can imagine a neat divide here between “MacBook” (based on ARM, 15 hour battery life) and MacBook Pro (based on Intel i7, 6 hour battery life, optimised for VMs).
Re:Linus Torvalds on Why ARM Won't Win the Server Space by sixothree on Friday February 22, 2019 @09:55PM (#19231302)
Maybe WOA will be a thing then too....
Re:Linus Torvalds on Why ARM Won't Win the Server Space by mullingitover on Friday February 22, 2019 @04:24PM (#19229243)
I consider myself a pretty average Mac user, and I've already been turned off by the last couple rounds of Macs that Apple has shipped. Messing up the one remaining upside, x86 compatibility, would be be the straw that broke the camel's back. They still only have single digit market share in desktop computing, this could be the death blow for their platform.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by kevin_thibedeau on Friday February 22, 2019 @05:06PM (#19229570)
I would expect them to pursue a dual processor strategy first. The bulk of the OS can run on ARM and power apps can remain on x86.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by mariovisic on Sunday February 24, 2019 @05:05AM (#19237978)
Sounds about right. They actually already have this setup, the T2 chip in recent macs contains an arm processor which handles some tasks like disk encryption. It could be possible that future OSX versions will leverage that processor for more general purposes.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by copperx on Saturday February 23, 2019 @10:51AM (#19233822)
I can't imagine that's good for battery life.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by mariuolo on Saturday February 23, 2019 @04:43PM (#19235649)
Or price.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by riffraff on Friday February 22, 2019 @04:54PM (#19229474)
But what if the switch to arm comes with a lot more battery life and great performance?

Not all Mac users are devs.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by jecxjo on Friday February 22, 2019 @05:11PM (#19229617)
I wouldn't imagine you'd get a lot of performance boost from the change. You'll see battery life but that assumes they aren't looking to run a crazy number of cores to make it compete with the x86. And they only way that massive core counts help is if the software is designed to utilize them correctly.

Its not that all users are devs. Its that all devs might not be able to make their software work well under that environment.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by egypturnash on Friday February 22, 2019 @06:38PM (#19230227)
Wow, I have five hundred cores, now it’s no longer a big deal that (insert cpu-hogging Electron app) is constantly maxing out four of them!
Re:Linus Torvalds on Why ARM Won't Win the Server Space by yoz-y on Saturday February 23, 2019 @07:57AM (#19233151)
Current crop of Apple A chips runs circles around almost all Intel chips which they put in the laptops at a fraction of TDP.

I think you will see a lot of performance boost after switching to ARM. If they start on the "low end" then a macbook will be practically on par with a mbp. This might not be useful at first for native development, but I am quite sure that macOS, iOS and web development will be very much possible on these machines - the three domains that Apple cares most about.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by koffiezet on Monday February 25, 2019 @06:03AM (#19244695)
Knowing Apple, they would just go for the 'even lighter' approach, and insert a battery half the size of the current-ones...

A battery lifetime of 8 or 12 hours is plenty, and going beyond that isn't that much of a marketable strategy, unless it has to become 24h+ or something. A lower weight approach however would also mean a lower BOM for Apple, and more profit, while being able to shout "1/3rd lighter!" - and that's an easy sell :)

Re:Linus Torvalds on Why ARM Won't Win the Server Space by coldtea on Friday February 22, 2019 @06:12PM (#19230039)
>And they only way that massive core counts help is if the software is designed to utilize them correctly.

That's for servers and scientific software (and perhaps 3D and such).

For regular devs the massive core count helps even with non optimized apps, because unlike the above use cases, we run lots of apps at the same time (and each can have its core).

Re:Linus Torvalds on Why ARM Won't Win the Server Space by lrem on Friday February 22, 2019 @04:42PM (#19229394)
I'm on a 2013 retina, because nothing in the meantime offered incentive to switch. I'm wondering how a switch to ARM would affect that.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by ct520 on Friday February 22, 2019 @07:03PM (#19230383)
They can make ultra slim butterfly keyboard that feels like Cement when you type on it
Re:Linus Torvalds on Why ARM Won't Win the Server Space by josephg on Friday February 22, 2019 @04:03PM (#19229087)
When that happens we’ll also see a big push to add ARM support to all the native nodejs modules that are out there. (And I assume Ruby, Python, Go, etc packages).

Linus’s prediction is based on the premise that everyone will continue to use x86 for development. But that’s probably not going to be the case for long. Multiple sources have leaked the rumour that Apple will release an arm MacBook next year. And I wouldn’t be surprised if Microsoft has an arm surface book in the wings too.

[1] https://www.macrumors.com/2019/02/21/apple-custom-arm-based-...

Re:Linus Torvalds on Why ARM Won't Win the Server Space by alias_neo on Friday February 22, 2019 @06:21PM (#19230115)
Developers don't develop on Surface books, and Macbooks are in low percentages.

The majority of people in the world writing code are using x86 PCs and Microsoft and Apple aren't about to change that with any *Book.

Linus' premise that everyone will continue to use x86 for development is because they will.

There's no incentive for companies or individuals to go switch out all of that x86 hardware sitting on desks and in racks with ARM alternatives which will offer them lower performance than their already slightly aged hardware at initially higher costs.

I can forsee _some_ interest in ARM cloud, and I don't think it'll be the issue Linus claims at higher-than-systems-level, but I absolutely would bet on x86 going nowhere in the human-software interface space in the foreseeable future.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by josephg on Friday February 22, 2019 @09:49PM (#19231285)
> Macbooks are in low percentages

For some reason Macbooks seem disproportionately represented amongst web developers. All the agencies I know in Sydney and Melbourne are full of macbooks.

> There's no incentive for companies or individuals to go switch out all of that x86 hardware sitting on desks and in racks with ARM alternatives which will offer them lower performance than their already slightly aged hardware at initially higher costs.

Uh, why are you assuming ARM laptops will have lower performance and a higher cost compared to x86 equivalents? The ARM CPU in the iPad pro already outperforms the high end intel chips in macbook pros in some tests. And how long do you think Apple will continue to sell intel-based macbooks once they have ARM laptops on the market? Maybe they'll keep selling intel laptops for a year or two, but I doubt they'll keep refreshing them when new intel processors come out. When Apple moved from powerpc to intel they didn't keep releasing new powerpc based laptops.

Once web development shops start buying laptops with ARM chips, it will be a huge hassle if random nodejs modules don't build & work on ARM. At this point I expect most compatibility issues will be fixed, and that will in turn make deploying nodejs apps on arm a more reasonable choice.

Obviously we'll see, and this is all speculation for all of us. But I think its a reasonable path for ARM chips to invade the desktop.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by alias_neo on Saturday February 23, 2019 @07:46AM (#19233103)
I'm not assuming per-se, im guestimating, basing it on my understand of x86 and ARM. I graduated in Electronic Engineering from a university department who's alumni include Sir Robin Saxby, they pushed ARM hard, and I have a fairly good understanding of where it's at architecturally compared to x86.

Apple have 100% control over every part of their hardware and software from the get go, so it's inevitable they perform excellently on that hardware; they can optimise their code to death, and increment the hardware where it can be improved upon.

Web developers make up a fairly small proportion of the developers I've ever worked with, I have worked for software houses where web just isn't a thing for us other than for our own marketing. None of these people run Mac's, they all run PCs, and these PCs don't have the same control in their hardware/software process that will bring about the kind of "excellent" result you see from an iPad. They'll be relying on Microsoft to get Windows optimised, but Microsoft will be working with dozens, even hundreds of partners, Apple works with one, itself.

I suspect, also that they'll be more expensive because of all the new development the manufacturers have to put into releasing these new ARM laptops. Microsoft will have to put extra work into Windows, which will cost money, and finally those of us that run Linux will end up with something that hasn't had the benefit of the decades of x86 development on the desktop has had, thus, worse performance, at least in the beginning.

I could imagine a laptop equivalent of big.LITTLE, where you have x86 cores for the real grunt work, and ARM cores for power saving, bit I don't see pure ARM in the workstation space.

It'll be an interesting time, but based on my own experience, I'm betting on Linus with this one and I don't see myself or my colleagues or my workplace moving to ARM anywhere outside of non-laptop-portables any time soon.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by Black-Plaid on Saturday February 23, 2019 @03:07AM (#19232305)
Agreed, at the last 5 software companies I've worked at, the only people without Macs were the sales people.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by IWeldMelons on Saturday February 23, 2019 @01:04PM (#19234572)
Yeah, well, I live in one of the ex-USSR countries. And guess what - there are no Macs here whatsoever. I'd suspect that x86 is the prevalent platform in China and India, the dominant players in the outsourcing markets. So, no, most of development is done on Intel machines.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by tracker1 on Saturday February 23, 2019 @11:04PM (#19237060)
This is true, but a huge part of that is VMs with linux or windows, and for me x86 docker workflows that go to x86 servers. It'll be years for any real transition imho.

It took 4 years of concerted effort to get most node things working right in windows.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by rbanffy on Friday February 22, 2019 @02:49PM (#19228497)
If that happens, a lot of low level programming will be done ARM-first. A lot of Swift and Objective-C code will be built, tested and run primarily on ARM.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by vbezhenar on Friday February 22, 2019 @03:51PM (#19228987)
I don’t think that it would kill desktop, but I’m sure that unless ARM will be much faster, developers will use x86 macs for a long time.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by nicoburns on Friday February 22, 2019 @04:24PM (#19229237)
Apple's latest iPad processors are competitive with low-end laptop x86 processors. And they have a much stricter power budget than a laptop. If Apple wants to go this route, then they probably have the capability to build the chips to support it.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by jecxjo on Friday February 22, 2019 @05:14PM (#19229634)
The part you're discounting is just how resource intensive desktop apps are and how much optimization goes into iOS apps.

To really see the benefit of changing they would need to add a lot of cores, and then cross their fingers that 3rd party app developers know how to do true multi-core development.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by nicoburns on Sunday February 24, 2019 @04:24PM (#19240703)
I don't know about that A-series chips are competive with low-end intel in single-threaded performance. And they keep getting faster each year.

If that team were to design a bigger core aimed at laptops, then I wouldn't be surprised if they could make it competitive.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by pcwalton on Friday February 22, 2019 @03:40PM (#19228916)
> I think I'll side with Linus on this one. I saw first-hand how non-existent the x86 Android market was, despite Intel pouring megabucks into the project.

Doesn't that refute Linus' argument, not strengthen it? Almost all Android developers develop on x86. Intel thought, as Linus apparently does, that this would drive adoption of x86 on phones. It didn't.

Intel even got competitive in power efficiency and it wasn't enough to save them. In fact, I remember folks on HN predicting the imminent death of ARM all the way up to Intel throwing in the towel.

I think Linus is wrong here. His argument made sense in the '90s, but it's 2019. The ISA just doesn't matter that much anymore.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by admax88q on Friday February 22, 2019 @03:45PM (#19228942)
Phones are different than servers though. The primary customer of a phone is Joe Somebody who doesn't know or care about architectures, only battery life and cost. Well ARM wins there.

The primary customer of servers is developers who care less about cost and more about time to market.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by stickfigure on Friday February 22, 2019 @04:22PM (#19229224)
I'm a developer deploying code to JVMs running in a PaaS (Google App Engine). I don't know or care what the architecture is.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by alias_neo on Friday February 22, 2019 @06:30PM (#19230173)
Indeed you might not, but the person that wrote your JVM does, and the person that wrote the system that runs on does, and the person that wrote GAE does...

That single instance you're running on already took half a dozen or so other systems developers and more before it got to you, so in your example you're the minority.

It's because of the work they've done, that you can not care about the architecture you're running on, not in spite of them.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by stickfigure on Friday February 22, 2019 @11:34PM (#19231650)
Sure, but every time you move down the stack a level, you shrink the network effect by several orders of magnitude.

Linus' argument is that x86 stays on top because everyone is developing with x86 at home. It's much less convincing to argue that x86 will stay on top because the people writing JVMs use x86 at home. There just aren't that many of them, and if they get paid to write ARM, they write ARM.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by alias_neo on Saturday February 23, 2019 @07:15AM (#19232967)
Indeed, but by at home he means in the office too (he says as much), and I don't see offices don't this unless they have a real incentive to throw out the hardware they've invested in, perhaps in the not so near future when they inevitably have to replace it all due to failure the arm stuff will have a chance to take some share.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by matchagaucho on Friday February 22, 2019 @06:23PM (#19230125)
Likewise... most of my code runs on Lambda JVMs now.

If AWS switches to running JVMs on ARM, and passes the cost savings onto me, I'd be in no position to argue.

[dead]
Re:Linus Torvalds on Why ARM Won't Win the Server Space by Wowfunhappy on Friday February 22, 2019 @08:26PM (#19230942)
Well, if ARM servers are cheaper for Amazon to run, they're going to want to incentivize customers to switch to ARM. Either by passing on some of the cost savings (even if it's only 5%), or by making the x86 option more expensive.

In the second case, Amazon is still "passing on the cost savings" in a sense, it's just that now they take a higher profit regardless.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by matchagaucho on Friday February 22, 2019 @09:21PM (#19231179)
As the spot history charts depict, AWS pricing continues to drop.

To break through any floor requires a disruptive change in architecture (CPU or otherwise).

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-sp...

Re:Linus Torvalds on Why ARM Won't Win the Server Space by chmod775 on Friday February 22, 2019 @11:27PM (#19231631)
AWS is still 10x-100x more expensive than renting bare-metal unmetered servers and running everything yourself, so I don't think the actual hardware factors too much into their pricing.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by stickfigure on Friday February 22, 2019 @11:35PM (#19231655)
more expensive than...running everything yourself

Only if you value your time at zero.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by chmod775 on Friday February 22, 2019 @11:38PM (#19231664)
This is so utterly untrue and directly related to what Linus was talking about.

Those bare-metal servers are basically 1:1 what you are developing on.

I can install an instance of my application on them in minutes.

It's AWS that takes significantly more time to set up and learn.

Most people using AWS are spending big bucks on an 'automatically scaling' architecture (that never just works) that will cost them many thousands of dollars a month, which they could have comfortably fit on a 30 bucks dedicated server.

You can pay a dedicated system administrator to run your server (let's not kid ourselves, you probably just need one server) and still save money compared to AWS.

With AWS you're not only paying Amazon, you're probably also paying someone who will spent most of his time just making sure your application fits into that thing.

Take my use-case for example: I can run my entire site on about 8 dedicated servers + other stuff that costs me ~600-700 euros a month.

Those just work month after month (rarely have to do anything).

Just my >400TB of traffic would cost me 16,000 bucks / month on AWS. I could scale to the whole US population for that money if I spent it on dedicated servers instead and just ran them myself.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by matchagaucho on Saturday February 23, 2019 @01:22AM (#19232023)
8 servers fixed capex is not comparable to the opex of 8 peak servers.

If bandwidth is your highest cost, that's a completely separate problem that likely requires CDN. Neither x86 or ARM is going to reduce that cost.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by qes on Saturday February 23, 2019 @06:45PM (#19236160)
My situation is similar to what chmod775 describes.

We serve 200+ TB/month, and no we didn't just forget to use a CDN ◔_◔ Those cost money, too.

For us, cloud is about double - $10k/month more - than dedicated boxes in a data center. I've run the same system in both types of environments for years at a time.

For us, cloud is basically burning money for a little bit of additional safety net and easy access to additional services that don't offer enough advantage over the basics to be worth taking on the extra service dependency. It's also occasional failures behind black boxes that you can't even began to diagnose without a standing support contract that costs hundreds or more a month. Super fun.

High bandwidth and steady compute needs is not generally a good fit for cloud services.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by chmod775 on Tuesday February 26, 2019 @12:59PM (#19256687)
Most CDNs are more expensive at 400TB/month than just serving content yourself.

And no Cloudflare's cheap plans are not an option, they'll kick you out.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by Wowfunhappy on Friday February 22, 2019 @03:53PM (#19229004)
To add on to this: developers don't get choose what architecture a customer's phone uses. If they could, perhaps they would choose x86.

For servers, developers are often the customers of their own software.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by pjmlp on Friday February 22, 2019 @04:43PM (#19229399)
When I deploy to PaaS or servless cloud instances, I couldn't care less if they are running on OS xyz, hypervisor or bare metal.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by ozim on Friday February 22, 2019 @04:02PM (#19229078)
I don't have production experience with ARM unfortunately but Raspberry Pi is huge... Linux on desktop sucks if you have any laptop or something like this, but specific hardware just like RPi, everything works for my needs. I have node.js, .net core, python and loads of software that just works for me on ARM. Let alone I have Synology with ARM processor. Making servers is a lot easier than making consumer grade laptops or desktops. I agree with Antirez, there is so much space to try out stuff on cheap ARM with RPi and other SBC it just going to roll over x86 because ARM is going to be ubiquitous with phones and SBCs. That is why x86 won with SPARC and PowerPc, it was just in more places.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by jecxjo on Friday February 22, 2019 @05:20PM (#19229685)
I ran Pis at home for a bunch of services and I agree it did a great job. But when you put actual loads on it the device craters because they are so under powered. This is where THE issue is going to be. To get speeds you expect out of server hardware its not just about making a 64 core ARM. Single Core ARM vs Single Core x86 has an obvious winner. So you need to make node and .net core and python and everyone else really push their limits on using multiple cores without developers knowing about it.

But that is just the first step. You then need developers who write applications on top of those languages be multi-core aware and design their applications to fully use the huge number of cores. At that point you'll loose a lot of your power efficiency because you'll need a lot more hardware running to do the same tasks. You'll also need developers who know how to think in an extremely multi-core way to get the extra performance boost.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by copperx on Saturday February 23, 2019 @11:26AM (#19233990)
Why are you declaring winners when you're comparing RPis to full powered x86 CPUs?

RPis are built to a price and don't have the best CPUs that ARM can offer. A better comparison would be Apple's A chips.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by vbezhenar on Saturday February 23, 2019 @06:25AM (#19232779)
Well, servers typically care about throughput and not latency. So if your ARM server will process 10000 requests per second with each request taking 100 ms and your x64 server will process 8000 requests per second with each request taking 80 ms for the same price, ARM will be preferred. There are exceptions, of course, but generally server workload is an ideal case for multi-threaded applications, because each request is isolated. That's why server CPU's usually have a lot of cores but their frequency is pretty low.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by ct520 on Friday February 22, 2019 @07:09PM (#19230420)
Nah bro I just hand it to my paas and the magical unicorn make it work awesomely quick and faster then competition dollar for dollar eye roll
Re:Linus Torvalds on Why ARM Won't Win the Server Space by tybit on Friday February 22, 2019 @09:06PM (#19231130)
I think it will be interesting to see how this plays out in different ecosystems. I’d hazard a guess that ecosystems like Go, JVM and .NET will fare much better in an arm world, compared to languages that more commonly pull in native binaries.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by titanix2 on Friday February 22, 2019 @10:11PM (#19231351)
> what about the other 2451 dependencies

Not sure if this is sarcasm or not, but if your project have that many dependencies not wonder it is hard to port anywhere.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by ummonk on Saturday February 23, 2019 @01:50AM (#19232094)
You must be new to the mess that is the node package ecosystem...
Re:Linus Torvalds on Why ARM Won't Win the Server Space by ams6110 on Friday February 22, 2019 @03:20PM (#19228762)
> now your whole distro is different than your development machine

Can you not develop on an ARM emulator? Or just buy an ARM machine for dev work?

Re:Linus Torvalds on Why ARM Won't Win the Server Space by Androider on Friday February 22, 2019 @03:58PM (#19229045)
Of course I can, but the question is why would go out of my way to do any of that?

I was interested in trying the state of server-side ARM for my mostly-interpreted language, and I pretty much immediately found that it doesn't Just Work. I had a vision of spending many hours searching, creating and +1:ing GitHub issues and tracking discussions around "why package X doesn't work on ARM" and the developers saying at best "happy to accept patches" (which btw is the mantra for why "why package X doesn't work on Windows", and why you don't want to develop with Node on Windows to this day despite all of Microsoft's ecosystem work). Nope, not worth it.

I'm not interested in supporting ARM just for it's own sake. A 30% discount on the cloud instances is also not nearly enough for me or my team of developers to be spending any significant amount of time on this, solving problems unrelated to our core business.

Let's see again in a few years. Of course, if ARM development machines become mainstream by way of Apple, then the calculation changes completely.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by acqq on Saturday February 23, 2019 @09:02AM (#19233339)
> if ARM development machines become mainstream by way of Apple, then the calculation changes completely.

That's the biggest chance for ARM: having the notebooks/desktops that are good or even better for most potential users.

Re:Linus Torvalds on Why ARM Won't Win the Server Space by copperx on Saturday February 23, 2019 @11:29AM (#19234004)
Chance for ARM? How can you say that with a straight face when ARM is the undisputed winner in the greatest market of all.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by acqq on Sunday February 24, 2019 @01:41AM (#19237457)
The chance for ARM to really get to be used for all purposes (desktop, server) in the context of the OP. The context of the discussion matters.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by Wowfunhappy on Friday February 22, 2019 @03:55PM (#19229018)
Aside from the fact that emulation is slow (and thus more annoying to test), now you have to contend with emulator bugs. Is your software crashing because your code is bugged or because the emulator is bugged? Or worse: your software may only be working because of an emulator bug.
Re:Linus Torvalds on Why ARM Won't Win the Server Space by erik_seaberg on Friday February 22, 2019 @06:04PM (#19229990)
Or your software may be working because the emulator was correct where your hardware stepping may be wrong (e.g., FDIV).
Re:Linus Torvalds on Why ARM Won't Win the Server Space by intellix on Saturday February 23, 2019 @08:25AM (#19233231)
node-gyp has caused me headaches everywhere