Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: ParaplegicRacehorse on February 04, 2017, 01:56:45 AM



Title: Hardware question: GPU over USB3 instead of PCIe
Post by: ParaplegicRacehorse on February 04, 2017, 01:56:45 AM
I'm building, in my head at the moment, a GPU miner. The thought experiment is thus: Maximize electrical use by reducing the non-GPU components in a mining rig. Think 1 mobo/RAM/SSD/CPU/et-cetera component of 100+ combined watts depending on actual components driving 30 or more GPUs via the inbuilt USB3 bus(es) and utilizing multiport USB3 PCIe x16 cards. Each bank of five, or so, GPUs would need a separate PSU, sure, so this theoretical rig would have to be powered from several different household circuits. I was thinking on using a 30A3p240vac - essentially an appliance circuit - and splitting each phase into two 15A circuits.

As I look around at the powered PCIe_x16 risers and note the USB3 connection on so many, I can't help but wonder why the PCIe_x1 connector is needed? The USB standard is more than 6x faster than the x1 lane. Since we're not trying to actually display anything from these cards, why do they need to be on the PCI bridge?

Okay, now I'm donning the flameproof anorak. Fire away. Explain why this won't work or, even better, prove to me that it will!


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: philipma1957 on February 04, 2017, 02:17:25 AM
I'm building, in my head at the moment, a GPU miner. The thought experiment is thus: Maximize electrical use by reducing the non-GPU components in a mining rig. Think 1 mobo/RAM/SSD/CPU/et-cetera component of 100+ combined watts depending on actual components driving 30 or more GPUs via the inbuilt USB3 bus(es) and utilizing multiport USB3 PCIe x16 cards. Each bank of five, or so, GPUs would need a separate PSU, sure, so this theoretical rig would have to be powered from several different household circuits. I was thinking on using a 30A3p240vac - essentially an appliance circuit - and splitting each phase into two 15A circuits.

As I look around at the powered PCIe_x16 risers and note the USB3 connection on so many, I can't help but wonder why the PCIe_x1 connector is needed? The USB standard is more than 6x faster than the x1 lane. Since we're not trying to actually display anything from these cards, why do they need to be on the PCI bridge?

Okay, now I'm donning the flameproof anorak. Fire away. Explain why this won't work or, even better, prove to me that it will!

I don't know of a USB 3 controller that could process say 10 separate risers.

But I think it could be done with the right thunderbolt connections as a mobo to t wire to pcie does exist.

And t bolt wire can handle a lot of data quickly.

Btw I like the way you think


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: bughatti on February 04, 2017, 02:56:01 AM
I'm building, in my head at the moment, a GPU miner. The thought experiment is thus: Maximize electrical use by reducing the non-GPU components in a mining rig. Think 1 mobo/RAM/SSD/CPU/et-cetera component of 100+ combined watts depending on actual components driving 30 or more GPUs via the inbuilt USB3 bus(es) and utilizing multiport USB3 PCIe x16 cards. Each bank of five, or so, GPUs would need a separate PSU, sure, so this theoretical rig would have to be powered from several different household circuits. I was thinking on using a 30A3p240vac - essentially an appliance circuit - and splitting each phase into two 15A circuits.

As I look around at the powered PCIe_x16 risers and note the USB3 connection on so many, I can't help but wonder why the PCIe_x1 connector is needed? The USB standard is more than 6x faster than the x1 lane. Since we're not trying to actually display anything from these cards, why do they need to be on the PCI bridge?

Okay, now I'm donning the flameproof anorak. Fire away. Explain why this won't work or, even better, prove to me that it will!


I think this would be an awesome idea, if someone could accomplish this it could be a game changer.  I agree, if its using 1x, no need for the pci lanes.  USB graphics are already out there, someone could just right the code to run over USB


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: PovertyByte on February 04, 2017, 05:41:34 AM
You have to factor if it is a USB 3.0 (gen 1) or USB 3.1 (gen 2)

