Hardware acceleration in the cloud hackaday storing electricity in water

Computers are great at a lot of things. However, general-purpose computers can benefit from help on certain tasks, which is why your video card and sound card both have their own specialized hardware to offload the CPU. If Accelize has its way, some of your hardware acceleration will be done in the cloud. Yes, we know. The cloud is the buzzword of the week and we are tired of hearing about it, too. However, this service is a particularly interesting way to add FPGA power to just about any network-connected CPU.

Currently, there are only four accelerators available, including a hardware-assisted random number generator, a GZIP accelerator, an engine for rapidly searching text, and a BMP to JPEG converter. The company claims, for example, that the search engine can find 2500 entries in the 60 GB Wikipedia archive in 6 minutes. They claim a traditional CPU would take over 16 days to do the same task. The BMP to JPEG converter can process faster than required to feed real-time HD video.

The cloud, in this case, is FPGA resources hosted in the Amazon cloud or in the OVH public cloud. They’ll clearly charge for the service at some point using a “coin” system. However, right now they are letting you sign up with nothing more than an e-mail address and crediting your account with 50,000 coins. Apparently, coins are 1,000 for one dollar.

Being hardware, there are certain limitations. For example, the search engine can’t handle more than 2,500 search terms and each word can’t be wider than 36 characters. That’s pretty generous, though. On the Amazon cloud, the search engine processes 145 MB/second and every 128 MB costs one coin. So for a dollar, you could process about 128 GB of data.

You need an API key to use the service. Presumably, that’s how they know where to deduct the coins. You can find examples of using each service on GitHub using Python. There’s nothing magic about Python, though if you don’t mind getting your hands dirty. The Python API offers simple calls to start the service and transfer files. But anything that can handle a REST API could use the service.

There are two interesting things about the Accelize offering. First, small computers like a Raspberry Pi stand the most to gain from acceleration like this. If it is worth paying for it is impossible to say without understanding the actual costs, but it is still interesting and could open up new possible applications.

The other interesting thing is that Accelize clearly means to create an “app store-like” environment. They are soliciting FPGA developers to create accelerators, make them available, and monetize them. In addition, they are building another store to provide IP cores that developers can use to build accelerators. For example, suppose you placed an FPGA “core” into the developer’s store (they call it QuickStore) to scale video. Someone developing an accelerator to do video can use this core. Users will use the accelerator which will cost a certain amount of coins. Some revenue will go to Accelize, some to the accelerator developer, and some to the video scaler developer.

If this were to take off, that could be a great way to monetize your FPGA skills. The only problem we see is the applicability of these FPGA accelerators. For example, one reason you might use an FPGA is to handle real-time processing. However, having the FPGA in the cloud necessitates a certain amount of overhead and uncertainty of timing and availability. If the overhead is small compared to the processing time, that’s a win. But clearly, there are some FPGA uses that aren’t going to be amenable to the cloud.

If you want to learn more about FPGAs as a prelude to getting rich by providing accelerator functions, you can start with our tutorial. By the way, we usually think of configuring FPGAs with Verilog, VHDL, or something similar. You can do that with the FPGAs in the accelerator, but you can also mix in C code, which isn’t unheard of. Posted in FPGA Tagged accelize, cloud, fpga Post navigation

Hmmm… Drop a disposable RTL-SDR dongle and ESPXXXX WiFi module connected to an open public hotspot (or a hijacked one) in an area of interest and walk away. It will vacuum-up all the raw I/Q data while sweeping the RF bands of interest and send it to Accelize in real time where it will sniff out the tasty stuff using accelerated DSP in FPGA, then send the results back to you. The problem is maintaining a chain of anonymity (if not security too) throughout the whole signal chain. Much depends on what anonymous options exist for signing-up and paying for the Accelize service (e.g., crypto-currency?) Of-course the need for anonymity and security in the signal chain is really not necessary if you are a responsible “White-Hat” doing the likes of a legitimate security audit.

Another application might be accelerating the post-production chain of raw hi-res video/image data from the field. Like a field survey team using drones to capture data. Rather than have the field survey team locally post-process the hi-res raw data (yeah, imaging sitting in a hotel room waiting hour after hour for that to finish), send the raw data back THROUGH Accelize which intelligently post processes it. Now nobody in the survey chain needs to have high-power computing hardware/software, and the field survey team can just dump data and move on quickly to the next location. The bottleneck in this approach is that you need bandwidth to send the raw data back to Accelize from the field, something that’s probably not possible in places where there is poor infrastructure. But for applications where the backhaul bandwidth from the field exists, this sounds like an interesting application. Especially when you figure-in the economics of a pay-as-you go service, and zero hardware ownership/upgrade/maintenance costs.

In the end, success of a service like this will depend on 1. proper documentation, 2. longevity, and 3. a Community which forms a self-support network. The likes of AWS is so-so good at this. Then there’s Google, who comes up with ideas like this, doesn’t document or support it, then cancels the service out of the blue like a four-year-old child that’s bored with a new toy.

I’ve always wondered about that. Who is making lucrative money? To make any headway against the cost of electricity and recoup the initial investment of the equipment you gotta be incredibly efficient. How many people are actually making serious profit from it?

I didn’t think anyone except major players had been mining lucrative amounts since the olden days when it didn’t take much power. Unless you have a huge amount of cheap hardware available to you and your own solar infrastructure that’s already paid off. Maybe I’m wrong. But I was under the impression the payout had been less than the electrical bill for a while now. I mean maybe they’re planning on mining and then sitting on it while it goes up in value, but if it costs the same why not save some time and effort and buy it directly?

Regardless, this tech isn’t going to be able to mine anything. You definitely wouldn’t be making more money mining than the service fees. Otherwise why wouldn’t the company with the hardware be mining for themselves instead of renting it to you? Doesn’t add up.