News for hackers. Stuff that matters.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by superkuh on Thursday July 21, 2016 @10:19PM (#12141333)
The best part of POWER8 is the ability to flash and verify the CPU firmware using a completely open toolchain. All modern Intel and AMD processors have secret sauce signed firmware (that can even access and use the network). You can't ever be sure what is running on them internally. POWER8 is a secure architecture even in the case of an NSA targeted hardware intercept during shipping. You can just reflash with known/verified good firmware when you get it.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by jjnoakes on Thursday July 21, 2016 @10:42PM (#12141414)
How does this work at the lowest level? How does one know that the flashing itself is not being subverted or altered by the microcode?

There has to be a level below all of the turtles, right?

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by kabdib on Thursday July 21, 2016 @10:52PM (#12141450)
You can probably hide evil in a few gates, in the right place. A little additional logic that perturbs an MMU mapping or TLB load, or fail to register an exception if a bit of hardware has seen a recent pattern of behavior. Heck, with a few thousand gates you could have a full microprocessor embedded on the sly.

I don't know at what point this stuff becomes noticeable; do you subvert the silicon toolchain? Do you buy off the people who make the masks? Are there feedback loops in the silicon production chain where changes would make it back to a designer, who would say "Hmmm, that's funny..."?

In the early 80s it looked possible for a chip designer to stick in Something Bad without much notice. With billion transistor chips, it seems a lot easier.

Is there a VHDL equivalent of the Underhanded C contest? :-)

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by sp332 on Thursday July 21, 2016 @11:12PM (#12141504)
How about a single capacitor that isn't even connected to anything? https://news.ycombinator.com/item?id=11768980
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by Dylan16807 on Friday July 22, 2016 @03:09AM (#12142174)
I don't know how POWER8 sets it up, but it's not particularly hard. You either use an external flash chip, or you set up internal flash so that it can be directly accessed by an external programmer. Then the microcode can't interfere with flashing.

This doesn't save you from someone that can custom-fabricate alterations to the CPU, but honestly nothing will save you from that.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by jjnoakes on Friday July 22, 2016 @10:54AM (#12143883)
An external programmer would be connected to some black box though, right? I mean, how do you know the interface the programmer is writing through isn't compromised inside the CPU?

I'm not trying to be pedantic; I'm simply unsure that the original comment of "The best part of POWER8 is the ability to flash and verify the CPU firmware using a completely open toolchain." and "[For Intel and others] you can't ever be sure what is running on them internally."

How does one know that with POWER8 the same isn't true? Just because you think you can flash it "directly" doesn't seem good enough to warrant that statement.

(Disclaimer: I have connections to both processors; my opinion on which is "better" or "more open" or "less likely to be compromised" is not stated here, and should not be inferred from this discussion. I'm merely trying to point out that I don't think the original comment's assertion is backed up by the reasoning it presented)

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by Dylan16807 on Friday July 22, 2016 @03:47PM (#12146268)
> I mean, how do you know the interface the programmer is writing through isn't compromised inside the CPU?

Inside which part? I suppose if you're worried about compromises inside the casing, you need to take off the heat spreader and look for yourself.

Anything on-die falls under the custom fabrications exception.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by jjnoakes on Friday July 22, 2016 @04:00PM (#12146351)
Forget custom fabrication; how does one know the real, official fabrication isn't compromised? I mean, the original comment was comparing the openness of POWER8 to the closeness of other processors, using only the ability to flash it openly as evidence, but if one is worried about other processors delivering compromised processors, why isn't one also worried about POWER8 delivering a compromised processor?

I guess I don't understand how that's an argument to support "one can't ever be sure what is running on [the others] internally", unless you manufactured the processor yourself from the open design.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by ashitlerferad on Friday July 22, 2016 @02:28AM (#12142030)
Got a link to the source code of the POWER8 CPU firmware?
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by ajdlinux on Friday July 22, 2016 @03:21AM (#12142208)
https://github.com/open-power/skiboot (runtime firmware)

https://github.com/open-power/hostboot (initialisation firmware)

https://github.com/open-power/occ (on-chip controller firmware)

https://github.com/openbmc (BMC - currently in development!)

[Disclaimer: IBMer, opinions my own.]

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rdtsc on Thursday July 21, 2016 @10:44PM (#12141419)
> Once all threads are active, the IBM POWER8 core is able to outperform the Intel CPU by 41% (geomean average).

Nice! I see good multi-threaded performance. Can use regular memory in it as well. Also someone mentioned already I see but I understand POWER8 doesn't come with something equivalent to Intel Management (ME) -- the friendly backdoor inside your server <insert Intel Inside joke here>

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by edwintorok on Friday July 22, 2016 @03:16AM (#12142190)
Yes, that is why for the Talos workstation Power8 was chosen: https://www.raptorengineering.com/TALOS/prerelease.php https://www.raptorengineering.com/TALOS/prerelease_specs.php

"POWER is the only open, owner-controllable architecture that is competitive in performance."

If you are interested in using anything other than Intel ME/AMD PSP "backdoored" desktop, please register your interest, they will only build Talos if enough people want to order it.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by creshal on Friday July 22, 2016 @07:36AM (#12142946)
I would be interested, but even their minimal configuration is overkill for me. If there's a 50-70W quadcore option, sign me up.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by SixSigma on Friday July 22, 2016 @06:57AM (#12142814)
For anyone not familiar with ME, it has been around for a long time. It used to live on network cards and then migrated to the motherboard.

http://www.slideshare.net/codeblue_jp/igor-skochinsky-enpub

It has a built-in Java VM !

And a web server, controllable by HTTP and SOAP sitting on top

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by wmf on Friday July 22, 2016 @12:50AM (#12141760)
It has a BMC and On-Chip Controller (OCC), but the firmware for both is open source.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by ashitlerferad on Friday July 22, 2016 @02:28AM (#12142035)
Got a link for those?
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by edwintorok on Friday July 22, 2016 @03:23AM (#12142214)
There will be a talk about the (Open)BMC firmware: https://lcccna2016.sched.org/event/7JWX/openbmc-a-new-secure...

Edit: remove dup links

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by ajdlinux on Friday July 22, 2016 @05:28AM (#12142554)
Talk at linux.conf.au 2016 on the broader view of the OpenPOWER firmware stack: https://www.youtube.com/watch?v=a4XGvssR-ag
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by yuhong on Thursday July 21, 2016 @10:57PM (#12141459)
I think most of them have things like IPMI already anyway and admins often uses them.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by Annatar on Friday July 22, 2016 @08:26AM (#12143111)
$4,900 for a barebones system is still too high for a platform meant to compete with a PC tin bucket server, where 1U barebones start at $800, and a decent 32GB / 4TB server can be had for $1,800.

Next on the list, if I don't want to run Linux (and I don't) what other freeware choices do I have? As far as I know only beta versions of AIX were gratis, everything else had a hefty licensing fee. Those kinds of games don't fly in this day and age, hence anything that is not intel and freeware and open source has been relegated to dwindling sales, and close to non-existent market uptake. itanium, POWER, UltraSPARC - examples aplenty.

When will AIX, the volume manager, and the compilers become freeware / open source, or at the very least freeware?

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by IntelMiner on Friday July 22, 2016 @07:16PM (#12147453)
Do you have any specific preference for what operating system you'd want to run? Linux seems to be what most people are going to run on it, though the devices do also run AIX (according to Wikipedia)

Have you looked into the various BSD's to see if they support it (yet?) I used them a couple years ago on some old Apple PPC hardware I had clunking around as they ended up running circles around Linux in hardware support and stability

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by Annatar on Saturday July 23, 2016 @04:55AM (#12148867)
(Disclaimer: PPC Yellowdog Linux on PlayStation 3 used to be my primary development system.)

I'd prefer SmartOS, but that only works on intel, as PPC support was removed from the illumos kernel a long, long time ago. Nevertheless, reverting those changesets and getting it running again would be cool.

Next on the list, then, would be AIX, an operating system developed on POWER for POWER.

I also read that FreeBSD has some POWER support, but unlike AIX, it's nowhere near production quality material yet. FreeBSD would have been my next choice.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by wnoise on Friday July 22, 2016 @02:22PM (#12145575)
I believe FreeBSD also run on POWER8.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by zmanian on Thursday July 21, 2016 @10:02PM (#12141279)
IBM is pushing hyperledger / blockchain on Power8 pretty hard.

Given how much memory bandwidth is a bottleneck on updating the internal Merkle trees, Power8 might be good for tx throughput

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by jacques_chester on Friday July 22, 2016 @06:48AM (#12142787)
IBM are also providing hardware and engineering to get Cloud Foundry running on POWER8.

I work for Pivotal, we donate the majority of engineering on CF, but IBM is the next biggest contributor. They've started assigning engineers to work alongside multiple teams on porting to POWER8 and have started setting up test clusters as well.

Just this week I was in a remote tri-pairing session with an IBM engineer working on getting our buildpacks pipelines[0] running on POWER8.

I personally can't wait to see how it performs.

[0] https://github.com/cloudfoundry/buildpacks-ci

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by acz on Friday July 22, 2016 @05:42AM (#12142608)
But what is performance per buck?
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @03:48AM (#12142271)
I'm still waiting for cheap(ish) POWER8 development boards. Any news on that?
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by robin_reala on Friday July 22, 2016 @04:04AM (#12142308)
Depends how you define cheapish. Raptor are building a dev board, estimated price is $3700: https://www.raptorengineering.com/TALOS/prerelease.php
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @04:13AM (#12142336)
Somewhere in the $500-1000 range would be cheap enough that I could buy one and expense it.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by robin_reala on Friday July 22, 2016 @05:12AM (#12142508)
Their estimated price for the board without the CPU is $2700, indicating that they’re expecting a minimum price for $1000 for the CPU alone.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @06:20AM (#12142707)
IBM POWER CPUs are really expensive because their yields must be very small. However there are other sources of POWER CPUs. POWER CPUs aren't intrinsically expensive.

Freescale are one (eg. the e5500 - I can't keep up with whether that exact model was POWER7, but last I checked Freescale did a POWER7 CPU). These are much cheaper. But the problem with them is they are embedded CPUs (book E?), so they omit some instructions required to run server versions of Linux. Also IIRC they are all big endian, or at least had some problem running in LE mode.

Anyway to get to my point: unless there are affordable development boards for POWER, no one is going to spend much time porting software and fixing bugs for POWER.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by kartickv on Thursday July 21, 2016 @11:48PM (#12141597)
Does POWER have an advantage in price-performance ratio over Intel? When I say price, it's the TCO, including energy costs.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @06:32AM (#12142743)
My take on this is that if you need peak single thread performance and are willing to pay whatever that costs you should consider POWER. If you are at all sensitive about price, or if you can expend development effort parallelizing your work across lower performance cores, you should go with x86. They are different markets for different people.

I have access to POWER8 hardware through work and it really does scream. Forget benchmarks, it's noticeable at the command line. Which is nice, but I'm not paying for it.

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by cm3 on Friday July 22, 2016 @08:15AM (#12143072)
> Forget benchmarks, it's noticeable at the command line.

What do you mean exactly?

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @08:38AM (#12143156)
Well I compile libguestfs (http://libguestfs.org/) on POWER8 fairly regularly and the compilations just fly past. I haven't benchmarked it, and I'm not allowed to benchmark it because of the NDAs we sign, but it's obviously faster than the Intel machines we have. Because of the single-threaded parts of the build (eg. ./configure), these builds benefit much more than just having lots of cores - Amdahl's law and all that.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by robin_reala on Friday July 22, 2016 @04:05AM (#12142311)
Like the article says, it depends on your workload. With this machine and if you’re expecting idle time then no. If they’re under constant load, and given the right type of load, then yes.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by salutte on Friday July 22, 2016 @03:40AM (#12142255)
I would love to see the same benchmark with --march=native. I doubt AVX would be used without this flag on the Intel platform, and this might be also hindering the Power8.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by rwmj on Friday July 22, 2016 @03:46AM (#12142266)
FWIW RHEL 7.3 (ppc64le) will be compiled for POWER8 only. As I discovered the other day, binaries will randomly segfault if you try to run them on POWER7.
Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by ksec on Saturday July 23, 2016 @02:11AM (#12148564)
Assuming they are similar price, POWER8 is roughly 40% better, double the Idle power, 20% slower Single Thread Performance.

So... why would I want to buy that? I believe at 14nm, Google would likely make the switch as their scale is different. ( Any % of improvement is a lot in Google Scale )

Re:Assessing IBM's POWER8, Part 1: A Low Level Look at Littl... by sengork on Thursday July 21, 2016 @08:34PM (#12141019)
Summary: it's all about the bandwidth.