Home - Community Forums€¦ · Web viewTesting Procedure for 10G The basic connections should be...
Transcript of Home - Community Forums€¦ · Web viewTesting Procedure for 10G The basic connections should be...
Testing Procedure for 10G
The basic connections should be power supply to your board, and UART Micro-USB cable connected to your PC
For 10G, Solarflare's SFN6322F Dual-Port 10GbE SFP+ Adapter is the NIC that has been used; and together with Avago afbr-709smz optical to Ethernet SFP+ module
The 10G NIC is mounted on to a PCI slot on your host linux machine(shown later) and the ethernet cable is connected to your top right sfp cage
Jumper J16 should be shorted to enable transmission through the SFP
Install and open a terminal emulator program such as Tera Term, set the right COM port and baud rate to 115200
Your SD card should contain BOOT.bin, image.ub, netperf and netserver. Put it onto your board
Power on the board, and wait for Linux booting to complete
Enter login and password as ‘root’
Run the command ifconfig –a, to check whether your interface is up
Now, set the IP address using the command, ‘ifconfig eth0 192.168.1.5’, it should not match the IP,set at your Host machine
Now run the ping command on tera term as well as at the Host Linux machine to see if basic data transfer is happening. If ping is working, then we can go ahead with the throughput test
Mount the commands netperf and netserver using ‘mount /dev/mmcblk0p1 /mnt’
Migrate to the ‘mnt’ directory
Run ./netserver –D -4 on board
On the Host PC run, ‘netperf -H 192.168.1.4 -c -C -t TCP_STREAM’ (for tcp)
‘netperf -H 192.168.1.4 -c -C -t UDP_STREAM’ (for udp)
The throughput results can be achieved.
The MTU size by default is set to 1500 for the Ethernet interface, this can be changed, first the particular Ethernet interface has to be made down,
‘Ifconfig eth0 down’
Then using,
‘ifconfig eth0 mtu 8000’
‘ifconfig eth0 up’
Now the MTU has been set to 8000, and same throughput performance steps can be followed.
Note that, on the Linux machine side as well, the mtu of the Ethernet interface should be changed accordingly.
In order to get benchmark performance numbers
-> use a standard Linux machine on the other end-> Make sure CPU frequency is of the order of 1 GHz for ZynqMP.-> Bus speed should be negotiated at 1000Mbps/Full duplex
NOTE: For 10G testing, Solarflare's SFN6322F Dual-Port 10GbE SFP+ Adapter has to be used, and board to board testing is not suggested.
CPU of the Host Linux machine
The other end of the cable goes to the top right sfp cage of the zcu102.