Live data from Hacker News

Developer Preview – EC2 Instances with Programmable Hardware

aws.amazon.com

171–180 of 212 posts

Re: Developer Preview – EC2 Instances with Programmable Hardware

#171

I'd be interested in practical use cases that come to your mind (like someone who commented about genomics data processing for a university). What could YOU use this for professionally? (I certainly always wanted to play around with an FPGA for fun...)

Monte Carlo sims for options pricing? I've done this before on FPGA, might have a go at doing it for this instance as a fun exercise to test the concept!

Re: Developer Preview – EC2 Instances with Programmable Hardware

#172
post #65

For complex designs the simulator that comes with the Vivado tools (Mentor's modelsim) is not going to cut it. I wonder if they are working on deals with Mentor (or competitors Cadence and Synopsys) to license their full-featured simulators. Even better, maybe Amazon (and others getting into this space like Intel and Microsoft) will put their weight behind an open source VHDL/Verilog simulator. A few exist but they a…

Nowadays, I don't believe you need a paid-for simulator like Questa, VCS, etc. I am developing verilog in my day job for FPGA's using icarus verilog (an open source simulator)which works fine for fairly large real world designs (I am also using cocotb for testing my code) and supports quite a lot of system verilog too.

Re: Developer Preview – EC2 Instances with Programmable Hardware

#173
post #2

If you don't click through to read about this: you can write an FPGA image in verilog/VHDL and upload it... and then run it. To me that seems like magic. HDK here: https://github.com/aws/aws-fpga (I work for AWS)

So it's tied to the PCIe bus - how do you interact with your FPGA once you programmed it - are there general drivers you can use, or do you also have to create a linux driver to talk to your FPGA ?

Xilinx provide software drivers and IP for PCIe DMA and memory mapped interfaces. These are fairly easy to integrate (probably not the best for latency though - I've developed my own but I require a specific use case - low latency but don't care about bandwidth).

Re: Developer Preview – EC2 Instances with Programmable Hardware

#175

I'd be interested in practical use cases that come to your mind (like someone who commented about genomics data processing for a university). What could YOU use this for professionally? (I certainly always wanted to play around with an FPGA for fun...)

Monte Carlo sims for options pricing? I've done this before on FPGA, might have a go at doing it for this instance as a fun exercise to test the concept!

Not sure if that makes sense with the offer that Amazon has. The machines are huge, so either you're pricing a huge amount of options at a very high speed (which you'd probably do in-house with FPGAs that you own), or you'll be much cheaper using a good machine locally. Never found MC sims to be a bottleneck regarding time, but YMMV I guess?

Re: Developer Preview – EC2 Instances with Programmable Hardware

#176
post #175

Earlier quoted context omitted.

Monte Carlo sims for options pricing? I've done this before on FPGA, might have a go at doing it for this instance as a fun exercise to test the concept!

Not sure if that makes sense with the offer that Amazon has. The machines are huge, so either you're pricing a huge amount of options at a very high speed (which you'd probably do in-house with FPGAs that you own), or you'll be much cheaper using a good machine locally. Never found MC sims to be a bottleneck regarding time, but YMMV I guess?

I've heard (although admittedly never seen in practice) that some places take a long time for this sort of things (running over a cluster of computers overnight). If you could do the same job on a single F1 instance in say an hour then I think that would be compelling! Bearing in mind that simple experiments I did showed an improvement of around 100x for this sort of task over a GPU.

Re: Developer Preview – EC2 Instances with Programmable Hardware

#177

Earlier quoted context omitted.

Any thoughts on why AWS/Xilinx didn't go for a mid-range FPGA to help validate customer requirements? My guess is that Amazon will have to be very careful not to price themselves out of the market, for mid-range Deep Learning based cloud apps. Wild guestimate but I think it'll cost more than $20/hr for each instance.

Based on my speculation, and to make a long analysis short: fewer, bigger FPGAs are better in the cloud from a user experience perspective than more, smaller FPGAs. The big applications are all going to consume as much FPGA fabric as they can (machine learning, data analysis, etc). Even "mid-range" Deep Learning will consume these FPGAs like candy. Non-deep learning will too; they can always just go more parallel and…

It would not be inconceivable that Amazon just buys Xilinx (before someone else does).

Re: Developer Preview – EC2 Instances with Programmable Hardware

#178
post #22

Quick Question: If anyone wants to learn programming an FPGA is learning C only way to go ? how hard is to learn and program in verilog/VHDL without electrical background ? If anyone suggests links or books, please do Thank You

I have a physics background but not an EE background. I found verilog pretty easy to grasp. VHDL took me a lot longer. To get some basic ideas I always recommend the book code by charles petzold: https://www.amazon.com/Code-Language-Computer-Hardware-Softw... It walks you through everything from the transistor to the operating system. (Apparently I need to add that I work for AWS on every message so yes I work for AW…

Thank you

Re: Developer Preview – EC2 Instances with Programmable Hardware

#179
post #68

Quick Question: If anyone wants to learn programming an FPGA is learning C only way to go ? how hard is to learn and program in verilog/VHDL without electrical background ? If anyone suggests links or books, please do Thank You

I would suggest Digital Design by Morris Mano[1]. It'll start off with basic intro from digital gates to FPGAs itself! And you really don't need any EE background for this book. This book starts from absolute basics and it'll also teach you Verilog along the way. And verilog is used more in the industry than VHDL(which more popular in Europe and in the US army for some reason). I'm surprised where you got the idea of…

I thought FPGA are programmed using low level languages like C

Re: Developer Preview – EC2 Instances with Programmable Hardware

#180
post #2

If you don't click through to read about this: you can write an FPGA image in verilog/VHDL and upload it... and then run it. To me that seems like magic. HDK here: https://github.com/aws/aws-fpga (I work for AWS)

This is so awesome, I can't even. I wrote arachne-pnr [0] to learn about FPGAs to get ready for this day. Just signed up, can't way to play with these! I hope the growing popularity of FPGAs for general-purpose computing will help push the vendors to open up bitstreams and invest in open-source design tools. [0] https://github.com/cseed/arachne-pnr

Wow Clifford is that you ? I hope this, exciting as it may be, won't make you leave open fpga efforts for the dark side (saw your talk last Fosdem, was very exciting)
Post reply on HN