I am confused in a thread of my own about how a GTX 1080 that has 256 GB/s of bandwidth w/o overclocking isn't bottlenecked by the PCIe bandwidth limit. The USB 3.1 only does 10 GB/s


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: Nikolaj on February 04, 2017, 05:42:50 AM
I think that the main issue is related to the interface, due bandwidth and programming needs.

Certainly, by utilizing another standard it could imply other benefits, but moving after the PCIE standard it's a risky, and complex, move. Probably it's just premature


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: JaredKaragen on February 04, 2017, 05:51:20 AM
You have to factor if it is a USB 3.0 (gen 1) or USB 3.1 (gen 2)

I am confused in a thread of my own about how a GTX 1080 that has 256 GB/s of bandwidth w/o overclocking isn't bottlenecked by the PCIe bandwidth limit. The USB 3.1 only does 10 GB/s
if im not mistaken that's memory bandwidth between GPU and GPU RAM......  not bus speeds at PCIE.... Those have been relatively constant and the same for many many years;  they have just added more of them to be able to increase data amounts that can be sent at once...


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: Subw on February 04, 2017, 12:46:05 PM

As I look around at the powered PCIe_x16 risers and note the USB3 connection on so many

*facepalm*


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: bathrobehero on February 04, 2017, 01:05:59 PM
USB risers are not using USB protocol, they're just using the cable since it's pretty durable and works easily even over distances (unlike ribbon).

GPU bandwith doesn't matter in terms of the riser because the GPU isn't pushing all the calculation data back to the riser and the system, it only sends back what it solved from the huge amount of data.

Which is why 1x PCI-e (USB risers) is more than enough (250 MB/s) for virtually every algo.



A lot of miner software requires quite some CPU power per card depending on the algo so having like 12 cards in a rig might be problematic (unless you spend a lot on a CPU).

Also, for Nvidia at least, you have to have enough RAM and/or pagefile for all the cards memory that will get used together combined. That might also get problematic.

And if a card/riser/cable is misbehaving and crashing your rig, good luck finding it in a 12 card rig.


