Slashdot Mirror


Sun Niagara 2 CPU Now Open Source

downix writes "Late last night Sun Microsystems announced the immediate availability of the UltraSPARC T2, also known as the Niagara 2 CPU. While we all might not have a silicon fab in the basement, the access to this source code reaffirms Sun's commitment to open source, and in addition gives us FPGA-lovers something new to play with. The source code can be downloaded (with registration) from OpenSPARC.net. Already the previously open sourced T1 has spawned spin-off projects, such as the Simple RISC S1."

37 of 158 comments (clear)

  1. Home fabbing by QuantumG · · Score: 2, Interesting

    While we all might not have a silicon fab in the basement Does anyone? About how much would such a luxury cost?

    --
    How we know is more important than what we know.
    1. Re:Home fabbing by GwaihirBW · · Score: 4, Informative

      See the sibling post below parent . . . this figure is way low for modern processors. There's a reason that there aren't many upstart processor manufacturers. The fabs are expensive and require significant expertise to work out all the fiddly problems that tend to crop up when dealing with a 65 nm process.

      Take, for example, the recent $2.5 Billion Intel plant in China.

      --
      "There are four boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order." - Ed Howdershelt
    2. Re:Home fabbing by s_p_oneil · · Score: 2, Informative

      All you need are Shrinky Dinks, a printer, and a toaster oven. ;-)

      http://science.slashdot.org/article.pl?sid=07/12/04/1940203&threshold=-1

    3. Re:Home fabbing by tlhIngan · · Score: 5, Interesting

      http://en.wikipedia.org/wiki/Fab_(semiconductors) Wiki says over 1 billion, probably close, given the relative rarity of them even amongst commercial companies.


      A billion is low-end fabs. High end cutting edge or even near-cutting edge technology costs much more. Maybe a billion for "old-school" tech like 130nm.

      No, your best bet is to just pay the few million to have someone fab it for you - there are very few companies that have their own fabs and can do it inhouse (e.g., Intel, IBM, AMD, Freescale (Motorola), Samsung, Toshiba), at least, cutting edge fabs. Low end fabs can be had for cheap (1um and larger), which is great if you don't particularly care about density (e.g., Gemplus - those smartcards have HUGE silicon for 32k memory and not much more).

      Most companies are fabless. They contract out the fab work to places like TSMC (amongst others - they're all well known). These include even heavyweight giants like nVidia, Altera, Xilinx and such. The only real downside is that delays can happen if machinery breaks down, or everyone submits a fab order simultaneously that causes backups at the fab and thus delays shipments. The turnaround time (from tapeout to getting chips back) can be 3 months or more. Luckily, most people test their designs out on FPGAs first to work out their bugs before committing them to silicon. Even places like Intel use computer simulation, discrete circuits, FPGAs, and such before they fab it out to their own fabs just because of the turnaround time.

      Of course, what I want to know is what's the smallest FPGA one can put this on and still have something workable. (Where things like bus timings and memory clocks still in the realm of "practical" and "in spec").
    4. Re:Home fabbing by FrankSchwab · · Score: 3, Interesting

      Actually, the cost for one-offs is significantly lower than your estimate.
      By using a Shuttle run, where the fab batches together a bunch of designs and runs them through using a single mask set, you can get 20 or so instances of a 130 nm design for roughly $100K. Of course, this assumes that you've already done the layout and verification steps yourself...

      --
      And the worms ate into his brain.
    5. Re:Home fabbing by alienw · · Score: 2, Informative

      I'd say you can do significantly cheaper, at least for small die sizes. I have seen prices as low as $20k for 100+ chips (on a multiproject wafer). Of course, this pretty much depends on the process and on how long you can wait. And the chip layout/synthesis/verification software costs several hundred thousand bucks per year per seat.

  2. Openbsd by Anonymous Coward · · Score: 4, Insightful

    I can remember when the OpenBSD crew was having issues getting sparc specs. My how times have changed.

    1. Re:Openbsd by AKAImBatman · · Score: 4, Informative

      The Microprocessor's instruction set has been open for decades. It's all the hardware around the SPARC processor that OpenBSD had trouble getting info on. Sun used to make a huge number of hardware devices for which they provided no documentation on the internals. Of course, these days, most of it is pretty standard. But back then, hearing words like "SBUS" used to make people shudder.

  3. Re:Open Source friendly? by georgewilliamherbert · · Score: 4, Informative

    I wonder what they'd do if someone started selling processors based on the information they just released.

    The RTL code (Verilog) is GPLed:
    http://www.opensparc.net/faqs/licensing/

    Other people have built and are shipping product with the prior T1 version, the SimpleRISC folks:
    http://www.srisc.com/?s1

    The licensing pretty much says "Here, have it, have fun!"
  4. This is... by larpon · · Score: 5, Funny

    Sun Viagra 2 CPU... Ok.. I need glasses

    1. Re:This is... by Anonymous Coward · · Score: 5, Funny

      Sun Viagra 2 CPU... Ok.. I need glasses


      Sun should market it as such, after all, you never want your server to go down.
  5. Re:I just witnessed a minor miracle, I think by eulernet · · Score: 3, Funny

    Yes, and I read Viagra. It's time to go to bed !

  6. Re:When is Open Source actually news? by QuantumG · · Score: 5, Insightful

    Dude. There's people who have made derivative works mentioned in the summary. You can't even be bothered reading the summary before posting? Wow.

    --
    How we know is more important than what we know.
  7. Re:Relevance to Joe Consumer by forkazoo · · Score: 5, Insightful

    I kind of wonder what the relevance of the availability of the
    blueprint of a modern multithreaded special-purpose server
    CPU means to the average Joe.

    Probably not much, unless Joe has got an degree with a specialization
    in computer science or electrical engineering.


    The vast majority of (bachelors level) computer science degrees don't involve anywhere near enough focus on hardware issues for the "blueprint" of their CPU to be of any real use. The low level source of a CPU is of direct use to a vanishingly small subset of people. But, so is the source of the Linux kernel. I've never submitted a patch to the kernel. I wouldn't know where to start, frankly. And, I'm moderately qualified to do so, having done a fair amount of C, and a bit of embedded programming. I'm certainly more qualified to tinker with the kernel than I am with CPU source.

    But, that sort of isn't the point. The fact that you and I wouldn't know where to start with something like that doesn't change the fact that such people do exist. And, there are some people who can't do anything with it, but are really curious to know more about what it is, and this may be the spark that makes them decide to learn. You and I may get the result of one of those guys having access to this. so, even though my own project plans won't be influenced by the availablity, I do expect that you and I will be effected by it indirectly.
  8. Re:When is Open Source actually news? by JebusIsLord · · Score: 3, Informative

    It means some other (large) company can take the design, improve it, release a product based on it without paying huge fees, and then contribute their changes back to the public domain. So no, it doesn't help joe user, but it does help industry players save on R&D, which is still a good thing.

    --
    Jeremy
  9. FPGA Huggers by Doc+Ruby · · Score: 3, Interesting

    in addition gives us FPGA-lovers something new to play with

    How big an FPGA would be required to run this? Can you really download the configs and run it on an FPGA at a reasonable speed? Which Xilinx model?

    How about running Linux on that simulated Niagara2, like you can uCLinux on a Microblaze? The exciting part would be replacing parts of the OS, like the TCP/IP stack, with "HW" configs for really high performance, customized per app. None of your processes use some dozen instructions? Drop their microcode in favor of a faster multiplier...
    --

    --
    make install -not war

  10. Re:When is Open Source actually news? by ChrisA90278 · · Score: 2, Insightful

    don't understand you need a fab to do anything with this,

    Not quite.... One can burn this into an FPGA. I don't know how fast it would run but if the goal is to study and experiment with processor design then an FPGA is the tool. The purpose ere is to allow people to study and modify the CPU

    Wikipeadia of course has some info
    http://en.wikipedia.org/wiki/Field-programmable_gate_array

  11. Re:What about patents? by downix · · Score: 2, Informative

    Only if said company did not pay for the license. Incidentally, the basic SPARC license is $100.

    --
    Karma Whoring for Fun and Profit.
  12. Re:21st century business plan by pimpimpim · · Score: 2, Insightful

    I do wonder how Sun is going to make money the next century. They're trying new stuff, like opening up all their sources (java, solaris), but the money doesn't seem to be flowing back from these actions yet. Don't get me wrong, I think this might end up being really good for them selling the CPU in other devices, but I also think Sun makes pretty good products, and one of the last alternatives to the X86s, (for a huge price) and it would be sad if they went down.

    --
    molmod.com - computing tips from a molecular modeling
  13. Re:Is the hardware any good though? by _merlin · · Score: 4, Informative

    It's basically a multi-core barrel processor - it switches threads on every cycle (similar to the old Cray and CDC gear). This gives it time to fetch data while other threads are being serviced to reduce the likelihood of cache misses. This makes it ideal for highly parallel workloads, like web application servers and multi-user database servers. But the workload needs to be highly parallel for it to perform: a quad core Niagara needs at least sixteen threads to be fully utilised. It has weak floating point, too, since web application and database workloads don't usually depend heavily on this. It's pretty much useless for a typical desktop or workstation workload.

  14. Re:Is the hardware any good though? by downix · · Score: 2, Informative

    In my experience, in a single threaded task, an AMD or Intel of the same spec will blow it away. Crank up the threads, and something remarkable happens. The AMD/Intel stays running the same speed, this thing speeds up. Run 4 threads simultaneously, and this thing is running circles around similar spec'd AMD/Intel, and doing it in a lot less silicon, which means theoretically a lower price. Think of it as a marathon runner vs a sprinter. In short term races, the sprinter comes out on top. In a long distance (heavy load) race, the marathon runner comes out on top.

    --
    Karma Whoring for Fun and Profit.
  15. Re:Is the hardware any good though? by jd · · Score: 2, Interesting
    Then I guess one area that open source hardware nerds can work on is to rework the FPU to be faster. If people can load the files into an FPGA and get comparable results on maths-heavy software to a full hardware implementation of the T2 as it stands, I would imagine the scientific computing folk would go for the FPGA solution as it would be cheaper so they could build more nodes for the same amount of money.

    Sun is a lot of things, some unprintable, but stupid isn't one of them. If it can be shown that a T2 with stronger maths will sell better than the T2 as-is, then you will see a T2 with stronger maths in very short order.

    There are other things Sun could include in the processor. I am, to this day, a devoted fan of direct CPU-to-CPU channels for multi-processor systems. Inmos' Transputer let you build hypercubes of processors as large as you liked without scaling issues. Xyron's ZOTS also seems an interesting technology, even if nobody uses it at this time. The potential wishlist of things that could be added without wrecking the design is large. Given that the core is GPLed, it would seem to make sense to experiment with some of those ideas. See what would actually work in practice, with the possibility that some vendor (not necessarily Sun) will chase the idea and turn it into a reality.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  16. Re:Too bad... by downix · · Score: 2, Interesting

    Well, that "too complex" windowing capability is one of the reasons why the Niagra core can run 4 threads simultaneously. It has 4 windows, and swaps them automatically, enabling a deeper pipeline without breaking the ISA. So, the compiler sees ALU's rather than 1.

    In addition, I rolled my own 32-bit SPARC once with only 2 register windows, with the compiler did not control. What you had was a "program" window and an "interrupt" window. So when interrupts happened, rather than having to save the register state before dealing with it, you immediately switched windows and bam, have a completely clean slate of registers to work with.

    --
    Karma Whoring for Fun and Profit.
  17. Re:21st century business plan by dupup · · Score: 5, Informative
    I do wonder how Sun is going to make money the next century.

    Disclosure: I work for Sun in their software division. This is not secret information, but Sun plans on making money in the next century by selling hardware. Lots and lots of hardware. Why buy it from Sun when you can get it cheaper from elsewhere? That's the other part of Sun's super secret master plan: support contracts. Business do tend to buy from Sun if they have already done so. Maybe it's just easier, maybe it makes the original decision to buy from Sun look better, I don't know. But Sun still sells $billions in hardware each year. The software revenues are a whole lot less.

  18. Re:Is the hardware any good though? by EvanED · · Score: 3, Informative

    Then I guess one area that open source hardware nerds can work on is to rework the FPU to be faster.

    It's not so much that the FPU is slow as, at least on the T1 (Niagra 1), there was only one of them for the whole chip. The applications the Niagra targets don't really need FPU power (how much FP work does /.'s webserver do?), and Sun is fairly close to production of the Rock, a processor that in some sense is similar to the Niagra but will also have much heavier FP capabilities. (In a development that is pretty exciting for the architecture people down the hall, the Rock will be the first commercial system supporting transactional memory.)

  19. Re:Open Source friendly? by QuantumG · · Score: 5, Insightful

    I'd love to know where people like you get this kind of insight from.. Sun is an open source company.. they always have been. They were doing open source before "the revolution" even happened. They're more than "at ease" with it, they have some of the oldest living open source hackers on payroll.

    As for this whole "oh noes!! Linux might takeover from Solaris!!" crap, why do people continue to ascribe the Microsoft world view - everything and everyone is a competitor - to other companies? Sun and IBM and every other normal company (read: not a monopoly) has one business strategy: give the customer what they want. If the customer wants Linux, Sun will sell them Linux. If the customer wants Solaris, Sun will sell them Solaris. If the customer wants Intel or AMD or SPARC, Sun will sell them that. IBM will also sell you Linux or Aix or Intel or AMD or SPARC.. if you want to pay them for that, that's what you'll get. It's only Microsoft who seems to think they can dictate the solutions to the customers instead of the other way around.

    --
    How we know is more important than what we know.
  20. OSFPPC!! by syousef · · Score: 2, Funny

    While we all might not have a silicon fab in the basement

    You don't? How tragic. I'm afraid you'll have to hand in your geek card. In the meantime I wonder if the OLPC guys would consider a OSFPPC (One Silicon Fab Plant Per Child) program.

    --
    These posts express my own personal views, not those of my employer
  21. Re:21st century business plan by jcnnghm · · Score: 4, Interesting

    Hardware. I transitioned all of my company's servers to Sun (when they started selling x86 servers) over the last few years, and I couldn't be happier. The equipment is more expensive, but it is also of a superior quality and features real enterprise management features. Opening up Solaris had a lot to do with my initial decision, and I wouldn't be surprised if we don't transition to the T2 in the future. Since all of our servers are virtualized anyway, it isn't really a bad idea to move lots of small servers to a few big servers, and this open architecture will undoubtedly give some experts the opportunity to publish very in depth analysis of the chips.

    --
    You don't make the poor richer by making the rich poorer. - Winston Churchill
  22. Re:Is it really released? I can't find a link by mako1138 · · Score: 4, Informative

    Yeah, it's there.

    http://www.opensparc.net/opensparc-t2/downloads.html

    Be warned, the 233MB file decompresses to about 1.5 GB.

  23. All right... by sootman · · Score: 4, Funny

    who's the considerate jerk who tagged this story 'thanks'? We don't work that way here at Slashdot, buddy. When a company does something like this, you're supposed to tag it 'whocares' or 'toolittletoolate' or something equally dismissive. Damn noobs...

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
  24. Re:Relevance to Joe Consumer by NovaX · · Score: 3, Insightful

    While software folks may not understand the hardware world, its quite sad that hardware folks rarely understand the software side as well. One of the most challenging jobs, which gets little attention, is software-hardware codesign. Those applications, like Cadence VLSI suite, are quite challenging as they require EE expertise to implement features while software mastery to develop the product. This results in very advanced, but also very cryptic, software stacks.

    I don't think open source hardware is too interesting or valuable, but I really hope software developers will feel comfortable enough to begin reading through HDL code just like they do their favorite open source project. Verilog/VHDL are both fairly old languages, though capable of doing some absolutely amazing tasks (I was in awe the first time I compiled my VHDL chip into a VLSI layout). It would be a really great to see language gurus apply the same innovative spirit towards modernizing HDL languages as they currently do in trying out different techniques in software languages (Haskell, Erlang, etc).

    --

    "Open Source?" - Press any key to continue
  25. Re:Is the hardware any good though? by dr2chase · · Score: 4, Interesting

    (disclaimer, I work for Sun, but I manage to be completely clueless about many things, including the official names of Sun's products)

    Niagara 1, had one FPU per chip. Niagara 2, has more than one.

    The way you pose it -- doesn't perform unless you can find the parallelism -- is not the right way. Some clever person found a market where there was parallelism, and that turns the problem around. "Given that I have all this work to do, what's the throughput per watt?" Niagara wins there. And it happened that those people, or a lot of them, didn't have a burning need for floating point.

    Or to use a lame car analogy, a schoolbus is no good unless you can find 32 kids to haul, whereas a minicooper is cool and zippy with only two. But if you regularly have 32 kids to haul, and some people do, you want a schoolbus, and a minicooper is not very efficient.

  26. Re:Someone try to synthesize it!! by wik · · Score: 2, Insightful

    The statistics the T1 are available here:

    http://fpga.sunsource.net/

    The most recent release of the T1 code has a few options for removing functionality (dropping to 1 core and 1 thread) such that it will fit on some of the larger available FPGAs.

    --
    / \
    \ / ASCII ribbon campaign for peace
    x
    / \
  27. Re:FPGA lovers by nahpets77 · · Score: 2, Interesting

    You may not be able to use them at home, but most university labs have expensive FPGAs lying around collecting dust. This is good news for people doing research at universities, where they often like to tinker with the hardware to try out new ideas.

  28. Re:Is the hardware any good though? by afidel · · Score: 3, Informative

    On the T2 there is one FPU per core, the new FPU's are also accessed in 6 cycles vs the 40 of the T1 and the full ISA is done in hardware (some rare media instructions were emulated in the T1 FPU). The biggest win for the typical customer though is the enhanced crypto performance, now you can do SSL at the rate that the T1 could do normal HTTP.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  29. Re:Relevance to Joe Consumer by nebosuke · · Score: 2, Insightful

    Not really. All serious competitors in demo competitions know the ISA and performance characteristics of the target architecture very well, but that is nowhere near knowing the hardware 'inside and out'. It's the difference between being very familiar with the API vs. the actual code implementing a library.

  30. Sun is the new Bell Labs by teknopurge · · Score: 3, Interesting

    I've had this position for about 2 years now.

    IMO, Sun is one of the only companies left innovating.

    -Google is just rehashing old ideas.(Gmail? come on....I had webmail 10 years ago.)
    -Oracle(eh... RDBMS v45.2 anyone?)
    -IBM(If I see one more pointless black-and-white commercial about "ideas" I'm going to scream. IBM should listen to their marketing department and instead of telling us to "Stop thinking, start doing" they should create something that isn't AIX)

    And, I will be the lone voice and dare to say that Microsoft, yes them, has a few teams that are starting to 'get it'. Apple is doing a great job with human-computer interaction.

    Show me new, for I am tired of your old.