Slashdot Mirror


JPMorgan Rolls Out (Another) FPGA Supercomputer

An anonymous reader writes "JP Morgan is expanding its use of dataflow supercomputers to speed up more of its fixed income trading operations. Earlier this year, the bank revealed how it reduced the time it took to run an end-of-day risk calculation from eight hours down to just 238 seconds. The new dataflow supercomputer, where the computer chips are tailored to perform specific, bespoke tasks (as explained in this Wall Street Journal article) — will be equivalent to more than 12,000 conventional x86 cores, providing 128 Teraflops of performance."

39 of 210 comments (clear)

  1. All this.. by ackthpt · · Score: 4, Insightful

    So they can project how much money to borrow from the Federal Government the next time they have lent beyond sane limits to property speculators or invested in schemes even Mandelbrot wouldn't be able to simulate.

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:All this.. by fsckmnky · · Score: 2, Funny

      Let's hope the federal government regulators are paying attention this time.

      It would suck for them to be confused by the cool new computer and unable to seperate systemic or institutional risk from faster calculating devices.

    2. Re:All this.. by timeOday · · Score: 3, Interesting
      Look at it the other way, by rapidly exploring lots of different risk profiles, they're trying to avoid getting into trouble in the first place.

      Besides, the technology to rapidly reconfigure FPGAs for specific tasks could have a lot of applications. I guess the obvious question is whether the FPGA approach can win over mass-produced general purpose CPUs (the article says yes), and also over GPUs, which are increasingly general-purpose SIMD units.

    3. Re:All this.. by ackthpt · · Score: 5, Insightful

      Let's hope the federal government regulators are paying attention this time.

      It would suck for them to be confused by the cool new computer and unable to seperate systemic or institutional risk from faster calculating devices.

      Wishful thinking. Wall Street moves at the Speed of Light with all these computer trades now. Federal regulators need a super computer to keep an eye on JPMorgan, et al.

      "You were insolvent 23 times today, for a total of 3.77 seconds. Federal guidelines mandate not being insolvent more than 15 times per day, over 1.78 seconds."

      --

      A feeling of having made the same mistake before: Deja Foobar
    4. Re:All this.. by Omega+Hacker · · Score: 2

      they're trying to avoid getting into trouble in the first place.

      No, they're looking to avoid getting into the kind of trouble they a) comprehend and b) actually care about. It's all the other kinds of trouble that are wreaking havoc with this country and planet right now.

      --
      GStreamer - The only way to stream!
    5. Re:All this.. by iluvcapra · · Score: 5, Insightful

      "A sound banker, alas, is not one who foresees danger and avoids it, but one who, when he is ruined, is ruined in a conventional and orthodox way with his fellows, so that no-one can really blame him."

      --- John Maynard Keynes

      --
      Don't blame me, I voted for Baltar.
    6. Re:All this.. by Vaphell · · Score: 2, Insightful

      1. regulators are bought and paid for, besides they are not the brightest of the pack - if they were they would be farming gold on wallstreet themselves
      2. regulations are always looking backwards at the last crisis, never predict origins of the next one
      3. when everything is leveraged 30-50x there is nothing you can do to provide stability that is not make-believe
      4. you don't need fancy regulation to crack down on good ol' fraud, you just make it harder for small players to comply

    7. Re:All this.. by qualityassurancedept · · Score: 2

      I would guess they have a stake in some FPGA manufacturing process and this is just a way of bringing attention to it to trick investors into handing over their money... and anyway, since the easiest way to make money on wall street is to take it from other people who already have it, I would imagine that their calculations really just show them where other people are exposed to risk so that they can bet the other way or something. Whatever they are doing, it isn't fair, it probably isn't even legal and eventually the government is going to have to give them 1 trillion dollars to save us all from some apocalyptic starvation scheme based on the devaluation of the Euro or some ludicrous arcana in the mathematics of finance.

      --
      if your life is such a big joke then why should I care?
    8. Re:All this.. by saleenS281 · · Score: 2

      Read another way: It's not murder if they can't find a body.

    9. Re:All this.. by Beeftopia · · Score: 4, Insightful

      1. regulators are bought and paid for, besides they are not the brightest of the pack - if they were they would be farming gold on wallstreet themselves 2. regulations are always looking backwards at the last crisis, never predict origins of the next one 3. when everything is leveraged 30-50x there is nothing you can do to provide stability that is not make-believe 4. you don't need fancy regulation to crack down on good ol' fraud, you just make it harder for small players to comply

      When things are going great, no one wants to change ANYTHING, no matter how outrageous, for fear of upsetting the apple cart and ending the party.

      When things go bad, only then are people willing to change. Except of course, those still engaging in outrageous practices, as they are still making money.

      As far as regulators being dim, sometimes that's true, sometimes not. IMHO, the far greater problem is the muzzling and influencing of regulators by the industries they are tasked to regulate via the politicians owned by those industries.

    10. Re:All this.. by danhaas · · Score: 3, Insightful

      If you can't run a sanity check over what your computers are doing, you aren't an engineer or administrator. You are a message boy, slave to the computer and to who really understands what's going on.

    11. Re:All this.. by dave562 · · Score: 2

      They did not do the actual loans. They just packaged them up into mortgage backed securities that they (presumably) knew they were going to fail.

    12. Re:All this.. by microbox · · Score: 2

      Wrong, wrong, wrong.

      We used to believe in regulations, which is why the meat in your freezer is edible. See, it does work.

      But then the neoliberals moved in, and the Republicans were overtaken with faith-based economics, and now, regulations are the bane of everything good.

      Brooksley Borne was just one of many people who predicted the financial meltdown. She was shut down by people who really believed that regulations are bad.

      Regulatory capture is only part of the problem.

      --

      Like all pain, suffering is a signal that something isn't right
    13. Re:All this.. by ADRA · · Score: 2

      "4. you don't need fancy regulation to crack down on good ol' fraud, you just make it harder for small players to comply"

      It wouldn't help anyways if federal prosecutors don't actually do anything about it. The number of Sarbox related lawsuits as a result of the latest crisisis? I think its bordering on 0.

      --
      Bye!
    14. Re:All this.. by LoRdTAW · · Score: 2

      First off HDL vs. C or other HHL's is an apples to oranges comparison. There are ways to program an FPGA using C, but I believe it involves using soft CPU cores as a library of sort. You don't compile the C directly into an FPGA, but rather wrap a soft CPU core around it and then generate the HDL code. That or you just upload a soft cpu core and program that. I may be wrong but that is how it works from my understanding.

      Second, most users are not going to write an entire configurable computing HDL design from the ground up. Most likely you are going to have an FPGA on the CPU, motherboard or expansion card along with drivers and API's that are invisible to the user. There are already PowerPC cores on FPGA chips and Xilinx just launched Zynq, an FPGA with a dual core ARM and tons of I/O. Intel is also going to offer an Atom CPU with an FPGA in the same package.

      FPGA's can contain multiple "cores" that can be anything as long as they fit within the logic cell count of the FPGA. The architecture I envision is an endpoint block that interfaces the FPGA to the computer (PCI, Hyper transport, QPI, etc.) And a driver that talks to the device allowing for a common API, or at the very least raw communication. Then a configuration application allows you to download cores and then program the FPGA with the cores. Its all transparent to the user. Applications could take advantage of the FPGA directly by using a configuration API that automatically loads its own core(s) for data processing. So a video editing suite can load video codecs for en/transcoding, math programs could compile user algorithms directly into an array of parallel cores for fast processing (MatLAB already does this), audio programs can apply real-time effects through DSP cores in addition to encoding.

      FPGA's are logic chips that can do anything. They can Interface to just about any bus/device and tie them together. There are already plenty of PCIe cards with FPGA's, memory, I/O and even high speed multicore DSP's. People have added compact flash cards to Apple II's, hacked the original Xbox by using an fpga as a bus sniffer. Students have implemented the NES entirely in an FPGA, there is also an FPGA arcade emulator that emulates the actual arcade hardware instead of using software emulation.
      There are plenty of companies that offer INSANE FPGA platforms to build super computers, DSP farms and even emulation of complex hardware designs using FPGA farms. This tech is only going to get better and better.

      FPGA Porn:
      http://www.picocomputing.com/
      http://www.hitechglobal.com/
      http://nanobiowave.com/ATCA_FPGA_FARMS.aspx
      http://www.edaptability.com/home.htm
      http://enterpoint.co.uk/

      I have a few FPGA boards myself. A small Cyclone board from Knjn and a 1.2M gate Spartan 3E board from Digilent. Knjn also has what I believe is the cheapest PCI(e) cards, there is one based on a cheaper Lattice chip that is 99 bucks but Its tied to a crippling and expensive annual license. These vendors have great starter kits:
      http://www.digilentinc.com/ (sweet student discounts and great tools that are available for Linux. Their boards are targeted at education and research, lots of I/O interfaces and add on's called "pmods")
      http://www.knjn.com/ (Cheap easy to program boards but I think their documentation is lacking. They are however, very helpful when you email them. I believe its a relatively small mom and pop company)

      The Papilio is the Arduino of FPGA boards:
      http://papilio.cc/index.php?n=Papilio.Papilio

      Happy hardware hacking.

  2. 238 seconds is about 4 minutes by DRAGONWEEZEL · · Score: 5, Funny

    for all you people who don't really think in seconds when seconds is > 60.

    --
    How much is your data worth? Back it up now.
  3. too bad by Khashishi · · Score: 5, Insightful

    These banks aren't just siphoning money, they are also siphoning talent away from more important projects. The people working on these things could be brilliant physicists or engineers, if they weren't sucked into the dark side.

    1. Re:too bad by Nursie · · Score: 3, Insightful

      You think people that work on this stuff have anything in mind beyond personal enrichment?

      Believe me, I know a guy that does some of this stuff. His opinions are that corporate morals are unnecessary, that we can't and shouldn't seek to blame or look negatively on companies for seeking profit without regard to the social, environmental or other costs, and that open source is basically hippie communism.

      We used to argue about that sort of stuff quite a lot until I stopped speaking to him.

  4. Re:Just FPGAs by fsckmnky · · Score: 2

    This is not really news.

    Nope. OpenCL 1.2 was released recently. That's news.

    But it's certainly popular to blame banks with computers for everything. It's been happening for as long as I can remember.

    As a boy being forced to attend church, I remember sermons on the evil computer somewhere in a room, nicknamed "The Beast," calculating everything everyone did. Boy were those people wrong. Turns out the computer was named google. ;)

  5. Re:risk vs. electricity by viperidaenz · · Score: 4, Insightful

    using FPGA's instead of x86 would probably consume a significant amount less electricity. using manpower is good in terms of the many men being paid for their efforts instead or a few ceos just pocketing the money as extra bonuses

  6. FPGAs as coprocessors? by Targen · · Score: 4, Interesting

    This story got me thinking that many of the tasks routinely executed on personal computers (perhaps cryptography, video decoding, and such) may benefit from including a FPGA in PCs to serve as a programmable coprocessor. Much like graphics-intensive software can come with shader code to offload processing to the GPU, couldn't a video codec or an implementation of SSL or whatever come with code that would allow an FPGA to do part of the work?

    I googled around and found that at least CERN has done something of the sort, but that was over seven years ago. There was a story on Slashdot about something of this sort, but it's even older than the CERN publication. Is anyone working on this sort of idea? If not, why? Is it simply a matter of cost, or is there some other issue that makes this impractical?

    Maybe I just suck at googling...

    1. Re:FPGAs as coprocessors? by fsckmnky · · Score: 3, Interesting

      There are 2 companies that I am aware of, who's name temporarily escapes me ( perhaps I'll search and find them ) who are using FPGAs with hardwired hypertransport interfaces that plug directly into an Opteron mobo socket. Some of Crays recent models use the same approach.

      This gives the co-processor direct access to the entire system bus, memory, and the Opteron CPU installed in the primary socket.

      Last I read they were about $5k each. Perhaps the price has come down since.

    2. Re:FPGAs as coprocessors? by zill · · Score: 3, Insightful

      It's been envisioned, implemented, and commerialized a long time ago. You can buy a duel socket AMD board, and put in an AMD CPU in one socket and a FPGA co-processor in the other socket. That was 5 years ago.

      Quite a few supercomputers on top500 have the above mentioned configuration. JPMorgan is very late to the party.

      You're probably wondering why every desktop, laptop, and smartphone doesn't come with this wonderful technology already, and there are many many reasons for that:
      - FPGA programming is difficult, and it's a much rarer talent than software programming
      - The FPGA industry is currently a duopoly and combined that with the small market of FPGAs means that the price is too high for consumer electronics
      - Specialized functionality can always be more cheaply implemented in ASICs (cryptographic co-processors, new instructions in CPUs, H264 decoding ASICs)
      - The chicken and egg problem. Developers won't start hiring FPGA programmers en masse until there are enough machines out there with FPGA co-processors installed. And people won't start buying FPGA co-processors until their favorite program supported co-processor acceleration.

    3. Re:FPGAs as coprocessors? by Anonymous Coward · · Score: 2, Informative

      Actually, almost all FPGAs are SRAM-based and reconfigure (program) themselves every time they power on. The biggest problem is the compiler tools themselves (the Xilinx tools are pretty horrid all things considered).

      Will be interesting to see how long it takes them to move to GPUs. They aren't as flexible but the raw amount of computing power is much cheaper. Then again, we're talking about banks, heh

    4. Re:FPGAs as coprocessors? by The+Finn · · Score: 2

      Intel has supported socket-connected FPGAs for years now. A few vendors (including xtremedata and nallatech) offer(ed) FSB-attached FPGAs. Pactron (with Altera FPGAs) and Xilinx are offering QPI-attached FPGAs on the Nehalem/Westmere -EX platform and have announced support for Sandy Bridge.

      I work for Intel on these technologies.

      --
      NetBSD: the cathedral vs the bizzare.
  7. Kudos to the JPMC engineers! by msobkow · · Score: 4, Interesting

    I spent two great years working for J. P. Morgan Chase, starting in 1999, followed by a year with the merged JPMC, so I have some knowledge of how this new system will be used and how it fits into the business process of running a bank. I can't discuss details about that, but I just wanted to share my congratulations with the JPMC team for tackling that thorny issue.

    You have to understand that investments can't be made until those risk analyses are done, so cutting 7-8 hours off the run time will earn the company millions over the course of a year. We're talking about the kind of investment loans where even a 4-5 hour overnight "float" of capital to help someone seal a bigger deal can be worth a significant amount of interest and profit.

    Remember: the big investment banks are dealing with numbers that cause spreadsheets to overflow. You can't even visualize the data with standard desktop tools. You wouldn't believe the totals I saw come out of some reports, and I wish I could forget them. Such numbers are not meant for the grasp of mere humans living on a working wage.

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:Kudos to the JPMC engineers! by zill · · Score: 4, Funny

      Remember: the big investment banks are dealing with numbers that cause spreadsheets to overflow.

      Wow! They're using more than 65536 rows? Impressive!

  8. Let the looting begin! by Maltheus · · Score: 2

    Now JP Morgan can raid future MF Globals all that much faster, while hiding their shenanigans at the COMEX.

  9. Re:risk vs. electricity by NFN_NLN · · Score: 3, Interesting

    How much money are they spending in manpower, electricity and consumables by calculating risk? how about make a super computer to figure out how to solve the world debt.

    Everyone knows the answer to that question already. Learn to live with less resources for each person, or figure out how to have less people.

  10. Re:More Speeds Please by fsckmnky · · Score: 2

    ALU * clock is meaningless measure.

    Nowhere did I mention clock speeds. I mentioned TFlops. Any TFlop numbers from the manufacturers, are most likely, best case theoretical hardware performance numbers, based on ALU * clock.

    As for whether they are meaningful or meaningless, that depends on your point of view.

    If you are a kid playing video games that only cares about frame rates, then perhaps it is meaningless to you.

    If you are a developer looking at hardware, who can't yet benchmark the actual application, then it is as meaningful a measure as can be estimated.

    I don't know any competent developer or systems integrator who thinks they will get 100% of the manufacturers advertised performance out of anything once they execute their own software. Please feel free to downgrade the manufacturers stated performance to suit your personal situation.

  11. Re:Best use for this computer by A12m0v · · Score: 2

    It is a FPGA supercomputer, don't you need to reconfigure it first?

    --
    GENERATION 25: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
  12. Re:risk vs. electricity by tombeard · · Score: 3, Interesting

    More importantly, it makes it impossible for anyone to dispute their results. After all, no one else has exactly the same system so no one is better qualified to evaluate their conclusions. "No, we made the best possible choice at the time. You would know that if you had OUR analytic engine, but since you don't your speculations are baseless."

    --
    The reason we subjugate ourselves to law is to better procure justice. If law does not accomplish this purpose then it m
  13. Bitcoin Miner! by madhi19 · · Score: 2

    Let face it JP is doing some Bitcoin Mining on the side with this hardware! loll Off course that would be less of a scam that what they really do with it!

  14. Re:1999, before the first Synthetic CDO was sold? by msobkow · · Score: 3, Interesting

    *sigh*

    The problems the risk analysis team faced even in the 2000 era was such a tough nut to crack that they had to limit the complexity of the algorithms they used just because there wasn't hardware powerful enough.

    All the things you mentioned have only added to that complexity, making the calculations that much worse and that much more expensive.

    So instead of making me change my mind, you just made me realize how much more impressive their achievement was than I first thought.

    Spreadsheets back then did not have arbitrary precision decimal or integer values -- they used floating point. I have no idea whether newer spreadsheets have shifted to arbitrary precision values or not, but if they haven't the spreadsheets blow up.

    Remember: little companies like GE, GM, and Exxon are the kind of customers who have deposits with an investment bank. As a result, numbers like total deposits held blow floating point values out of the water by a significant margin. The amount of money floating around the world really does generate some stunning sequences of digits, they're almost magically long numbers like the nth digit of Pi. They just don't register as "billions" or "trillions" automatically, you have to count the digits and think a moment about what that number is supposed to be called. :D

    --
    I do not fail; I succeed at finding out what does not work.
  15. Garbage In, Garbage Out by slamb · · Score: 2

    What a waste. These banks can build the most impressive hardware in the world, perform calculations in the petaflops, and still have absolutely no clue what risk is involved in the business they're doing because their assumptions and data are all wrong. If by some freak accident they were to get the right answer, they would conceal it from their clients and investors anyway because their incentive is to take big risks - they get enormous rewards if they are right and lose little if they are wrong. They are incompetent and amoral, which is simply not a technical problem.

  16. Re:Debug? by fgodfrey · · Score: 2

    Typically, you write a testbench that can, in fact, printf() (sort of). Basically, you end up running a timing-level simulation of the FPGA, or sub-blocks thereof. You're really not developing a piece of software, you're developing a small ASIC. In any event, after you run timing simulations through your testbench where you put in known inputs and verify that you get the expected outputs, you're ready for anywhere from a few minutes to a few days (depending on the size of the FPGA) of compilation to get your code turned into a bitstream to program the device. Then you run the same inputs from the testbench and see if you get the same output. At this point, you hope that you remembered to build various debugging registers into your design so you can have a prayer of finding problems. You can also stop the clock and scan out the value of every register on the chip through something called JTAG. You can then import that back into your simulator to try to figure out what has gone wrong. Then restart at the "few days of compilation" stage.

    This is why so few people do reconfigurable computing....

    --
    Go Badgers! -- #include "std/disclaimer.h"
  17. That and Washington is too cozy with Wall Street by Shivetya · · Score: 2

    and they do their damn best to keep it quiet. Look at how quickly stories about Congress and their staffs using insider information was quashed. It went from being front page to gone in days, as if it didn't exist. Similar to how Fast and Furious vanished.

    We need an OKS, Occupy K-Street, Wall Street is fully enabled by Washington. They just pay their dues and Washington insiders reap the real rewards.

    --
    * Winners compare their achievements to their goals, losers compare theirs to that of others.
  18. Story misses details on Maxeler hardware by gentryx · · Score: 3, Informative

    Sadly, both stories lack details on how the FPGAs are used in the computing architecture. Instead the spend great lengths on listing telephone number like, meaningless speedup comparisons with conventional hardware. A typical drawback of FPGAs is that they cannot accommodate as many floating point units (FPUs) per chip as current GPUs and that FPGAs run at about 10x lower clock speeds. Their advantage however, is that the internal chip architecture can be reconfigured to match the algorithm, so that all FPUs run at maximum efficiency. At the end of the day, it really depends on the algorithm, whether it's run best on FPGAs, GPUs or standard CPUs. This is also the reason why one cannot say that an FPGA is X times faster than a GPU: it really depends on the algorithm.

    Maxeler, the manufacturer of the machine, had a booth at SC11. The basic component is the MAX3 card, a PCIe 2.0 8x card with up to 96 GB of DRAM on board. The boards are optimized for data stream processing. This is not unlike how GPUs are architectured.

    Up to 4 of those boards are located in a MaxNode, which can then be networked via 10Gbit Ethernet or InfiniBand. Multiple MaxNodes can be put into a MaxRack, which can also be seen in the WSJ article. The MAX3 boards can be connected via a custom MaxRing network, which provides a bandwidth of 8 GB/s.

    --
    Computer simulation made easy -- LibGeoDecomp
  19. Re:1999, before the first Synthetic CDO was sold? by Rich0 · · Score: 3, Insightful

    The problems the risk analysis team faced even in the 2000 era was such a tough nut to crack that they had to limit the complexity of the algorithms they used just because there wasn't hardware powerful enough.

    Look, the problem here is the black swan. You can't model a black swan unless you can simulate the entire world economy down to the last neuron in some farmer's brain in a rural Chinese village. Right now we can't model a single human brain let alone all of them.

    The world economy didn't melt down because some spreadsheet only calculated 12 decimal places when it should have calculated 325. It melted down because everybody decided to leverage themselves 100x on the bet that housing prices wouldn't ever go down, and they did. Now the world governments are starting to leverage themselves in small multiples on the bet that nobody would ever stop buying their bonds, mostly to bail out the bankers who bet on housing prices. I don't need arbitrary precision arithmetic to tell you where that is going to end up if it doesn't change FAST.