792 points · by georgelyon · 4y ago · 187 comments
There is no existing compulsion for missions to use HPSC. This is a technology development program seeking to meet the requirements of missions. It's great news they converged on an architecture!
As part of their development, HPSC folks will seek mission partners for tech demos. Then, missions will voluntarily (or with some light compulsion) adopt the technology based on the growing heritage and mission need.
RISC-V is a respectable enough architecture, but not better than recent POWER designs, equally open. NASA has an enormous amount of experience with POWER.
I suppose it comes down to what bidders are offering to build for them.
I've been following POWER at a distance, and while I'm sure the ISA itself is good enough, I'm not really convinced about the vitality of the ecosystem. The only place where serious money is being invested is in the high-end CPU's which IBM keeps developing enough to prevent their high-end captive customers from defecting. But at the lower end and embedded, it's crickets. Beyond some token efforts like the microwatt for FPGA's and an old supercomputer core design they open sourced, the whole OpenPOWER effort seems to be little more than a couple of guys producing the occasional powerpoint and press releases.
Momentary "vitality of the ecosystem" just seems like a poor basis to choose the underpinnings for decades of future work. But we seem to do that every time.
[1] The only people who have any incentive to invest in it going forward are those who already have significant investments in it.
It is easiest to pretend there is such a thing, because we are socially attuned for that. But it is not a technical observation, but a sociological one. And, that was my point.
We have maybe learned a few things about ISA design since POWER was cast. But we have also forgotten things. It is far from clear we are ahead. Most of what we learned feeds into stuff like vector units that have little to do with whatever they are bolted onto.
One example is the popcount instruction, omitted from the base RISC-V, and from all chips when last I checked. It has been added to every architecture ever mainstreamed, always at great expense, but it seems hard for ISA designers to contemplate. There is a special extension just for it so it could be put into a standard "profile" without importing the entire B thing.
Looking at the problem long term RISC-V makes more sense. RV has a lot of steam building behind it and we have really neat things like the Polarfire SoC and many more in the works. New tools, compilers and software support are being added every day (hell, there is a plan 9 Risc-v compiler already...) RV is the future from the look of things.
Power has an EoL set of chips from NXP which were former Freescale/Motorola designs and costly server chips from IBM. Arm ate their lunch in the embedded sector and Intel in the desktop/server sector. No one is looking to build new Power chips. No one is porting to Power unless its a Raptor Computing Talos workstation or IBM box, essentially an expensive toy or big iron, niche stuff.
https://www.gaisler.com/index.php/products/processors/noel-v
If I were designing an open source processing for a laptop or cell phone I'd use the POWER ISA. But for a space probe I'd certainly go with RISC-V.
Sure, you can license a fast POWER from IBM today.
But if you were to design your own, why would you ever pick POWER?
I'm currently using a dual-core 90 MHz processor that is relatively advanced and has good performance for many applications. It has error-correcting memories (SDRAM, cache, registers) and a lot of integrated peripherals (spacewire, serial, ethernet, 1553, CCSDS) that help reduce board complexity.
Next up in the pipeline is an 8-core 1 GHz monster: https://www.gaisler.com/index.php/products/components/gr765
While LEON isn't going away any time soon (especially given the recent release of the new LEON-5), I very much get the impression that the long-term plan is to replace it with RISC-V based solutions such as NOEL-V. Nobody can throw out working systems, but if you are starting something brand new, does it really make sense to base it on an ISA which the rest of the industry has essentially abandoned? Even its originator (or successor thereto) has basically walked away from it. Aerospace stuff is as expensive enough as it is already, getting stuck on a niche legacy ISA seems like a recipe to only make it even more expensive.
The NavSpark Mini is still $36 for a 6-pack, making it one of the cheapest uCs with a floating-point unit. (The ESP32 technically has one, but its performance is inexplicably poor.)
I'm not clear on whether SkyTraq's chips have all the error-correcting goodies that're in other LEON implementations; would those be baked in by default?
Worst price I can remember off hand was $15 grand USD for a radiation hardened microcontroller, pretty sure it was an Arduino mega family chip I could have gotten the industrial quality version of for $25 bucks from Digi-Key… if I didn’t want it radiation hardened.
I'm slightly surprised you could even buy a rad-hardened microcontroller, but maybe microcontrollers are considered simple enough that they are exempt?
Still good SiFive have convinced NASA otherwise, they must have a pretty strong verification story behind the scenes.
SpaceX is similar while they are very successful it also encourages competition in a space that really needed it and now there are so many other companies doing smaller launches that don’t make business sense to SpaceX.
The Cost-plus contracts have made them fat and lazy and somewhat remind me of that Bugs Bunny cartoon where the cats don't mind the mice emptying the fridge.
NASA is taking a small risk, but the rewards can, as SpaceX has demonstrated, be HUGE.
It's RISC-V itself that has a permissive license, allowing anyone to make an implementation open or closed source.
You're implying a degree of coordination which organizations the size of NASA just don't have. Artemis has had two scrubbed launches, they didn't put out this announcement to distract from it. I doubt someone went over to SiFive and said, "Hey, help us distract from the Artemis I launch problems and we'll give you a nice contract."
With its impending first launch, a lot of discussion is popping up again about it arguably being way too slow to develop, overly expensive, and not fit for the intended mission profile.
If the latter, that seems (to a layperson) quite exciting, since more local processing capabilities will hopefully lead to more efficient use of the very limited radio bandwidth these missions have available at such vast distances.
That seems to say it’s for a radiation-hardened design:
“In 2021, NASA solicited proposals for a trade study for an advanced radiation-hardened computing chip with the intention of selecting one vendor for development. This contract is part of NASA’s High-Performance Space Computing project”
They also say:
“The processor will enable spacecraft computers to perform calculations up to 100 times faster than today’s state-of-the-art space computers”
and
“Our current spaceflight computers were developed almost 30 years ago,”
That, for me, also points towards a radiation-hardened design. If it isn’t, 100 times faster than 30 years ago is an incredibly low hurdle to clear.
Also, it’s a $50 million firm-fixed-price contract. I have no idea whether that’s a sharp price for this, so can’t judge how much risk SiFive takes on with this.
It's physically impossible to produce RAD-hard semiconductors at the small scale we're currently producing high-end CPU's with.
I read this in an article somewhere but don't have the link.
In any case, I found this[2] article interesting and illuminating, which goes into different aspects of radiation hardening, including how the "old = safe" isn't strictly true.
"today’s state-of-the-art space computers" is not the same computer as "Our current spaceflight computers were developed almost 30 years ago".
this was developed for the HPSC program whose goal was to develop a replacement for the RAD750, and the "100 times performance" requirement is wrt that.
How hard would it be for SiFive to take one of their existing designs, which lacks those countermeasures, and add them?
https://www.nasa.gov/press-release/nasa-awards-next-generati...
https://www.electronicdesign.com/technologies/embedded-revol...
https://www.microchip.com/en-us/products/microcontrollers-an...
https://www.eenewseurope.com/en/microchip-to-develop-next-ge...
"NASA’s Jet Propulsion Laboratory has selected Microchip to develop the High-Performance Spaceflight Computing (HPSC) processor that will provide at least 100 times the computational capacity of current spaceflight computers for all types of future space missions, from planetary exploration to lunar and Mars surface missions.
The radiation hardened, fault tolerant processor will be based on 12 instantiations of the X280 RISC-V core from SiFive and will be used in a series of ruggedised radiation tolerant single board computers."
Microsemi (acquired by Microchip) has built RISC-V hardware in the past:
https://www.electronicdesign.com/technologies/iot/article/21...
0. https://www.microchip.com/en-us/about/news-releases/products...
The Perseverance rover uses the VxWorks real time OS from Wind River Systems and the same RAD750 PowerPC processor that NASA has been using for the last 20 years. The rover is designed to last and operate a long time.
The Ingenuity drone helicopter uses an off the shelf Qualcomm Snapdragon 801 and Linux. While NASA wants it to last a long time that was not part of its main design.
https://www.pcmag.com/news/linux-is-now-on-mars-thanks-to-na...
What?! I'd like to know more about this. Does it have GC? I just can't fathom that being the case...
[1] https://www.theverge.com/2022/8/18/23206110/james-webb-space...
[2] https://news.ycombinator.com/item?id=32519918
[3] https://www.jwst.nasa.gov/resources/ISIMmanuscript.pdf#page=...
It's far too easy with malloc/free to make errors such as replacing a pointer with a pointer to another object and forgetting to free the original, freeing something that is still referred to somewhere else and then the other place using it and corrupting any new object allocated in that space, or freeing something that has already been freed, again potentially corrupting a new object reusing that memory.
None of those is possible with GC.
The only problem GC is subject to is allocating more data than you have physical memory for, and that is equally as much a problem with malloc/free so GC is no worse for that error, and better for the others.
I imagine it is an interesting balancing act.
> If the latter, that seems (to a layperson) quite exciting, since more local processing capabilities will hopefully lead to more efficient use of the very limited radio bandwidth these missions have available at such vast distances.
Is that either/or, though? I could imagine building a probe with a radiation hardened central processor (or two), plus a non-radiation hardened "accelerator" CPU that's not considered mission critical. The "accelerator" could be tasked with things like pre-transmission data analysis/triage, and if it fails the mission could continue without feature (like Galileo continued without its high-gain antenna).
Though the value of that might be less than it seems at first look: New Horizons had literal years of time to transmit its data back to Earth.
Stuff on the outside to absorb? Different band gaps in the silicon?
Larger node, different substrate, shielding, and other things.
"Analysis of the Intel 386 and i486 microprocessors for the Space Station Freedom Data Management System" Yuan-Kwai Liu NASA May, 1991 RTOP 488-51-01 ISBN 9781729173374 https://www.libreriauniversitaria.it/analysis-intel-386-and-...
Also excited to see RISC V gaining some acceptance in space.
So I understand that RISC-V does not immediately impose licensing fees, but how does that translate into portability and speed of development? I'd think that tools and toolchains do not especially benefit from there not being licensing fees, and do benefit from somebody paying cool kernel/compiler hackers. Tools hardware designers use as well as the designs themselves will stay closed. What am I missing?
I hope NASA and others using RISC-V also take the opportunity, of a bit of a fresh start, to push for more of an open hardware platform around the CPUs (chipsets, devices, etc.).
https://www.nasa.gov/feature/goddard/2022/nasa-s-davinci-mis...
> “The probe will touch-down in the Alpha Regio mountains but is not required to operate once it lands, as all of the required science data will be taken before reaching the surface.” said Stephanie Getty, deputy principal investigator from Goddard. “If we survive the touchdown at about 25 miles per hour (12 meters/second), we could have up to 17-18 minutes of operations on the surface under ideal conditions.”
There will be a companion orbiter, as well, called VERITAS:
You can experience SiFive's product in the real world.
[1]: https://www.kickstarter.com/projects/starfive/visionfive-2
Antmicro also teased their low-density SoM board [2] last year, but I have not heard any news about that since, which is a shame because you could put a ton of those in a server rack.
[1]: https://www.cnx-software.com/2022/08/29/pine64-star64-sbc-st...
[2]: https://www.cnx-software.com/2021/04/30/antmicro-arvsom-offe...
From the article:
> The HPSC processor and X280 compute subsystem is expected to be useful to other government agencies in a variety of applications including industrial automation, edge computing, ratification intelligence, and aerospace applications.
I couldn't find a good answer online.
Thank you!
Event the venerable behemoth x86(_64) has a front-end which translates CISC instructions into RISC-like micro-ops.
The distinction is pretty meaningless today.
Ever since the RISC paper, every new architecture of any remaining significance today has been RISC. Today, it makes more sense than ever[0].
The only CISC that remains in large-scale use is x86, which I expect to finally be deprecated during this decade.
0. https://itnext.io/risc-vs-cisc-microprocessor-philosophy-in-...
Ok CISC ISAs are out of favor today, although I suspect as some of these RISC ISAs age, they'll accrete instructions. The ARM ISA sure is a lot chonkier than it used to be. Modern ARM CPUs have a massive micro-op cache just like x86 CPUs do. I wouldn't be surprised if we wake up one day and it's half way to x86.
In my opinion ISA isn't relevant or interesting. [1]
I echo the sentiments in this article:
> In short, there’s no meaningful difference between RISC/ARM and CISC/x86 as far as performance is concerned. What matters is keeping the core fed, and fed with the right data which puts focus on cache design, branch prediction, prefetching, and a variety of cool tricks like predicting whether a load can execute before a store to an unknown address.
So to your point that:
> Today, [RISC] makes more sense than ever.
I would respond, today, it makes less difference than ever.
What actually happens under the hood of a modern performance-optimized CPU is so far removed from the ISA that the ISA is just a design curiosity.
'RISC architecture' isn't going to 'change everything' - how it's implemented: advances in branch prediction, prefetching, etc - that's going to continue to iteratively improve processors. The number of instructions is truly not a factor of note.
Does it never matter? Probably sometimes. Once in a while in some very specific applications - like pico-amp scale microcontrollers - it might? But for anything you’re thinking of it’s super irrelevant.
[1] https://chipsandcheese.com/2021/07/13/arm-or-x86-isa-doesnt-...
https://github.com/riscv/riscv-isa-manual/releases/download/...
Plus recently ratified extensions:
https://wiki.riscv.org/display/HOME/Recently+Ratified+Extens...
I swear, this place's appetite for empty lowbrow armchair dismissal is very disappointing.
The ISA being open source means that if SiFive goes out of business or changes its product lineup, or starts to make buggy stuff, or charge too much ... no matter what happens, the customer is free to find another vendor to make software-compatible chips.
As we've found out with ARM this week, even if one company with ARM's highest and most expensive form of license, the Architecture License Agreement (ALA), makes a CPU design they are not allowed to transfer or sell that design to another company that also has an ALA without ARM's explicit permission. Or so ARM claims. Let's see what the courts decide about that.
Open ISA is huge. It may not mean open hardware on its own, but it sure as hell opens the door to open hardware in the future. I think there is a chinese CPU in development that is claiming to aim to be the linux of CPUs. Can't remember the name but they were at one of the risc-v conferences recently.
“Launch aborted, whenever we access the pressurization control we’re getting an ‘ISA not implemented in this version of the core’ error from the controller that arrived overnight. They must have received the wrong version of the chip and didn’t catch it in the test rig we gave them 6 years ago.” #roflmao