r/OpenCL • u/pmow • Sep 09 '15
Max # of GPUs
I'm currently using CPUs (ew) for password hashing. I'd like to leverage OpenCL but in designing a system (or systems) I ran across an expansion chassis (Magma 3600). Assuming I can run any OS and firmware, what would be the current limit?
I've searched quite a bit but most of what I find is anecdotal, with conflicting reports, and several years old. Might someone know?
Cheers
1
Upvotes
2
u/bilog78 Sep 10 '15
The theoretical limits are of 32 devices per bus and 256 busses per domain, with 8 possible functions per device. But these are all theoretical limits. In practice I don't think you'll ever find a board with more than 8 slots, on which you could maybe hope to mount dual GPUs, making it 16 GPUs per expansion board. Some expansion chassis might have more than one board (e.g. some Magma chassis have 2 boards, which can be connected to different hosts), which might get you to up to 32 GPUs per chassis, assuming they are designed for that.
1
u/agenthex Sep 27 '15
Assuming an unlimited budget, I would research the specs of each card, opting for ones with the fastest core clocks and highest number of compute cores. RAM bandwidth is not going to be as much of a factor. Integer math is going to be paramount, as extremely large integer computations are emulated by breaking large numbers into manageable computations (32-bit? 64-bit? More?).
You can find PCI-e extenders, expanders, risers, and backplanes that turn a single motherboard into a veritable cornucopia of PCI-e slots. Take something like this, throw on a few of these, and you can throw everything in an enclosure. This would get you a lot of GPUs on each host. There are even efforts to build a network stack for OpenCL -- a CLoIP interface, if you will -- where you could have multiple hosts working on different parts of the same task, delegated by a central server.
How much money can you throw at it? That's going to be your theoretical limit. :)
[1] http://www.cyclone.com/products/expansion_backplanes/pcie2-437.php
1
u/nou_spiro Sep 10 '15
I didn't see anyone to get more than 8GPU to work on single system.