With all that said, if it would work without issues (wouldn't need specialized miner, etc) it could be a game changer.


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: qctechno on February 04, 2017, 02:13:40 PM

I don't know of a USB 3 controller that could process say 10 separate risers.

But I think it could be done with the right thunderbolt connections as a mobo to t wire to pcie does exist.

And t bolt wire can handle a lot of data quickly.

Btw I like the way you think

Thunderbolt is a great technology.
This work well for PCIe expansion over thunderbolt.
http://www.sonnettech.com/product/echoexpressse2.html

Using it in a system integration at work.
Connected to a laptop.



Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: ParaplegicRacehorse on February 04, 2017, 03:51:33 PM
USB risers are not using USB protocol, they're just using the cable since it's pretty durable and works easily even over distances (unlike ribbon).

GPU bandwith doesn't matter in terms of the riser because the GPU isn't pushing all the calculation data back to the riser and the system, it only sends back what it solved from the huge amount of data.

Which is why 1x PCI-e (USB risers) is more than enough (250 MB/s) for virtually every algo.

Which is why I thought it. I also wondered about adapter cards which simply provide 3-4 pcie x1 slots in a single x16. No-go. Couldn't find any.

I don't know of a USB 3 controller that could process say 10 separate risers.

Who needs it? And it wouldn't work, anyway. A single controller would be bandwidth-limited by 10 cards. It could do five, though. There are PCIe x16 -> 5x USB3.1 cards. So three cards in three slots provide 15 cards (not many mobos with 4+ full-bandwidth PCIe3 x16 slots), plus the onboard USB3 ports, if any. That's three or four separate 6GB-bandwidth controllers.

Quote
But I think it could be done with the right thunderbolt connections as a mobo to t wire to pcie does exist.

And t bolt wire can handle a lot of data quickly.

Btw I like the way you think


Thunderbolt is a great technology.
This work well for PCIe expansion over thunderbolt.
http://www.sonnettech.com/product/echoexpressse2.html

That's very interesting. Alienware makes a similar unit, with an inbuilt PSU big enough to handle _real_ video cards. ;-)

But, ultimately, we'd want to gut the case because a bigger PSU powering more cards is more energy efficient.

And we still don't actually need the bandwidth of Thunderbolt. USB3 is more than enough and considerably less expensive. I can't find the link, now, but while I was searching around last night I saw a header in the AMD forums suggesting they're working on USB-interface cards specifically for use as math coprocessing, which is what altcoin miners are using them for, but they also are in use in render farms, weather centers and anywhere else in need of more floating-point-operations-per-second (FLOPS) than CPUs can provide.


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: ParaplegicRacehorse on February 04, 2017, 05:09:14 PM
I also wondered about adapter cards which simply provide 3-4 pcie x1 slots in a single x16. No-go. Couldn't find any.

I was wrong. Something like this might work really well for a mini-ATX motherboard with single PCI x16 slot to drive three GPUs.

SINTECH PCI-e express 1X to 3port 1X Switch Multiplier HUB riser card +USB cable
https://www.newegg.com/Product/Product.aspx?Item=9SIA6UM45G4650&cm_re=pci_riser-_-9SIA6UM45G4650-_-Product (https://www.newegg.com/Product/Product.aspx?Item=9SIA6UM45G4650&cm_re=pci_riser-_-9SIA6UM45G4650-_-Product)

or, more interesting because it would be _less_ bandwidth-limited

Supermicro RSC-R2UG-2E4E8 Riser Card
https://www.newegg.com/Product/Product.aspx?Item=9SIA5EM3N86911&cm_re=pci_riser-_-15-121-066-_-Product (https://www.newegg.com/Product/Product.aspx?Item=9SIA5EM3N86911&cm_re=pci_riser-_-15-121-066-_-Product)

If that SINTECH were a 16x to 3port 1x, it would be superb; still wouldn't reach 15+ GPU/mobo, but pretty neat.

----

I'm moving the technical/drivers thing to a discussion in a linux forum. I imagine the block to plugging powered riser slots into the USB bus has mostly to do with drivers. There's no real reason, possibly except for that, for why the x1 protocols couldn't be carried on the USB bus. Really, you would just need some wrapper code to enclose the PCI protocols inside the USB protocols; and then some sort of kernel-level discovery/port-scan code because nothing's going to look for PCI peripherals on the USB bus.


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: ParaplegicRacehorse on February 08, 2017, 06:42:23 PM
Does anyone have experience with this GPU-oriented PCIe Expansion Cluster (http://amfeltec.com/products/gpu-oriented-cluster/ (http://amfeltec.com/products/gpu-oriented-cluster/))? Supposedly allows up to 16 GPUs per each PCIe slot in a motherboard. 64 GPUs, one motherboard, anyone?

Now, if only someone would make a SBC with one or more PCIe slots. On the other hand, there are already PCBs with mini-PCIe. Hmm. Thinking, thinking.

===

Off-topic, slightly, but does anyone also cpu-mine with their rig? Seems a waste if the CPU is powered but not hashing.


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: keral on January 18, 2018, 10:31:08 AM
https://www.boecker-systemelektronik.de/epages/63381271.sf/de_DE/?ObjectPath=/Shops/63381271/Categories/Backplanes

amfeltec is expensive stuff..


Title: Re: Hardware question: GPU over USB3 instead of PCIe
Post by: tutulfo on January 18, 2018, 10:37:14 AM
I have tested this expansion card from aliexpress and works in

z97 Gigabyte Mx gaming 5
z170 Msi gaming 7
z270 Asus prime A

Dont work on Asrock J1900 ( ;D ;D ;D ;D)

https://ae01.alicdn.com/kf/HTB1QXO7bKLM8KJjSZFqq6y7.FXaX/PCI-E-para-4-Puertos-USB-3-0-de-Alta-Velocidad-Del-Convertidor-Adaptador-de-Tarjeta.jpg