PCIe in loopback

Comments and questions related to the "Down to the TLP" pages

PCIe in loopback

Postby Guest » Fri Mar 01, 2019 7:58 am

May I know why connecting PCie in loopback is not recommended ?

Loopback setup does not actually slow things down.

I have confirmed this with actual loopback setup, may I know WHY loopback setup has the almost similar throughput result with regards to the theoretical throughput result for one-way (simplex) direction ?

Re: PCIe in loopback

Postby kevin » Fri Mar 01, 2019 8:14 am

Sorry, I have a typo mistake in the first post above.

Loopback setup actually slow things down by 50 percent. Why ?
Posts: 43
Joined: Tue Dec 12, 2017 10:41 am

Re: PCIe in loopback

Postby support » Fri Mar 01, 2019 12:59 pm


Looping back is perfectly fine with Xillybus IP core. You seem to refer to the guideline not to loop back in bandwidth tests:


When just looping back in the FPGA, Xillybus' IP core both fills and empties the FIFO in the middle very rapidly. There is however a latency between the moment a data transaction is possible to when it's carried out, which leads to a very uneven data transport. This, in turn, yields suboptimal bandwidth performance.

As this is a very artificial test case, the core isn't optimized to handle it better. It therefore makes no sense to test it for bandwidth this way.

Posts: 762
Joined: Tue Apr 24, 2012 3:46 pm

Return to General PCIe