6 ms·
Unbelievable. Yet again, we have a post on finding x86 alternative that's most FOSS friendly. Yet again, the author is unaware of or ignores the only architectu
by nickpsecurity 11y ago
Unbelievable. Yet again, we have a post on finding x86 alternative that's most FOSS friendly. Yet again, the author is unaware of or ignores the only architecture that's open, has GPL cores, and an ecosystem. That's SPARC. Oracle's T1 and T2 cores are open-source to study. More appropriately, Cobham-Gaisler's Leon3 HW is dual-licensed under GPL and commercial. The Leon4 is 4-cores. SPARC ISA is open. Open Firmware exists.
So, why is SPARC left off in all these analyses? It's right there ready to pick up and deploy. More open, easy to acquire, and trustworthy (far as licensing) than than a POWER chip although slower for sure.
- kabdib 11y agoIs SPARC unpopular because of its power consumption?
- nickpsecurity 11y agoThere used to be a lot of competition between several types of RISC machine and several x86 vendors. I know about the consolidations on x86 side. I'm not sure why SPARC lost favor versus others, though. I wasn't able to afford RISC workstations back when all that was happening. It would be nice for one of older folks to chime in on what made SPARC unpopular back then.
- rcarmo 11y agoIt was the cost/performance ratio, not of the CPU itself, but of the entire thing, including software. Sun sold highly performing, but extremely overpriced hardware that rode in on the hype it built around the architecture but failed to deliver on flexibility and bang for the buck. I was involved in launching an ISP where the whole shebang ran on Sun boxes, and which was over-dimensioned to the point where I once stepped into the data center and found a waist-high box full of E250/E450... Feet. The purple plastic ones you had to remove to rack mount the things. Two years later we'd shrunk down most of the whole thing (except the storage bits, where SPARC still had good performance) to a few racks of Compaq and Dell boxes that were vastly cheaper to maintain (both because they were cheaper, period, and because we didn't need to wrestle with Solaris and the compilers of the time to get stuff working on them). This was back in 1999 or so, and I never saw a SPARC system in production after 2005 (until a few months back when I visited a telco customer who still swears by them for a very specific purpose). I still have one of those plastic feet on my desk at home, as a reminder of the folly of buying single-vendor solutions. It sucks as a paperweight. :)
- nickpsecurity 11y agoThanks for the enlightening comment. That makes plenty of sense. It's part of the reason I didn't try to buy one: price/performance numbers just didn't make sense.
- kristoffer 11y agoI thought it was pretty bad as well ... But the SPARCs you mention have their drawbacks. LEON is not that competetive in the high end (in order single issue, low clock freq) and T1/T2 are only cores (i.e. without interesting "uncore" stuff) and not that good as general purpose "desktop like" CPU. I have much higher hopes for RISC-V, the community is really booming and the architecture is better than SPARC. I say this as a former Gaisler employee and SPARC proponent :-)
- nickpsecurity 11y ago"But the SPARCs you mention have their drawbacks. LEON is not that competetive in the high end (in order single issue, low clock freq) and T1/T2 are only cores (i.e. without interesting "uncore" stuff) and not that good as general purpose "desktop like" CPU." There's definitely drawbacks. I've just not even seen interest in embedded sector of FOSS for SPARC even with open cores. I wouldn't argue stuff like Leon4 in its current form is suitable for replacing a Core Duo or anything. Yet, that it's suitable for many apps but ignored for all apps by FOSS in favor of proprietary MCU's/CPU's might reveal a problem on their side. Far as RISC-V, the community is booming and I have high hopes for them. Maybe they'll make something. My recommendation was to create Pi-like board with RISC-V SOC by licensing Leon3 or Leon4, replacing SPARC components with RISC-V, and getting the rest w/out effort. I think we would anyway given it's designed for easy configuration/modification. In parallel, continue developing clean-slate replacements. Gives us a rich, interim product to use with full FOSS down the line. What you think of that idea?
- kristoffer 11y agoI agree that LEON is overlooked in the MCU market. Wrapping up one or multiple of the RISC-V cores in GRLIB is something I think would benefit both Gaisler and the RISC-V community and something I have thought of doing myself if I had the time!
- nickpsecurity 11y agoThat's about half the peer review I need on that given your background. Next I need a SPARC opponent with HW/SOC experience background giving same recommend haha. Might send it to some of the academics. Another part of my plan was to get academics to build and public domain the source/verilog/whatever so we can benefit from their cheap EDA licensing and shuttle runs. Pick bare minimum I.P. we need, like DDR or PCI, to get SOC's working. Slowly crank them out at many universities to eventually arrive at a platform with ASIC-proven components. Then, startups can just do integrations with whatever little part is custom for them. Much cheaper. Also, I think analog academics doing open, cell libraries would be a good idea at 350, 180, 90, 45, and 28nm. As money comes in, can just shrink from one tech to another using pre-existing I.P. or cells. People could probably use Qflow OSS ASIC flow with 350nm (maybe 180nm) without or w/ little commercial tooling. Always looking for HW people's review on these things. What you think?
- BrainInAJar 11y agoNot to mention that ARM's ABI is hidden behind a paid NDA. ARM is even less open than x86
- simcop2387 11y agoI'm not sure I know what you mean by ABI here? ABI in this case to me would mean Application Binary Interface, IE the C ABI that's defined by the platform and not the processor.
- gsnedders 11y agoA number of architectures have published standard ABIs. ARM, PowerPC, MIPS, Itanium are all in this category. In some cases these are explicitly embedded ABIs (sometimes EABI). For ARM, all major OSes I'm aware of use the ARM EABI2. (Note both the Linux kernel and gcc support other ABIs, so there is a real practical choice here.) For PowerPC, at least all the little-endian 64-bit work for POWER8 has been done targeting the standard ABI. (I have no memory of whether big-endian ABIs for PowerPC follow the standard.)
- vox_mollis 11y agoSo, why is SPARC left off in all these analyses? Guessing it's the entry-level price of US$39,821.00 for Oracle's smallest server?
- kristoffer 11y agoThen you are missing the point he is making. LEON is a GPL implementation of SPARCv8 which you can download and use in an FPGA, tape out your own ASIC or buy one of the existing SoCs built with it (might not be that easy...). In other words, more open than the alternatives listed.
- nickpsecurity 11y agoExactly. There's a ton of implementations ranging from free for FPGA's to S-ASIC's from eASIC to embedded CPU's from Gaisler to cloud servers from Oracle to mainframes from Fujitsu & Russia. One can also legally clean-slate a SPARC chip without legal fears. Unlike POWER, ARM, and MIPS. The ISA, its docs, a firmware standard... all of that already open. So, why is it not on the table for... anything in FOSS? Doesn't seem rational. Even a bit hypocritical given vendors like Gaisler and nonprofits like SPARC International have met FOSS halfway or almost wholly. Unlike the others that sue FOSS developers.
- CyberDildonics 11y agoThis makes me wonder why we don't see sparc chips in things like routers or other hardware that doesn't require lots of binary compatibility from 3rd party software.
- wolfgke 11y agoBecause ARM and MIPS chips are a lot more power-efficient.
- nickpsecurity 11y agoBecause the chip-makers and chip buyers are using ARM and MIPS in power-efficient SOC's. They could do the same with SPARC. They just didn't for whatever reasons. Far as power efficiency, kristoffer might be able to chime in as it's not in the data sheets for Gaisler. That's suspicious: either the numbers are bad or they leave it off given its meant for customization. Anyway, the Leon4... http://www.gaisler.com/index.php/products/processors/leon4?task=view&id=338 http://www.gaisler.com/index.php/products/processors/leon4?t... ...uses 30,000 gates per core. Same ballpark as ARM and MIPS. Power use should be similar or at least acceptable if comparing ARM, MIPS, and Leon on same ASIC process. They often do rad-hard given it makes it resistant to SEU errors. That takes plenty of extra circuitry. Numbers I have for those, the high end, are 15mW per 1Mhz for Leon3RadHard and for Leon4RadHardQuadCore max was 6watts per one slideshow. I'll take 6watts consumption in a router in exchange for quad-core, IOMMU-enabled, fault-tolerant, open CPU. What about you? Would 6 watts kill it for you?
- mordocai 11y agoI'd imagine people don't bother looking at an oracle technology and just assume it is closed or unsupported due to the ways they generally operate. That doesn't make it right to do this, but that'd be my guess. I certainly didn't know SPARC was open until your comment.
- jclulow 11y agoAs far as I know, Oracle has not made any SPARC intellectual property available since the acquisition of Sun. The T1 and T2 lines were emphatically Sun-era products.
- nickpsecurity 11y agoThey stay on Slashdot and in my news feed. Here's a few from Oracle and one from Fujitsu: Oracle T4 http://www.oracle.com/us/corporate/features/sparc-t4-announcement-494846.html http://www.oracle.com/us/corporate/features/sparc-t4-announc... Oracle M6 http://www.oracle.com/us/corporate/features/sparc-m6/index.html http://www.oracle.com/us/corporate/features/sparc-m6/index.h... Oracle M7 https://blogs.oracle.com/rajadurai/entry/sparc_m7_chip_32_cores https://blogs.oracle.com/rajadurai/entry/sparc_m7_chip_32_co... Fujitsu https://en.wikipedia.org/wiki/SPARC64_VI https://en.wikipedia.org/wiki/SPARC64_VI
- Symmetry 11y agoYes, new SPACE processors are coming out. The chips are being made available but the intellectual property isn't.
- nickpsecurity 11y agoThat's true. I'm also against buying Oracle's I.P. because they're too scheming and sue-happy. I'm listing those to show SPARC ISA has a series of implementations competitive with x86 on the high-end. It's actively developed and badass rather than dead. That's all.
- valarauca1 11y ago
- loeg 11y agoAll existing SPARC hardware is very old at this point and has horrible energy efficiency and poor performance compared to the other options, including POWER8 and ARM.
- nickpsecurity 11y agoThis is possible. I wonder how much of that is its design/I.P. and how much is what process node it's currently on? A port of proven I.P. with existing ecosystem to 28-65nm that ARM and RISC-V are using might fix a lot of that.
- LargoLasskhyfv 11y agoThere are even more implementations than the ones you mentioned. http://temlib.org/site/?page_id=14 http://temlib.org/site/?page_id=14 and then http://apple-core.info/outcomes.html http://apple-core.info/outcomes.html , schematic overview http://www.date-conference.com/files/file/date11/ubooth/157.pdf http://www.date-conference.com/files/file/date11/ubooth/157.... , necessary toolchain http://sp.utia.cz/index.php?ids=results&id=applecore http://sp.utia.cz/index.php?ids=results&id=applecore . Apart from that, i'm thinking something like OpenFirmware should be mandatory for every Vendor, because without MANDATING it, there is no incentive, to abstain from proprietary shit, which locks the customers to it. There is no escaping it. Except to quit.
- nickpsecurity 11y agoThose are pretty neat. Didn't know about the Apple many-core. Far as OpenFirmware, I think it should be mandatory along the lines of something like First Sale doctrine. If we bought a device, we should be able to control its use by law. We can't do that with software due to copyright. That implies an open, mandatory firmware available that lets us load our own software in.
- LargoLasskhyfv 11y agoI knew you'd like that. The temlib is impressive because of its completeness, though it seems like hobbyist thing, maybe useful for retrocomputing and software archaelogy ;) But this comment http://temlib.org/site/?p=567#comment-210 http://temlib.org/site/?p=567#comment-210 makes me realize that the design doesn't even fully utilize the almost EOLd Spartan-6 (a low end one, even in its heyday). Now imagine what could be done in something new? Combined with the Utleon3 implementation of the Microgrid concept from http://svp-home.org http://svp-home.org On something like this f.e. http://www.achronix.com/products.html http://www.achronix.com/products.html ? AFAIUI this would smell like Soft Machines VISC, only better, because FREE! PS: two more pdfs for you to digest wrt Soft Machines VISC http://dist.svp-home.org/doc/foundations-and-achievements-of-apple-core-20120125.pdf http://dist.svp-home.org/doc/foundations-and-achievements-of... http://dist.svp-home.org/doc/operating-systems-for-many-cores-20120125.pdf http://dist.svp-home.org/doc/operating-systems-for-many-core...
- CyberDildonics 11y agoTo be fair, Oracle winding up with the most open hardware is such an outlier it would be like checking if Stephen Hawking won the Boston marathon.
- nickpsecurity 11y agoLmao. Yeah, that would be ridiculous. Truth is more reasonable: https://news.ycombinator.com/item?id=11424195 https://news.ycombinator.com/item?id=11424195
- mtgx 11y agoBecause Oracle tends to be hostile towards anything open source? With such an attitude, why ever bother supporting their technologies?
- nickpsecurity 11y agoSPARC is owned by SPARC International, a non-profit. Its specs and everything are open: http://sparc.org/technical-documents/ http://sparc.org/technical-documents/ One embedded implementation with a ton of supporting I.P. is GPL'd, FPGA-proven, ASIC-proven, and rad-hard in some verisons: http://www.gaisler.com/index.php/downloads/leongrlib?task=view&id=156 http://www.gaisler.com/index.php/downloads/leongrlib?task=vi... And then there's Oracle, their badass chips, and their evil ass lawyers. We can stay away from all that. SPARC is better and safer than Oracle but very importantly SPARC != Oracle.
- Ericson2314 11y agoIs there are repository for this? Or do they still do the cathedral model?
- nickpsecurity 11y agoI'm pretty sure it's the catheral model. I'm not even sure that they're doing open-source with Leon4 onward as pretty much nothing happened with GPL'd Leon3 and GRLIB. Comp Sci people and companies doing rad-hard, space apps are still getting and building on it. Best way to deal with them is to straight-up license their tech for a Pi- or router-style board. Then fab, assemble, and sell that joker. That gets the ecosystem going. CompSci people doing CPU's or RISC-V work can keep building reusable components both can use. Then we just pay for the integrations.
- Ericson2314 11y agoI've done school-size CPUs with http://www.clash-lang.org/ http://www.clash-lang.org/ --- it would be fun to convert someone's "real-world" design into Haskell with it. 'Twould really show off that order of magnitude code size reduction :). I suppose cathedral vs bazaar doesn't affect that at all, but experience has ingrained in me "source tarball ==> won't easily build" biases.
- concernedctzn 11y agoWhat is more unbelievable is the Management Engine itself, not a nitpick about a platform being left out of the list of alternatives. It did not seem like he was creating a comprehensive list, just a first attempt.
- nickpsecurity 11y agoThe management engine is a result of a steady stream of changes, enhancements, proposals, etc going back probably a decade. There was demand from business and government sectors for easier repair/management, better security, and lock-in from software/media segments. Consumers largely were apathetic and stayed out of those discussions as usual. However, there was demand among some of them for cheaper repairs and better malware protection. Management Engine was one of results of all that. One could see it coming years in advance. Matter of fact, I fought solutions like that in favor of instrumented, robust coprocessors that did that. They could cost $20-30 more. They could even be in an embedded PCI card that also did I/O offloading, firewalls, and security monitoring with secure RTOS. Many extra benefits to justify extra $20-200 depending on form factor. Yet, people wanted dirt cheap, integrated solution. They got it...
- rsync 11y ago"Oracle's T1 and T2 cores are open-source to study." If you had to pick a Oracle (Sun?) T2 based system to purchase off of ebay, with the interest in using it as a "more free, more open" system, what would you buy ? What OS would you run on it ?
- nickpsecurity 11y agoI wouldn't. I'd use Gaisler's immediately because it's fully open and already FPGA qualified. I'd then buy a good FPGA board. Then I'd run it on there. It would probably run like a multi-core version of my old Pentium II. Yet, I programmed, hacked, gamed, and so on with it. Later, I'd put it on an eASIC Nextreme or actual ASIC if money came in for better performance, power, and unit pricing.
- CloudFlrFeedbck 11y agoWhich FPGA would you use? High-end FPGAs (and FPGA software) are very proprietary and locked down.
- rsync 11y ago"I'd use Gaisler's immediately because it's fully open and already FPGA qualified. I'd then buy a good FPGA board. Then I'd run it on there. It would probably run like a multi-core version of my old Pentium II." Sorry, let me clarify ... Pretend you have three kids. But at the same time you'd like to tinker with a fully open system from loader on up. Is there an old sun sparc that would make rms happy that I could buy on ebay ?
- Kadin 11y agoI think the last generation of SPARC-based workstations in wide production were the Ultra 45s. They were made until 2008, according to Wikipedia [1]. They sell for surprisingly high prices [2], for an almost-decade-old computer, on eBay. You could probably get an old Apple PowerPC-based system for considerably less than that, and a LibreBoot-compatible x86 system for even less, but they do exist if you wanted to play around with the architecture. And they do look pretty cool as well. [1]: https://en.wikipedia.org/wiki/Sun_Ultra_series https://en.wikipedia.org/wiki/Sun_Ultra_series [2]: See eBay item 121411279863, which is a Ultra 45 1x 1.6 GHz SPARC with 2GB RAM and 250GB HDD for almost $2k, asking price. Not sure if that's a realistic ask, but it's what they want for it.
- gravypod 11y agoI'm very into operating system development. Does anyone know if the SPARC architecture offers the same problems that other systems require? Some things like GDT, or lack of a hardware discovery that are anyoying. Anyone here worked with this?