16 ms·
Is it time for open processors?
- debatem1 9y agoPast time, but progress on the riscv front is amazing. If prototype-scale fab got cheaper I expect we'd see a wave of parts focused on security and auditablity in short order.
- sddfd 9y agoIf one kind of RISC-V chips would become the go-to CPU for small smart appliances, demand could rise enough for a fab to pick up mass production.
- debatem1 9y agoThe problem isn't that you can't fab for mass production, it's that development costs are very high to get there. Working on an fpga only gets you so far.
- mickronome 9y agoI was under the impression that for process nodes you would reasonably use for small smart appliances the fab cost is too high, and certainly not high enough that nobody would pick up the tab if the gadget makers would start to require open IP for their IoT / smart appliance offerings. There are, and have been a few CPU/MCU upstarts that have actually done shorter runs of silicon, and while they are usually quite well funded, the numbers doesn't seem to be prohibitive at all. If the need was there for it NOW, fabbing something with existing open ip is quite likely to be 'free money' (or free market share), as the semiconductor industry appears to be entrenched with ip licensing so much that I sincerely doubt that they would be quick to follow suit. If only because any open offering from them would be seen as detrimental to market dominance, and lower the value of ip cross licensing deals. Unfortunately I don't think the market need is there, and won't be for quite some time. I would love to be wrong though.
- debatem1 9y agoNot sure I follow. Shuttle service costs for small runs of silicon are, for most people in most situations, tens of thousands of dollars at a minimum. My argument is that if the price dropped to the point where it was competitive with FPGAs at prototype scale (eg, 10 parts might cost $1000 but not $10000) then you would see parts on the market built that way quite quickly. I think the proof for that is the number of low volume commercial parts (HSMs, LTE base stations, etc) which carry FPGAs today. Seems the market has already spoken?
- mar77i 9y agoFriend of mine went to Hong Kong (from Europe) to work on exactly this: http://libresilicon.com/ http://libresilicon.com/
- amelius 9y agoWhat is the approach? Are they starting a new fab? Or will they simply lower costs by batching multiple projects together?
- mar77i 9y agoThey work on their collection of processes to produce these things, as to basically have non-proprietary way to produce chips from scratch. The other thing I know is that the guy at least has been involved in other layers of production, namely generation and validation of circuitry. The website I posted links a few pdfs for more info.
- itchyouch 9y agoI think the challenge will ultimately be the scale and price at which open processors would be available at for the target market. It isn't just a processor, but will potentially need a motherboard, chipset, and various hardware configurations depending on the customer. There would need to be significant player buying these processors to make them viable for some smaller entities to be able to piggy back and purchase as well.
- cm2187 9y agoIf we see further fragmentation of cpu architectures it's not going to be fun for users and developers. Already the fragmentation of OS makes that cross platform is a big challenge. It would make the equivalent of a .net/java/webassembly/posix critical.
- earenndil 9y agoPerhaps the solution is some form of interoperability across processors. Where they primarily run one ISA but have a dynamic converter that can based on some flag interpret memory as code from a different ISA? As chip fabbers and ISAs compete eventually a clear winner emerges and these compatibility layers are mere curiosities just like 16-bit mode on modern x86 CPUs. Except wait, maybe this is just my cynicism talking, but I have a feeling intel has the resources to just plough forward with x86 and prevent any competition from gaining a foothold in the markets where they hold dominance (laptop, desktop, server). ARM continues to dominate mobile and perhaps some small portion of servers. POWER and SPARC stay in their little niches. Perhaps RISC-V makes its way into a couple of embedded appliances. And that's it, for the foreseeable future.
- weego 9y agoInterop relies on a single standard as a benchmark and history tells us that people are incapable of being content with a standard that isn't exactly how they imagined it and would rather fragment and live and die on their own hill than play nice.
- mcny 9y agoI'm just amazed how we have two clipboards when I use Linux. Like we can't decide something so stupidly simple.
- andrew3726 9y agoWell, that's been fixed with Wayland, right?
- therealmarv 9y agoOpen does not mean better. This is not how our world works. Would be nice to have but I assume every Intel chip I can buy (even with the throtteling) will be more powerful and cheaper than any open processors. There is also much more than only architecture this thing (this works in software but not in hardware)... this would only work if a big player like AMD or Intel jumps on this ship (but it would be like giving away intellectual property).
- mcny 9y ago> but it would be like giving away intellectual property Not necessarily if it is a "viral" license like gplv3 agpl, no?
- DarqWebster 9y agoIf one only considers power / speed and cost, then open will certainly mean worse. However a processor with verifiable functionality has value. It's more trustworthy. It can be checked for accidental, or deliberate, security flaws. In many scenarios, I don't care how fast a processor is, if it's leaking data then it's worthless.
- therealmarv 9y agoFor me this is an extreme view. If your security demands are that high I'm sure you will find even nowadays CPUs which are in that level of "trustworthyness" you want. One funny example: You can use a Raspberry Pi which is not affected by Meltdown or Spectre ;) https://www.raspberrypi.org/blog/why-raspberry-pi-isnt-vulnerable-to-spectre-or-meltdown/ https://www.raspberrypi.org/blog/why-raspberry-pi-isnt-vulne...
- detaro 9y ago> For me this is an extreme view. Agreed, but for critical applications it might be appropriate. > If your security demands are that high I'm sure you will find even nowadays CPUs which are in that level of "trustworthyness" you want. One funny example: You can use a Raspberry Pi which is not affected by Meltdown or Spectre ;) Having the level of verificability the parent asks for is a lot more than "not affected by Spectre", and the Raspberry Pi is not very open in that regard.
- StreamBright 9y agoI don't see how an open processor would any better than a closed one.
- duncan_bayne 9y agoIn many of the same ways that open software is usually better than closed software. In particular, greater scrutiny of specifications and microcode ought to lead to better quality outcomes. This whole debate feels eerily similar to the emergence of open source software into the public eye, back in the 90s.
- pjmlp 9y ago> In particular, greater scrutiny of specifications and microcode ought to lead to better quality outcomes. Which given the CVE entries per day isn't necessarily true, in spite of pull requests being reviewed.
- duncan_bayne 9y agoNo - open source is a specific case of the general rule that there is no such thing as a silver bullet :) But it does make possible a bunch of superior workflows that are impossible with proprietary software, and makes certain types of failure common to propriety software much harder.
- pjmlp 9y agoI am yet to see any open source project subjected to the same high quality workflows as commercial propriety software targeted for high integrity computing deployment. Could you provide an example?
- duncan_bayne 9y agoDoes this qualify? http://www.xtratum.org/files/xm_rtlw09.pdf http://www.xtratum.org/files/xm_rtlw09.pdf
- dschuetz 9y agoOf course it is! What is this question? No, man, not yet. Everyone has a thing just for the closed ones. Instead of asking "Is it time...?" you just do it when it's time! Damn those click baits. Although, open as in OpenSSL made a bad name for open source, because without critical audits there is even less security in open, because then it might be wide open instead! In open source, when a thing is made and it works for the most, nobody freakin cares anymore!
- jasonkostempski 9y ago"What is this question?" They're not asking if it would be nice to have, they're asking if it can be economically feasible now. If there isn't going to be a very large use case for open but inferior processors, a lot of money will be lost by anyone investing. That isn't a problem with software.
- slivym 9y agoThere are just so many issues with this it's almost laughable to be honest. Firstly, let's assume you basically need a big company to opensource their existing IP because opensource is no where near where Intel is today. So let's look at the obvious choice: Intel has traditionally perceived itself to be a manufacturing company. It tries to produce as many chip widgets as possible and producing CPUs or SSDs or network chips is just their way of finding ways to sell their widgets. The core of their business is fabrication. Now, the only companies they let use their foundries to produce other chips are almost exclusively companies that they end up buying (I'm looking at you Altera). By open sourcing their CPU designs they are practically guaranteeing that some of the chips they produce today would be produced by Samsung and TSMC. Try explaining to their share holders that you're giving away the crown jewels, damaging the core of the business and hoping for what....? Secondly, taping out a chip is hundreds of thousands of dollars. Even if you did opensource everything, the only people who could actually produce the chip would be huge corporations, and the process of taping out isn't "Let's save it to a floppy and send it off". All of the tape out process requires proprietary tools from the fab, which are only available to the serious customers. So your source might be open but no one outside the company would be able to actually read them. And this is non-trivial, TSMC consider their tools to be a core part of the IP that differentiates them, they'll never release them under anything but a very strict contract to a client. Finally, one of the key benefits to opensource is that you can fix something yourself, you can contribute and change things. Well not in hardware. The best you can manage is to fix the problem in the next $X00k production run. Laying all that aside: No one has actually described what benefits Open Source software has over closed source that we're trying to map to hardware? To me a key benefit of Open Source is that we don't depend on corporations as gatekeepers to fix things, well that isn't solved in hardware open source.
- relate 9y agoCould't they open source the design/implementation without a permissive licence? I.e. everyone could audit, but nobody could use it commercially.
- quadrangle 9y agoThat would be non-free / non-open to be clear. A copyleft license is non-permissive but is still free/open. Just want to be clear, since some people mistakenly think things like that commercial use requires permissive licensing.
- B-Con 9y agoThe problem is less about openness itself and more about quality of auditing. Open isn't a magic bullet. As I understand, these latest CPU vulnerabilities were in the spec themselves. You could've found them by reading the manual. See what good that did us. But I posit that open projects do better with audits than closed because they are more likely to have open audits as well, and an open audit is harder to ignore or sweep under the rug if it's inconvenient to business.
- dspillett 9y ago> Open isn't a magic bullet. > more about quality of auditing. Exactly. Being open makes things easier to audit, and to an extent encourages better due diligence (as embarrassments due to silly mistakes or, worse, attempted cover-ups, are more public!), but it doesn't enforce this in any way nor does it guarantee quality or completeness.
- freedomben 9y agoFortunately as we saw from the OpenSSL debacle a while back, often deep corporate pockets (like Google) will step up and audit/patch these projects. Being open is obviously a pre-requisite for that to happen.
- mar77i 9y agoThe point here should be about responsibility. When I screw up something that I picked up from "out in the open", eg. my server deployments, it more technically makes it my own fault. I am therefore more inclined to study an open circuit design because if it fails on me, I'm only left with myself to blame. ...and if I in fact identify any shortcomings, I can help others not to get hit by them, which makes the concept of openness "safer" in a way that is the sum of collective knowledge.
- mar77i 9y agoI just noticed my argument has analogies to Eric S. Raymond's argument about the cathedral and the bazaar. I'd actually love to see a bazaar on the cpu side of things, be it just for the sake of what community efforts can achieve as opposed to the current mostly proprietary ecosystem.
- quantummkv 9y agoOpen Processors is a very bad idea. Look at what's happening to Android. The same thing will happen with CPU's. Every OEM will fork the open design and put all of their stupidity inside it in the name of features and security. Bugs like Spectre and Meltdown will become commonplace. The entire time of kernel devs will be spent working around the various 'features' of the OEM designs. Then someone will come up with a JVM and docker for the CPU and lead to another round of madness. There is no harm in having alternate architectures. But putting everything up on GitHub is a recipe for disaster.
- Lxr 9y agoWhy doesn’t this happen with linux, in your opinion? Is it the license?
- beojan 9y agoIt happens with Windows. It has nothing to do with openness, it happens with all OEMs.
- B-Con 9y agoLinux proper, ie the kernel, allows things like modules and has a powerful userspace. Most purposes are met by taking vanilla Linux and dropping some modules and userspace applications on it. You don't have to do a hard fork of the code. But if you're talking about distros (or some vauge distro-like prepackaged blob of Linux + userspace), it does happen. There are a lot of specialized Linux distros out there, and they aren't all on long-term support with security backporting.
- quantummkv 9y agoThis does happen in Linux till some extent. Look at wayland for example. Broken on nvidia hardware because nvidia favors its own implementation. The reason why this does not happen with Linux kernel is because Redhat and Canonical go to great lengths to backport kernel patches, which by proxy affect all the distos based on them. Also because Linux desktop is not big enough for OEM's of the majority of PC users to care about. Android is a flavour of linux that went big. The fact that OEM's can clone the kernel and put their own drivers into it without being forced to update is what causes the most grief in Android world.
- 0xFFC 9y agoIt is a little bit unrelated, but I am really eager to know HN opinion about SystemC. What do you guys think about SystemC?
- randomerr 9y agoI would love to play with a RISC-V unit. But like one they linked too it was limited on memory and very expensive compared to other modern Aurdino compatible boards.
- jasonkostempski 9y agoIf you're really just looking to have fun and learn, $60 is nothing. You can burn through that at Dave & Busters in 15 minutes playing games. They also say it's the "fastest Arduino-Compatible dev kit" but I don't know enough about the space to know how accurate that is.
- adinobro 9y agoWe already have some. I know the Arduino CPU is open source (slow) and there are open source MIPS CPUs but again they are slower than ARM and X86 CPUs. The problem is people don't want slow CPUs.
- detaro 9y ago> I know the Arduino CPU is open source It's not. The board layout of the Arduino boards is open-source, as is the software around them, but the microcontroller on them is not.
- jlebrech 9y agowith open you could have mainboard with one single chip and you then pop in a SOC that matches the IO you have. open also means making the software that creates the chips design open too, otherwise you'll just get leapfrogged by closed designs. This could overcome being a few generations behind on fab tech, just have the exact silicon you need. you could also design open mainboard design with multiple zif sockets, this would be very flexible, and maybe futureproof.
- lnsru 9y agoHardware is whole completely domain as software. Sadly one cannot throw a hardware bug fix to github and expect mass adoption next day. Hardware cycles are way longer and the associated cost (take alone mask set!) is too high. How many users would be capable of reviewing these millions lines verilog code? Integrated circuit openess is an utopia.
- zaxomi 9y agoMaybe it is time to rethink how computers are built? For example, that the kernel is running on a dedicated cpu, with dedicated cache and memory.
- meuk 9y agoI agree, the single, superfast CPU model is outdated. It's a shame that multiprocessor programming is hard (or is it? It might also just be a vicious circle: 'not many people do MPP because the facilities suck because not many people do MPP').
- gaius 9y agoLook at the way the Amiga did it. The CPU was effectively a peripheral for the system controller known as Agnus. https://en.m.wikipedia.org/wiki/MOS_Technology_Agnus https://en.m.wikipedia.org/wiki/MOS_Technology_Agnus
- walkingolof 9y agoThats what the north/southbridge does, off-loading the CPU from all sorts of tasks (even if some of the tasks moved into the CPU die since the classic definition of north/southbridge was set)
- jcranmer 9y agoI could right now give you a CPU with a 100,000 ALUs on it. Your CPU with ~4 ALUs is probably going to beat it in performance, because you can easily keep all of your ALUs constantly fed with data, but I'm going to struggle to keep all 100,000 ALUs fed. We have some idea of how to do massively-parallel programming. That is, after all, what a supercomputer is. But one of the things we've found is that communication doesn't scale. For very low core counts, you can hook up each core to talk to every other one at the same latency--basically, O(N)-degree topology. For slightly higher core counts, you can keep it a hypercube, which is O(lg N) degree. But when you start thinking about a few hundred cores, you end up with a mesh, which is O(1)-degree. What that means is you struggle to scale problems that have very high communication costs compared to computation. Matrix multiplication is wonderful--you're doing O(N^1.5) computations for each data, so communication goes down as size goes up [1]. But a BFS graph traversal is horrible, because your communication costs go up if average degree is more than O(1). [1] This is why the TOP500 benchmark is to some degree bullshit. It's measuring performance on applications that are fundamentally computation-bound, not communication bound, so it tends to penalize machines that focus on improving communication bandwidth, which is often helpful for many HPC applications.
- walkingolof 9y agoIMO the problem is on the software side, if software was built to harness a distributed architecture the CPU companies job would be much easier, so more could do it, which would increase competition and drive price cuts.
- tombert 9y agoI know that there are probably a billion technical hurdles for this, but in my perfect universe, CPUs would all be FPGA based; at that point, couldn't updates be almost as simple as a software update? I know that laws of physics kind of preclude this idea, but a guy can dream.
- tachyonbeam 9y agoMain problem I see is that FPGAs themselves are currently not at all open hardware, and they are subject to vulnerabilities and backdoors too.
- skummetmaelk 9y agoThen you can increase the power consumption of all electronics by 50+% and halve the processing power. And that is optimistic.
- vanderZwan 9y agoSincere question: how much of that is inherent to FPGA systems, and how much of that is due to them being a niche technology used in contexts where there power consumption is not a big issue, meaning that there has not been a significant drive to reduce power consumption? I mean, it's not like the other types of electronics are inherently energy-efficient either: before it affected battery life people didn't care that much about energy-efficient CPU's. The current drive for more computation per Watt is largely driven by the explosion in mobile hardware.
- kec 9y agoIt's inherent to how FPGAs work. Logic blocks are necessary but are kind of a heavyweight solution to emulate normal logic (and they'll result in a ton of extra silicon driving leakage up). Perf/Watt has always been interesting as well, It's a major concern for data centers (worse perf/Watt requires more cooling which drives costs up).
- tombert 9y agoYeah, hence my "laws of physics" thing at the end. I am just saying that it would be interesting if that was something reasonable to do.
- ntoll 9y agoThe http://www.lowrisc.org/ http://www.lowrisc.org/ project are doing this as a SoC (disclosure: one of the founders is a buddy). Risc-V based and fully open source.
- laythea 9y agoAre you kidding? How many undocumented processor instructions and undocumented processor operating systems do what with your data. Imagine a world with transparent CPUs and you are imagining a world without mass data collection.
- robert_muench 9y agoWell, the idea is about 20 years old: https://web.archive.org/web/19991128065121/http://openip.org:80/oc/index.html https://web.archive.org/web/19991128065121/http://openip.org... However, CPUs are that complex these days and require a lot of equipment around it to be produced. The way is IMO much harder to open IP than to open Source.
- ece 9y agoSomebody needs to take the risks of designing, making, and selling a RISC-V processor/chipset and associated peripherals. Frankly, someone like a Broadcom, who has the expertise, and wants a royalty free rpi, might just work fine. I can't immediately imagine anyone else big enough doing it without upsetting the market too much. Sure, an open foundation could do it if they raised enough cash, but it seems unlikely. Having the backing of industry/academia/hobbyists is no small feat, and I hope RISC-V can keep pushing further into the consumer market.
- agumonkey 9y agoas someone mentions in the comments, parallella founder made a paper about the process of bringing open fpga to the market https://lwn.net/Articles/743716/ https://lwn.net/Articles/743716/ direct link https://www.parallella.org/wp-content/uploads/2017/01/hipeac_lessons.pdf https://www.parallella.org/wp-content/uploads/2017/01/hipeac...
- d--b 9y agoRemember heartbleed... While open cpu is a great idea, it's hard to say that an open cpu would have avoided the meltdown or spectre problem. The meltdown/spectre vulnerability was there not because people didn't pay attention, it's because nobody thought of these optimization features as potential vulnerabilities. And honestly it's hard to blame anyone, these were really smart hacks!
- allemagne 9y agoThe article does mention this: >Finally, even if we end up with entirely open processors, that will not bring an end to vulnerabilities at that level ... Open hardware may give us more confidence in the long term that we can retain control of our systems, but it is certainly not a magic wand that will wave our problems away. The author is arguing more from a freedom/control perspective from what I understand. When it comes to these kinds of vulnerabilities, an open CPU might be easier to patch or easier to disable the affected components of. Apart from that, maybe crowd-sourcing and open-sourcing the eventual fix is faster or better than a private org. That doesn't necessarily seem like something the author is saying, but it seems like a reasonable factor to consider. I can see arguments either way that I'm not really qualified to defend.
- NedIsakoff 9y agoWhat about your network device? Your I/O device?
- thinkloop 9y agoAnother important piece is being able to verify that the manufactured hardware meets the open specs they claim to (and wasn't tampered with, or contain errors). Something like an md5 check for hardware. With open software you can read the code, compile it and run it << zero trust. With hardware you can read the spec, but must trust the implementation.
- andyidsinga 9y agore "solution to the hardware problem" in post: a glance at opencores.org shows some interesting prospects under the processors and system on chip categories. ex. - https://opencores.org/project,rv01_riscv_core https://opencores.org/project,rv01_riscv_core - https://opencores.org/project,riscv_vhdl https://opencores.org/project,riscv_vhdl
- gravypod 9y agoI'm interested in the possibility of eventually having FPGA-driven systems where you can load up an ISA and use that. Imagine if every week you could expect an ISA architecture update that came with a power usage or speed improvement.
- ladberg 9y agoThe problem is that no FPGA-driven system will come close to beating out a modern CPU, so people will have very little incentive to actually use it because it will probably be more expensive and definitely slower.
- gravypod 9y agoThe same thing could be said for any new open CPU. It would be slow and expensive. Unlike a normal CPU though your FPGA-system could be programmed to run your main CPU, PCIe Bus, USB Bus, video card, etc and it could be updated to add features and run faster.
- HwdSlle 9y agoperhaps to process the information it is necessary to visualize the phantom environment where all information is transmitted in order to manage and construct as part of the processing the so-called reverse engineering; understanding the electricity and visualizing the magnetism and diverse waves and its interactivities; in order to detect as to the example of a bird landing on the high voltage wires and how the properties of the particles can be read as well as stored in plants etc. and how the materials are properly constructed in order to distort the assimilation necessary to start the machine ; and then destroy the school logic as to algebra titles etc, in which it is part after the experiments to start organizing circuit logic; maybe something about the quality of the electricity by improving the components including rust and dusting etc. perhaps thus by sealing the components in the process of initializing the machine to verify the veracity of the circuits; some degree of upgradeable serial number in order to connect other parts, perhaps identifying a first problem of logic; - and perhaps the idealization of unique components like the Raspberry system-board? where volatile parts is taken as user Hard-Disk content being the logic of software? so better focusing on the complexity required than the ultra-fast Quantum Computer processor? can be produced at higher levels for virtual realities; [?] Just Guess;