Similar steps might need to be taken on for the client as well, as it requires iperf3 to be installed. You probably don't have to transfer the source over SD card, as your host PC most likely has internet connectivity.
./configure && make && make install
```
## Test
On petalinux, start the iperf3 server
Similar steps might need to be taken on for the client as well, as it requires iperf3 to be installed. You probably don't have to transfer the source over SD card, as your host PC most likely has internet connectivity.
```
iperf3 -s
## Test
```
On petalinux, start the iperf3 server
```
On a connected device (with iperf3 also installed), start the test
iperf3 -s
```
```
iperf3 -c 169.254.7.2 -f M
```
On a connected device (with iperf3 also installed), start the test
Although this number of 4.8MB/s isn't as high as the network connection can handle (as shown with iperf), it's still within our acceptable minimum of 2 million samples per second.
# scp
> Note: Further testing of the SCP connection to increase transfer speed can be done here, such as changing the compression and encryption algorithms used. Doing so was not part of the testing due to time constraints.
After implementing SCP functionality into the CLI tool and running a sample from the GUI, the following output was observed:
Although this number of 4.8MB/s isn't as high as the network connection can handle (as shown with iperf), it's still within our acceptable minimum of 2 million samples per second.
It's clear that high transfer speeds are capable between Petalinux and a host PC over USB over the Ethernet Gadget. The SCP connection speeds were acceptable, but could be improved. It is also worth investigating other network file transfer strategies, such as sockets, HTTP requests, or simply raw TCP file transfers. Our team didn't have enough time to investigate a better solution to this, but is worth investigating if network transfer speeds need to be increased for this project.
> Note: Further testing of the SCP connection to increase transfer speed can be done here, such as changing the compression and encryption algorithms used. Doing so was not part of the testing due to time constraints.
\ No newline at end of file
# USB Speed testing conclusion
It's clear that high transfer speeds are capable between Petalinux and a host PC over USB over the Ethernet Gadget. The SCP connection speeds were acceptable, but could be improved. It is also worth investigating other network file transfer strategies, such as sockets, HTTP requests, or simply raw TCP file transfers. Our team didn't have enough time to investigate a better solution to this, but is worth investigating if network transfer speeds need to be increased for this project.