lucasjkr (OP)
|
|
May 30, 2013, 11:11:53 PM |
|
A friend of mine just provided me with an LX9 FPGA Board. No cost to myself. Is this thing worth mining with? I read in one place that a Spartan 6 could be expected to generate 100 MH/s, but read somewhere else than that's for a beefier board, and that an LX9 might only generate 3 or 5 MH per second?
Anyone have a clue about this?
|
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 02, 2013, 04:00:26 PM Last edit: June 02, 2013, 04:32:10 PM by BitcoinFX |
|
These are mostly useless for Bitcoin mining now. However, I'm actually working on a project for a USB FPGA miner for scrypt based coins. I'm using one of these Xilinx® Spartan®-6 FPGA LX9 MicroBoards: http://www.xilinx.com/products/boards-and-kits/AES-S6MB-LX9.htmwith 2 added PmodSF2 - Serial PCM, 128 Mbit: http://digilentinc.com/Products/Detail.cfm?NavPath=2,401,840&Prod=PMOD-SF2This is a personal project atm and I'm having to design / build software to get these working fully to try and overcome the difficulties of scrypt mining being very memory intensive. If / when I can get these hashing scrypt properly then I may offer them for sale with the software as custom built scrypt mining kits. Running 4 sticks with an Rpi might present an opportunity for ROI vs electricity usage and purchase costs etc. However, to get these hashing scrypt at a reasonable and stable throughput, the way that I've currently found to improve performance requires around 4GB+ of free RAM on the host machine for one FPGA (and around 2GB+ for each additional FPGA). I'll have more info. / updates after doing much more testing in my free time over the coming weeks / months. This might well just end up being another fun project though.
|
|
|
|
lucasjkr (OP)
|
|
June 03, 2013, 01:00:43 AM |
|
Yes, that's the unit i have.
Any idea of what the hashing rate will be under scrypt? Trying to figure out if i should just give it back or if there's any point to me (a non-programmer) having one of these?
|
|
|
|
J35st3r
|
|
June 03, 2013, 05:35:16 PM |
|
Any idea of what the hashing rate will be under scrypt? Trying to figure out if i should just give it back or if there's any point to me (a non-programmer) having one of these?
Its going to be pathetic, even if he gets it to work at all! You need memory (lots of it) for scrypt, and there is no way of attaching any to that little usb board, so it will rely on the host over the usb connection. Its going to be slower than CPU mining. It will do bitcoin mining though (at about 5MHash/sec using the standard fpgaminer code), so it will earn you a couple of USD cents a day, less the electricity cost for running your host computer, so that's a money sink by my reckoning, even if you hosted it off something low-powered like a raspberry pi (which will need some custom software coded for the usb interface as the xilinx toolset certainly won't run on it). My advice, send it back and get a proper miner (not one of those ASIC pre-order scams though, you'll never get your money back by the time you eventually take delivery). Just my 2c BTC
|
1Jest66T6Jw1gSVpvYpYLXR6qgnch6QYU1 NumberOfTheBeast ... go on, give it a try
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 04, 2013, 04:41:39 PM |
|
Any idea of what the hashing rate will be under scrypt? Trying to figure out if i should just give it back or if there's any point to me (a non-programmer) having one of these?
Its going to be pathetic, even if he gets it to work at all! You need memory (lots of it) for scrypt, and there is no way of attaching any to that little usb board, so it will rely on the host over the usb connection. Its going to be slower than CPU mining. It will do bitcoin mining though (at about 5MHash/sec using the standard fpgaminer code), so it will earn you a couple of USD cents a day, less the electricity cost for running your host computer, so that's a money sink by my reckoning, even if you hosted it off something low-powered like a raspberry pi (which will need some custom software coded for the usb interface as the xilinx toolset certainly won't run on it). My advice, send it back and get a proper miner (not one of those ASIC pre-order scams though, you'll never get your money back by the time you eventually take delivery). Just my 2c BTCYep. All 100% correct and the speeds are going to be pretty lame indeed. You will get much better hashing speeds with good multi core CPU's and even a low-to-mid range (much cheaper) ATI 5xxx card for the price. I'm mostly doing this for the fun of it, as I already have this board and it makes of an interesting add-on project for a PC that's hashing to the max. with it's CPU's and GPU's already. I'm looking to do something with all that free system RAM. Knowing what might be possible and having experience with these FPGA's and developing code for scrypt mining will be applicable to better / faster FPGA boards in the future. Hopefully that explains why I'm even bothering with this.
|
|
|
|
xh4
Newbie
Offline
Activity: 12
Merit: 0
|
|
June 04, 2013, 10:42:02 PM |
|
I think you may run into some bottleneck issues because of SPI, but if the hashrate is low enough it might not matter...
|
|
|
|
|
J35st3r
|
|
June 05, 2013, 09:38:12 AM |
|
Ah, sorry, I missed the bit about the SPI memory. I also see it has 64MB of sdram on board, you won't be relying on the host's ram after all.
I did consider having a punt at scrypt on my DE0-Nano which also has some sdram on board, but I reckoned the throughput would only be about 60 MByte/sec in burst mode (or 200MBytes/sec if I'm mis-calculating the precharge latency ... I don't have the docs to hand right now and I'm not going to go looking it up just for this little post). Anyway you've got a 100kB lookup table to build and swizzle for each hash, so I reckoned the resulting hash rate wouldn't be worth the huge number of J35st3r-hours to get it working). A fun looking project though, and an A* for your effort. Good luck.
|
1Jest66T6Jw1gSVpvYpYLXR6qgnch6QYU1 NumberOfTheBeast ... go on, give it a try
|
|
|
WindMaster
|
|
June 13, 2013, 04:25:15 PM |
|
This is a personal project atm and I'm having to design / build software to get these working fully to try and overcome the difficulties of scrypt mining being very memory intensive. If / when I can get these hashing scrypt properly then I may offer them for sale with the software as custom built scrypt mining kits. Running 4 sticks with an Rpi might present an opportunity for ROI vs electricity usage and purchase costs etc.
ROI for scrypt mining is extremely unlikely with an XC6SLX9 FPGA. However, to get these hashing scrypt at a reasonable and stable throughput, the way that I've currently found to improve performance requires around 4GB+ of free RAM on the host machine for one FPGA (and around 2GB+ for each additional FPGA). I'll have more info. / updates after doing much more testing in my free time over the coming weeks / months. This might well just end up being another fun project though.
If your goal is to satisfy the scrypt memory requirements by placing the buffers in system RAM and sending data back and forth over USB, this is very definitely the wrong approach. And not just by a little bit! Just run the calculation for USB bulk endpoint throughput vs. how many bytes you need to read/write to calculate a hash and you'll see why.
|
|
|
|
teknohog
|
|
June 16, 2013, 09:47:55 AM |
|
While you're referring to all these open source projects, care to share some of your scrypt mining code? I'm not very active in this scene at the moment, but it would be interesting to try this on different FPGAs...
|
|
|
|
BitcoinFX
Legendary
Offline
Activity: 2646
Merit: 1722
https://youtu.be/DsAVx0u9Cw4 ... Dr. WHO < KLF
|
|
June 21, 2013, 01:25:46 AM |
|
While you're referring to all these open source projects, care to share some of your scrypt mining code? I'm not very active in this scene at the moment, but it would be interesting to try this on different FPGAs... Of course teknohog (thanks for sharing your code btw) my progress is slow at present, although when I've got something working well it will certainly go up on github. Share and share alike and very much still tinkering with this.
|
|
|
|
|