News for hackers. Stuff that matters.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by Aissen on Friday February 26, 2016 @04:04AM (#11180513)
It was tried before, with professional ARM server hardware:

http://www.anandtech.com/show/8776/arm-challinging-intel-in-...

http://www.cnx-software.com/2014/10/26/applied-micro-x-gene-...

Spoiler: Intel still has the upper hand (for now), at least in perf-per-watt.

Even the green500 (http://green500.org/news/green500-list-november-2015?q=lists... ) is dominated by Xeon-based clusters.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by jdietrich on Friday February 26, 2016 @01:17PM (#11182956)
Bear in mind that the X-Gene is on a 35nm node and the A1100 is on 28nm, versus 14nm for Xeon-D. Applied Micro have announced a 16nm X-Gene 3 for this year via TSMC, and Qualcomm have a 14nm server processor in development via GlobalFoundries. We'd expect at least a 30% reduction in power from this change in process node.

I think we could well see ARM server processors close the gap with Intel by the end of this year, which is an exciting prospect.

IMO ARM's trump card is the diversity of their IP ecosystem. This has been integral to their success in the mobile SoC market and could become a genuine game-changer in the server market.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by jabl on Friday February 26, 2016 @09:27AM (#11181500)
FWIW, the green500 list is dominated by accelerated systems, not pure Xeon clusters.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by bullen on Friday February 26, 2016 @06:16PM (#11185018)
That's only true when the server is under load. 99% of servers worldwide are idling = ARM wins by a lot already today. There is going to be a leap in the cheap ARM board bus to something that supports USB3, then Intel will be gone from the server market in under a year.

Also see: https://github.com/tinspin/rupy/wiki/Comet-Stream

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by claudius on Friday February 26, 2016 @02:46AM (#11180279)
Keep in mind that this Xeon (E5620) was released in 2010, whereas the Cortex A7-Quad seems to be from 2015? So it would be interesting to compare the ARM cluster against a comparably new Intel CPU (say Haswell or Broadwell); in my experience, even a mid-range notebook CPU (i5-5500U) from last year easily outperforms Xeons (E5-2650) even from 2012.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by vardump on Friday February 26, 2016 @04:21AM (#11180561)
> Keep in mind that this Xeon (E5620) was released in 2010, whereas the Cortex A7-Quad seems to be from 2015?

2015? Cortex A7 was released in 2011 to be a lower performance energy efficient in-order core. It's significantly slower per clock than Cortex A9 released in 2007!

If you want fairness, just compare it to any Xeon available in 2007 running with just a few watts.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by slizard on Friday February 26, 2016 @12:29PM (#11182645)
I think the comparison is still quite dangerous: possibly unfair, probably telling little about current hardware.

The power efficiency and core count has increased tremendously on Intel CPUs with Sandy Bridge first and late with Haswell. For the same TDP you easily get 8-12 HSW cores these days.

ARM CPUs have likely improved to a similar extent, but given that CPUs are getting "wider" and more sophisticated in terms of caches, power efficiency, etc. it is very hard to extrapolate from assessments made based on hardware that uses >5y old technology.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by PinguTS on Friday February 26, 2016 @04:35AM (#11180595)
To back that up, it was release in October 2011:

https://www.arm.com/about/newsroom/arm-unveils-its-most-ener...

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by claudius on Friday February 26, 2016 @04:24AM (#11180571)
Wikipedia¹ lists a Cortex A7 „designed specifically for Raspberry Pi 2“. The Raspberry Pi 2 was released in 2015, so the CPU was released in 2015?

[1] https://en.wikipedia.org/wiki/ARM_Cortex-A7

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by vardump on Friday February 26, 2016 @04:29AM (#11180581)
From the Wikipedia article:

> Broadcom BCM2836 (quad-core A7 + VideoCore IV GPU), designed specifically for Raspberry Pi 2[7]

No, it says BCM2836 was designed specifically for Raspberry Pi 2. Cortex A7 is a pretty old design, probably that way RPi 2 costs could be kept low.

Edit:

Here's Anandtech 2011 article about Cortex A7:

http://www.anandtech.com/show/4991/arms-cortex-a7-bringing-c...

Wikipedia's Cortex series DMIPS/MHz table. It says Cortex A7 (1.9 DMIPS/MHz) is roughly as fast per clock as Cortex A8 (2.0 DMIPS/MHz) released in 2003:

https://en.wikipedia.org/wiki/Comparison_of_ARMv7-A_cores

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by claudius on Friday February 26, 2016 @04:38AM (#11180599)
Interesting. So how would a reasonably new ARM core compare to this? The point is, the Xeon is definitely outdated and the Cortex A7 seems to be a little bit dusty as well, so…what exactly was the point of this comparison? Two CPUs from two different (or equal, if you take 2010/2011) points in time are roughly comparable?
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by darklajid on Friday February 26, 2016 @06:31AM (#11180889)
I feel the point of the comparison was answering the question

"Might it be feasible to replace our current infrastructure¹ with an arm based solution², and at the same time: Can we benefit from more cores, lower clock speeds"

1: The article uses their current dev system - there's no reason to buy a shiny new setup if that dev system works fine today and is 'fast enough'

2: The article explicitly mentions upcoming arm8 server boards but uses RPi2s as a general (and low) approximation for 'cheap arm performance' and to test their setup in a multi-node environment (vs. 'one single vm')

I think the article explains quite well what it wanted to do and doesn't claim 'arm is better' or anything like that. For their workload, using Erlang/OTP and their real world application, a multi-node arm-based architecture might be feasible.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by vidarh on Friday February 26, 2016 @01:38PM (#11183113)
But then pointing out the cost of their current system is confusing matters - as I've pointed out in another comment, a similar performance system today can easily be had for 1/5th of the price they list. They're comparing against a system that is old, slow and expensive.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by PinguTS on Friday February 26, 2016 @04:38AM (#11180601)
Yeah, Wikipedia says, that ARM designed a processor specifically for the Raspberry so it must be right.

Stupid.

ARM design cores since years as IP cores. Then there are chip makers who decide to use these cores or not depending on business opportunities.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by Cthulhu_ on Friday February 26, 2016 @04:01AM (#11180507)
Good point; I did some googling and I could find this CPU for sale at €32 apiece (it said 'refurbished', possibly reclaimed from old servers?), so if the intent is to build a cheap but performant server, the second-hand market might be worth considering before trying to build a raspberry pi cluster.

Actually come to think of it, CPUs from five years ago are not bad; I can see a future in a secondhand CPU market, given how CPU's don't really break from usage (normally).

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by TheOtherHobbes on Friday February 26, 2016 @07:23AM (#11181012)
CPUs do break from usage. The integrity of the gates degrades over time, especially if they run hot.

As usual, this follows a statistical distribution. An old CPU isn't guaranteed to break, but it is more likely to, especially if it's been overclocked and/or run without good cooling.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by semi-extrinsic on Friday February 26, 2016 @03:52AM (#11180482)
It would also be very interesting to see how much cheaper and more efficient it would be to use a server built today using a low-power 1U blade with a pair of high-end SSDs in RAID0 (or maybe 4 in RAID10).

That iSCSI SAN was probably bloody expensive, yet a pair of SSDs today which are orders of magnitude cheaper would run circles around it. OP is storing text documents, so doesn't need a huge disk.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by vidarh on Friday February 26, 2016 @01:44PM (#11183149)
I priced out a server from our usual vendor. A half-depth 1U server with dual 6Gbps SSDs and a ~50% faster CPU and 16GB of RAM would come out at around 1000euro from them (so about 20% of the price in the article). With a 800GB Intel NVMe PCIe card, it'd come out at about 2000 euro (they didn't have prices for smaller NVMe cards in their quote generator at the moment, but you should be able to shave at least 500euro of that and still get the performance).

If you'd go for maximum CPU matching the quoted price instead, you'd easily get 8-16 cores each faster than the old Xeon cores in question depending on CPU model and other specs.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by ansible on Friday February 26, 2016 @02:57AM (#11180313)
There's no argument that the Xeon server is going to be less power-efficient than the RP2 cluster.

Before you go out an order a bunch, do keep in mind that the RP2 cluster doesn't support ECC memory and other features often considered necessary in a server environment, like remote management. I'm pleased to see the A1100 does support ECC.

Still, it is an interesting test. I look forward to reading more about ARM servers. And I hope the Mill Computing guys will ship something eventually too.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by derefr on Friday February 26, 2016 @03:16AM (#11180354)
> ECC memory ... remote management ... often considered necessary in a server environment

Do note that an idiomatic Erlang cluster (where the distribution of the system is used to achieve fault-tolerance, rather than for higher throughput) doesn't strictly need ECC memory (though, obviously, it wouldn't hurt.)

Also, such a system should be plenty manageable on its own—insofar as even an Erlang unikernel makes for a relatively ops-friendly system. There's little "remote management" can do that can't be done from an Erlang remsh. (Erlang even offers easy ways to expose e.g. SNMP MIBs.)

If you're talking about being able to re-image the system into being a completely non-Erlang system remotely, that might be hard—but a cluster-of-inexpensive-low-power-nodes setup like this only really has this one niche use-case to begin with, so I'm not sure what else you'd want to change it into.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by ansible on Friday February 26, 2016 @04:04AM (#11180510)
ECC can prevent program crashes, but it can also prevent computation of incorrect results. Even if your memory is basically reliable, cosmic rays still can flip bits. As RAM sizes go up and up, your chances of seeing a memory error increase.

My point, mainly, if we're talking about costs and power consumption, it isn't quite fair to compare server-grade hardware (which is more expensive than consumer-grade) with a RP2.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by jlouis on Friday February 26, 2016 @04:12AM (#11180534)
An idiomatic Erlang cluster will have great benefit from ECC memory. The problem is that bit-flips can yield the wrong results for a while before the system crashes. And you may not be able to tolerate these wrong results.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by CJefferson on Friday February 26, 2016 @03:28AM (#11180401)
Stupid question -- why wouldn't you need ECC? What does Erlang do special?

I've found C programs occasionally returning incorrect results with non-ECC memory, as a memory location got corrupted. Does Erlang have some magic to avoid that?

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by duaneb on Friday February 26, 2016 @12:27PM (#11182635)
> ECC memory...often considered necessary in a server environment

This is very much workload-specific. If you cycle your processes out of memory even once a day, the chances of seeing a random gamma ray burst is vanishingly small. Of course, I wouldn't host ZFS or a data store.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by wrigby on Friday February 26, 2016 @12:50PM (#11182780)
In my experience, ECC shows benefits more often when a DIMM starts to fail, not in protecting us from cosmic rays (though I don't think I was able to make a note of the last cosmic ray that flew by me).

I've had systems limp along reliably while throwing EDAC messages every few hours. With non-ECC memory, they would have crashed and burned.

Of course, if you're seeing EDAC messages, you'd be better advised to just shut down the metal and shift your workload to a different machine until you can replace the DIMMs in question.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by ansible on Friday February 26, 2016 @03:10PM (#11183859)
Yeah, I don't know that people are doing that on a regular basis. I also think you are underestimating the amount of cosmic ray events that occur on a regular basis.

https://en.wikipedia.org/wiki/Cosmic_ray#Effect_on_electroni...

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by spacecowboy_lon on Friday February 26, 2016 @08:23AM (#11181198)
And the PI interconnects are much slower so if you cluster is doing any East <> West traffic its going to kill performance.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by insanebits on Friday February 26, 2016 @02:06PM (#11183302)
The test seems to be biased towards Pi's. Firstly because of VM ram, who gives 3GB RAM for 2 core VM? When typical server from 2010 has 72-96GB ram, which would really typically have at least 8GB ram, which would really be quite a different story.

Other part about the prices - you can have used gen6 server for under $400 which is comparable to RPi's considering that you're getting at the very least 6 times the performance(if you buy it with 2xL5640 processors with 6 cores each). Which means would need at least 18(3*6) RPis to match the performance in theory. Which would total close to $700(assuming $35 per pi).

Raspberry's are not really meant to be used as a heavy load server. They can be used as a cheap cluster for learning purposes but not really a viable option for replacing rack servers, at least today, but who knows maybe some day they will get to the point of competing.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by xt00 on Friday February 26, 2016 @02:22PM (#11183424)
Really what somebody needs to do is say "I built a custom chipset that has 32 octa-core Allwinner A80's on it". It has a A15/A7 big little architecture. I would guess the processors cost like $25 each. So the board would be like $800 + maybe $200 more in other components like RAM and flash. So $1000 and you get a cluster that has 256 cores and 32 parallel memory buses and 32 parallel flash chips--seems like that $1000 would get you a pretty epic server. Plus each of those chips have powerVR GPU's, so you would have some GPU capability that Xeon servers don't have. Buying $35 raspberry pi's is basically $5 useful stuff in there and $30 not useful overhead. So better to actually build a legit server board covered in ARM processors and then actually compare how well that $1000 is spent compared to a dual 6 core xeon blade.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by insanebits on Friday February 26, 2016 @02:36PM (#11183550)
There are a GPU's with hundreds of cores if that's what you're after. And there already are ARM server boards, for example quick google turned up: http://www.cavium.com/newsevents-GIGABYTE-announces-384-Core...
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by Matthias247 on Friday February 26, 2016 @02:41PM (#11183597)
I think Intel built comparable setups themselves with the Xeon Phi line, which composes a lot of Atom cores. I think that these got not more mainstream shows that such setups are mainly helpful for some very specific use cases and that the traditional Xeons with a lower number of high performance cores are better suited for mainstream server tasks.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by xt00 on Friday February 26, 2016 @02:27PM (#11183470)
And, at the end of the day, that "epic server" I am talking about would likely have some big limitations of working with big amounts of data. It seems like it would be more suited to a kind of "grab some small amount of data and do a little bit with it then leave it alone" type task.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by stevencorona on Friday February 26, 2016 @03:17AM (#11180361)
Pretty cool, but would love to see it compared with a newer xeon. I have a xeon-d in my homelab that would be cool to compare it against— 8 2GHz cores @ 45W. They have a 1.7GHz version @35W now, too.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by lazyjones on Friday February 26, 2016 @09:12AM (#11181405)
I have an Atom C2750 board (8 core), it runs at 2.4 GHz with only a heatsink and has a TDP of 20W. It'a much slower than current low-end desktop CPUs, but it runs circles around a Raspberry Pi 2. Its unique advantage for server loads is that the board holds 64GB ECC RAM. The Xeon-D is currently an even better option though, since some of the server boards with soldered CPUs can be kept fanless too (e.g. Supermicro X10SDV-4C-TLN4F ) despite 35W TDP and much better performance.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by aeroevan on Friday February 26, 2016 @01:18PM (#11182973)
ASRock C2750D4I? I've got one running my home NAS and love it.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by kitsune_ on Friday February 26, 2016 @02:47AM (#11180286)
What about the Xeon-D? Slap together a couple of those Mini-ITX SoC's together... very low TDP.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by newman314 on Friday February 26, 2016 @03:22AM (#11180381)
I was just reading that the Xeon D is still 5.5x faster than the AMD Opteron A1100 (which does not have significantly better TDP) so it seems like Xeon-D is where it's at.

http://www.anandtech.com/show/9956/the-silver-lining-of-the-...

I built a home VMware server a while ago using a 4670T which has similar performance to a Xeon D but does not have ECC and tops out at 32GB. Works pretty darn well even with the multiple VMs I have running on it. I think I measured power consumption at the wall at 40+ish-55W so it's quite efficient.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by sciurus on Friday February 26, 2016 @05:40AM (#11180758)
Form another take, her are benchmarks of a raspberry pi 2 and raspberry pi zero versus a decade old and modern Intel chips.

http://www.phoronix.com/scan.php?page=article&item=raspberry...

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by TheOtherHobbes on Friday February 26, 2016 @07:28AM (#11181027)
That was very revealing - although maybe not a surprise to anyone who has waited for a web page to load on a Pi.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by fnordfnordfnord on Friday February 26, 2016 @09:07AM (#11181386)
Pretty much exactly what I expected, and matches my experience. Pi2 is almost equivalent to a 10-15 year old low-end PC.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by vidarh on Friday February 26, 2016 @01:34PM (#11183091)
Not much point in a price comparison like that when the prices are completely crazy.

For the price of that blade today you can get at least a 1U dual cpu quad- or hex-core server of a far newer/faster CPU model, and with vastly faster storage (NVMe SSD's) and 10GbE ports.

For 2000 euro, I could instead get a server with about a 50% faster CPU, 16GB RAM, and an 800GB NVMe Intel PCIe SSD that'd trounce that iSCSI any time. With 6Gbps SATA III drives instead, and either dropping down a bit in capacity or going for spinning rust, you'd pay ~1000 euro for the same machine.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by insanebits on Friday February 26, 2016 @02:13PM (#11183344)
Exactly my point, prices are for the new servers when they were brand new, as well as processors are really one of the worst xeons of that time. They E5600 suck a lot of power while not giving that good performance, there are x5600 for performance and L5600 for efficiency.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by plumeria on Friday February 26, 2016 @03:32AM (#11180415)
Is the rack [1] custom made? Would like to see a bill of materials for this setup.

[1] https://d262ilb51hltx0.cloudfront.net/max/2000/1*KdGdonIRAPy...

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by claudius on Friday February 26, 2016 @03:39AM (#11180433)
That looks a lot like a standard 3.5" HDD case as found in many desktop computers with the Raspberry Pis possibly just lying in it? I might very well be wrong, but it looks a lot like e.g. http://www.overclock3d.net/gfx/articles/2014/11/21055622736l... or http://www.scythe-eu.com/uploads/tx_cfamooflow/Gekkou-HDD-Ca... .
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by plumeria on Friday February 26, 2016 @10:36PM (#11185962)
Yes, it looks indeed like those cases. Thanks.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by mhd on Friday February 26, 2016 @03:40AM (#11180441)
That looks like a removable hard drive bay from a regular PC case.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by geerlingguy on Friday February 26, 2016 @08:31AM (#11181238)
I was doing similar comparisons of a cluster of 6 Pi 2s vs my Core i7, as well as DigitalOcean droplets, and I found that the i7 (quad core, single chip, running 6 VMs) was at least 20% faster in real world use, and using six DigitalOcean 1GB VMs was about 68% faster: http://www.pidramble.com/wiki/benchmarks/drupal

There are tons of different use cases of course, and if measuring only raw CPU (not network, not IO, etc.), the benchmarks could be slightly closer, but I'm not going to recommend clients start ditching cloud infra for colocated Pi clusters :)

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by newman314 on Friday February 26, 2016 @02:48AM (#11180288)
I wonder how this would compare using ODROID-C2 boards.
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by mkesper on Friday February 26, 2016 @03:48AM (#11180464)
Odroid-XUs maybe even more because of Sata?
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by ansible on Friday February 26, 2016 @10:09AM (#11181730)
Yeah, I like the ODROID-XU4:

http://www.hardkernel.com/main/products/prdt_info.php

The gigabit Ethernet alone is a reason to choose it over the RP2.

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by newman314 on Friday February 26, 2016 @02:07PM (#11183307)
The C2 is case compatible with a Raspberry Pi as well as having GigE.

So it's almost a drop-in replacement depending on the distribution you use. I'm trying to get OSMC to officially support the C2 which would essentially make it a much more powerful media center.

http://www.geek.com/news/new-odroid-dev-board-outmuscles-a-r...

Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by eddd on Friday February 26, 2016 @06:26AM (#11180876)
Why agents here a so heavy? I mean, why entire cluster cannot handle more than 256 agent concurrently?
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by _ZeD_ on Friday February 26, 2016 @03:27AM (#11180396)
This reminds me of the "Beowulf cluster" slashdot meme...
Re:Erlang: Pi2 ARM Cluster vs. Xeon VM by amelius on Friday February 26, 2016 @08:44AM (#11181294)
I wonder about other applications. Say, I have a farm for converting video from any format to mp4. Would a cluster of Pi2s be a cost-effective solution?