News for hackers. Stuff that matters.
Re:NEON is the new black: fast JPEG optimization on ARM servers by cameldrv on Friday April 13, 2018 @04:20PM (#16833578)
This is a really good article. Couple of comments:

* Intel is dead man walking. They've been coasting on superior process technology for years, and now they're being attacked on two sides in the datacenter: From ARM many-core chips like this, that have 50% of the performance per core, but 4x as many cores for about the same price and TDP. On the other side, you've got NVIDIA. The Volta has something like 9X the memory bandwidth of typical Intel server CPUs. This is starting to get used in databases, and of course they already own deep learning.

* libjpegturbo is a great choice if you need fast CPU JPEG encoding/decoding. It's a very near drop-in replacement for libjpeg, and it runs about 2x faster, mostly due to AVX/NEON optimizations.

Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Friday April 13, 2018 @07:57PM (#16834944)
Disagree that Intel is a dead man walking. If they see a serious threat in the number of 1U size ARM servers actually going into production at scale, which is not happening yet, they have the ability to make 50% price cuts on 16/24/32-core xeons to make them competitive again. With no new r&d money.

You cannot yet buy small to medium sized quantities of ARM motherboard from any of the top ten taiwanese motherboard manufacturers. Intel and AMD have advantages of massive economy of scale.

If you look at the global server market for individual bare metal hypervisor platforms priced from $900 to $11000 each, x86-64 is literally like 99% of motherboards shipped. The other 1% is probably spread between arm, power and other even more esoteric platforms.

I would dearly like to be proven wrong. If anyone is aware of a $400 arm board I can buy right now from MSI, asus, gigabyte, supermicro, tyan, quanta, or others please post a link here.

Re:NEON is the new black: fast JPEG optimization on ARM servers by colechristensen on Friday April 13, 2018 @09:35PM (#16835309)
I'd guess that Intel is "coasting" on purpose to maintain their ability to consistently deliver improvements. The company doesn't benefit from deploying their best tech as fast as possible if there is nothing to compete with it. When there is competition, it is easy for them to move forward.

I would like it if there were ARM servers in the marketplace too, but as yet it doesn't seem they are a real threat. "dead man walking" is a bit premature when the competition barely exists.

Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Friday April 13, 2018 @09:40PM (#16835331)
yeah, I mean to make an analogy, it's like declaring Toyota a "dead man walking" because Tesla has awesome tech. Before researching the number of new-build cars/trucks/vans shipped and delivered to customers each year...

Toyota, cars, 9.1m

Tesla, all of 2017: Something like 101,000

Re:NEON is the new black: fast JPEG optimization on ARM servers by jarym on Saturday April 14, 2018 @05:28AM (#16836625)
It’s also like looking at the iPhone in 2007 and saying Nokia can do x/y/z to keep the upstart out.

Fact is, mis-placed corporate focus and the sense of superiority kicks these companies off top spot.

Intel, as it stands this minute IS next.

They can’t price like ARM, they don’t have the scale that ARM devices have - those two things are what Intel usually relies on itself to dominate competitors (eg like AMD).

Add to this that Intel really is focussed on growing its business outside of chips and continually dropping the ball on the chip side (how late is CoffeeLake? Can anyone understand their marketing kefudgery with the generational mixture of chips?) and it’s an absolute recipe for corporate implosion.

Re:NEON is the new black: fast JPEG optimization on ARM servers by ksec on Saturday April 14, 2018 @05:40AM (#16836642)
>they don’t have the scale that ARM devices have

It is the other way around when you are talking about Server market. The Scale of ARM devices in IoT or even Samrtphone has near zero advantage on Server. ( The instruction set, x86-64 / ARMv8 matters very little )

Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Saturday April 14, 2018 @05:48AM (#16836652)
There is a solid ecosystem for building arm instruction set mobile phones to run Android.

There are lots of little tiny IoT type things that run the arm instruction set and do it really well, but they are not in the same class as serious server motherboards.

ARM is just now barely scratching the surface of the number of pci-express 3.0 "lanes" you can get with one EPYC or threadripper socket.

There is nearly zero current ecosystem of serious server motherboards to run Linux either bare metal or with the kvm or xen hypervisors. Things with a lot of ddr4 ram, m.2 nvme SSD PCI Express slots, pci-express 3.0 x16 slots, 10 and 100 Gbps NICs (SFP+ and qsfp28 form factor).

Every arm server board I have ever seen to date is a special one off low quantity thing produced for a special purpose.

As it stands right now a manufacturer like supermicro can fit four single socket motherboards in a 2RU chassis, and populate them with something like the $750 EPYC 16-core which will run circles around anything arm based. Or a cloud scale operator can put a whole shitload of 1U size individual chassis into use with standard atx size motherboards and populate them with $275 each, ryzen 7 2700 CPUs.

Re:NEON is the new black: fast JPEG optimization on ARM servers by thecompilr on Saturday April 14, 2018 @12:17PM (#16837961)
> which will run circles around anything arm based.

Do you have a single number to back that up?

Re:NEON is the new black: fast JPEG optimization on ARM servers by imtringued on Saturday April 14, 2018 @09:36AM (#16837267)
I'm not sure how you can believe that. Right now the biggest problem is total lack of availability of ARM servers. Perhaps Qualcomm's Amberwing is competitive but the only source of information about it is from Cloudflare in SIMD workloads. Infrastructure like networking is an obvious target for ARM servers because it can be accellerated via SIMD but is the performenace good enough for regular application development like webapps or databases? We don't know and they won't tell us. The only reason to believe or hope that they are superior is because you have a grudge against the established players.
Re:NEON is the new black: fast JPEG optimization on ARM servers by thecompilr on Saturday April 14, 2018 @12:13PM (#16837944)
I don't even claim that ARM is better than Intel on SIMD workloads. Quite the opposite. Intel has AVX2 and AVX512 that rip ARM apart on most highly parallel workloads. This very specific snippet benefits a bit more from ARM SIMD due to the presence of specific instructions lacking in SSE. But AVX512 has so much more instructions, with a much wider application.
Re:NEON is the new black: fast JPEG optimization on ARM servers by ksec on Saturday April 14, 2018 @05:53AM (#16836665)
That is assuming they will do price cut.

I think Intel is in some trouble when, Cloudflare decide to and finish improving all the Open Source library used by majority of Internet companies with NEON optimized version, and Qualcomm ship its 2nd generation of Centriq which promised improvement in IPC, I think we are looking at 2020.

But Intel already has a New uArch they are working on specifically for Server, along with 7nm which is roughly TSMC / Samsung's 5nm. i.e Intel will still be at least 1 year ahead in leading edge node on Server.

And Let's not forget Intel's FPGA, if they can some how making it to work seamlessly in Servers.

Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Saturday April 14, 2018 @08:36PM (#16840413)
by 2020 AMD will be shipping its third generation of EPYC...
Re:NEON is the new black: fast JPEG optimization on ARM servers by kogepathic on Saturday April 14, 2018 @01:36AM (#16836061)
> I would dearly like to be proven wrong. If anyone is aware of a $400 arm board I can buy right now

Not from the manufacturers you mentioned, but it is possible to buy an ARM board in a standard form factor that can be used in high performance applications. [1]

[1] http://macchiatobin.net/

Re:NEON is the new black: fast JPEG optimization on ARM servers by ris on Saturday April 14, 2018 @08:03AM (#16836963)
Marvell are an awful awful company to do anything with if you have any expectation of driver source, kernel upstreaming or them even reading your emails unless your company has an n-million contract with them.
Re:NEON is the new black: fast JPEG optimization on ARM servers by kikoreis on Saturday April 14, 2018 @06:34AM (#16836755)
Good luck getting a standard Linux kernel to run on those Armadas though.
Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Saturday April 14, 2018 @07:11AM (#16836838)
I looked briefly and found no mention of being able to run a Debian or centos derived distribution on them. Chicken or egg problem.
Re:NEON is the new black: fast JPEG optimization on ARM servers by voltagex_ on Saturday April 14, 2018 @07:33AM (#16836897)
I wonder if they fixed the issue present on the (very similar) Espressobin board where using a PCIe card will crash the system.
Re:NEON is the new black: fast JPEG optimization on ARM servers by xevb3k on Saturday April 14, 2018 @01:55AM (#16836112)
Wow, 269USD is pretty good. 10GigE ports and upto 16G memory... tempting!
Re:NEON is the new black: fast JPEG optimization on ARM servers by walrus01 on Saturday April 14, 2018 @02:36AM (#16836200)
Looks pretty nice for Linux based network device development, but I'm going to bet the CPU performance is in a tier well below a Coffee Lake Core i3 8100. Not really in the same category as single socket, narrow (two systems in 17.5" 1U chassis width), 8, 16, 24 or 32-core Xeon or EPYC.
Re:NEON is the new black: fast JPEG optimization on ARM servers by Nelson69 on Saturday April 14, 2018 @10:25AM (#16837431)
It seems like they have a few firewalls to burn through before a dramatic xeon price cut. They could just start churning out xeon-d parts that are already fairly affordable and designed to basically compete with most of these server arm parts.

It's hard to overstate how good Intel is at what they do. It sucks that they haven't been radically increasing performance like they used to, but they had been doing it for 40 years. It also sucks that they do seem to slow play things a little and enjoy the margins. Do they still own an ARM license? Could they make their own ARM parts again if they wanted?

Re:NEON is the new black: fast JPEG optimization on ARM servers by thecompilr on Saturday April 14, 2018 @12:19PM (#16837971)
I don't think Intel is going to die anytime soon, but I do hope for a stronger competition between ARM based server, Intel and AMD.
Re:NEON is the new black: fast JPEG optimization on ARM servers by CyberDildonics on Friday April 13, 2018 @04:48PM (#16833780)
> * Intel is dead man walking.

Intel is so dominant that they can sell their server processors for many thousands of dollars and still command the vast majority of the server market. I don't think any other CPUs have the number of SIMD units they have either.

Intel has also already made a lower power more core architecture with the Xeon Phi. It even has high bandwidth memory separate from main memory. The Xeon Phi is niche, but so are many core ARM servers. The point being that Intel is far from unprepared in this area and companies making many core ARM servers are going to have to do a lot to prompt a switch.

Re:NEON is the new black: fast JPEG optimization on ARM servers by Something1234 on Friday April 13, 2018 @09:49PM (#16835356)
Isn't Xeon phi dead? There haven't been any updates since 2013. My one professor who worked on them said they have many issues from being passively cooled to requiring the Intel compiler to get halfway decent performance.
Re:NEON is the new black: fast JPEG optimization on ARM servers by CyberDildonics on Friday April 13, 2018 @10:19PM (#16835503)
https://en.wikipedia.org/wiki/Xeon_Phi

The previous version was a 14nm CPU that was haswell instruction compatible. The 10nm version has been canceled.

Re:NEON is the new black: fast JPEG optimization on ARM servers by martinpw on Saturday April 14, 2018 @02:55AM (#16836251)
That 2013 date is a bit misleading. Although the most recent generation was announced that year, it did not ship until 2016, and the Knights Mill derivative launched just a few months ago.

Knights Hill was canceled. I hadn't heard anything about the entire line being killed, although it would not be totally surprising if that were to happen.

Re:NEON is the new black: fast JPEG optimization on ARM servers by stu2010 on Friday April 13, 2018 @05:16PM (#16833966)
Intel's market segmentation is getting even more aggressive, which gives them future flexibility to address pricing in a very fine-grained manner.

Notice that they make you pay up for 2 AVX-512 modules per core: Xeon Gold 6xxx has them, and 5xxx only has 1 per core. Huge price jump to get those extra SIMD units.

Re:NEON is the new black: fast JPEG optimization on ARM servers by rbanffy on Friday April 13, 2018 @07:36PM (#16834851)
There aren't nearly enough different parts for ARM to credibly threaten Intel at this moment. Also, with Intel's profit margins, they can substantially reduce prices to remain competitive in all but the most price-sensitive segments.

What the future holds, however, is different. We see we are (finally!) getting over the binary compatibility problem and we are now able to use more or less the same software recompiled and tuned for different architectures (POWER, ARM, Intel, AMD) that cover a vast space in the price/performance/watt space, much larger than any single vendor could before.

I can't wait to see people becoming creative again with hardware.

Re:NEON is the new black: fast JPEG optimization on ARM servers by pjmlp on Saturday April 14, 2018 @08:02AM (#16836962)
It was easier to be more creative with hardware in the past, because of the full stack experience.

Now that OSes and bytecode as portable binaires have become commodity it is very hard to try to sell something where users can just leave at any moment.

Re:NEON is the new black: fast JPEG optimization on ARM servers by rbanffy on Sunday April 15, 2018 @04:18PM (#16844721)
> It was easier to be more creative with hardware in the past

In the early 70s, perhaps. Then being compatible with DOS and then Windows limited most computers to x86 processors. One of the niches that was not limited gives us some hints of what can be now: Unix workstations that employed Motorola and RISC processors and all sorts of creative hardware to get a performance edge over what Intel could offer. They didn't need to reinvent the wheel and licensed large amounts of code to make the core of their OSs. They sometimes needed to port the C compiler to their architecture, but that was not the norm.

Developing for them was often making small changes to headers and recompiling the same source.

Re:NEON is the new black: fast JPEG optimization on ARM servers by pjmlp on Sunday April 15, 2018 @05:17PM (#16845036)
And then they died, because that C code could run anywhere regardless of the hardware improvements they were offering to the world.

This is what I meant with having nothing that could prevent developers to go away from the platform, just the performance edge wasn't good enough against commodity hardware.

Re:NEON is the new black: fast JPEG optimization on ARM servers by rbanffy on Tuesday April 17, 2018 @05:49AM (#16856844)
When commodity hardware got "good enough" no workstation manufacturer could any longer ask for the large premiums they did when a PC couldn't touch their performance. A 386 was not good enough. A 486 was almost there and a Pentium was quite enough I didn't feel constrained when running Solaris 2.5 for development with a 20" monitor and reasonable graphics. Now I'm comfortable with x86's running different flavors of Unix and use both macOS and Linux almost interchangeably.

Yet, if someone could offer radically better price/performance than a x86 PC and still run the large software base that runs on x86 Linux machines, it'd stand a much better chance than it'd in the 90's and 2000's.

Re:NEON is the new black: fast JPEG optimization on ARM servers by thecompilr on Friday April 13, 2018 @04:40PM (#16833727)
Our jpegtran is still faster. We use libjpegturbo for other manipulations though.
Re:NEON is the new black: fast JPEG optimization on ARM servers by mattsfrey on Friday April 13, 2018 @10:46PM (#16835597)
Faster cores will still be supreme until parallel computing solutions ramp up enough to fully utilize all the cores - there are still way too many problems and just software in general being built with the constraint of being single threaded.
Re:NEON is the new black: fast JPEG optimization on ARM servers by throwaway84742 on Saturday April 14, 2018 @04:15PM (#16839220)
Intel is going to be fine. There’s no real alternative to Intel CPUs in cloud for most workloads, which is why they’re able to charge so much for their top SKUs, and none anywhere on the horizon. And if challengers do appear (like AMD on the desktop) they could just throw in more cores, bump frequencies, lower prices slightly and coast on their superior tech for another decade. Don’t get me wrong, I do think the current situation is pretty bad, and I do want alternatives to get more traction, but Intel would need to screw up really badly and repeatedly to be in any trouble.