Development Board OK-G2LD-C Tests of Storage Read/Write Speed and Gigabit Ethernet Bandwidth

In May, Forlinx Embedded launched SoM FET-G2LD-C based on Renesas RZ/G2L, and the matching development board OK-G2LD-C. After the product was officially released, the stability, power consumption and boot-up of RZ/G2L development kit were tested in the previous article. Next, Let’s test the storage read/write speed and Gigabit Ethernet bandwidth of development board OK-G2LD-C to help engineers better understand this development kit.

1. eMMC storage read and write speed test

The eMMC of development board OK-G2LD-C runs in HS200 mode by default, and the working bit width is 8. The following is a test of the read and write speed of eMMC, taking reading and writing ext4 file system as an example.


Write test:

root@okg2l:~# dd if=/dev/zero of=/test bs=1M count= 500 conv=fsync
500+0 records in
500+0 records out
524288000 bytes (524 MB)copied, 7.81532s, 67.1MB/s

Read test:

root@okg2l:~# dd if=/test of=/dev/null bs=1M count= 500 conv=fsync
500+0 records in
500+0 records out
524288000 bytes (524 MB)copied, 6.49422s,80.7MB/s

The write speed of eMMC is 67.1MB/s, and the read speed is 80.7 MB/s.

2. TF card read and write speed test

The TF card of development board OK-G2LD-C runs in SDR104 mode by default, and the working bit width is 4. The following is a test of the read and write speed of TF card, taking reading and writing the ext4 file system as an example.

Write test:

root@okg2l:~# dd if=/dev/zero of=/run/media/mmcblk1p1/test bs=1M count=500 conv=fsync \oflag=direct
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 107.154s, 4.9MB/s

Read test:

root@okg2l:~# dd if=/run/media/mmcblk1p1/test of=/dev/null bs=1M iflag=direct
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.7009s, 35.7MB/s

The write speed of TF card is 4.9 MB/s, and the read speed is 35.7 MB/s.

3. USB2.0 read and write speed test

OK-G2LD-C supports two USB2.0 interfaces. Users can connect USB mouse, USB keyboard, USB disk to onboard USB HOST interface. It supports hot-plugging of these devices. Here is an example of reading and writing a USB disk with a USB2.0 interface.

Write test:

root@okg2l:~# dd if=/dev/zero of=/run/media/sda1/test bs=1M count=50 conv = fsync \oflag=direct
50+0 records in
50+0 records out
52428800 bytes (52 MB) copied, 8.81593s, 5.9MB/s

Read test:

root@okg2l:~# dd if=/run/media/sda1/test of=/dev/null bs=1M iflag=direct
50+0 records in
50+0 records out
52428800 bytes (52 MB) copied, 1.46226s, 35.9MB/s

The write speed of USB2.0 is 5.9 MB/s, and the read speed is 35.9MB/s.

4. DDR bandwidth test

Execute

root@okg2l:~# memory_bandwidth.sh

The print information is as follows:

The DDR4 bandwidth of OK-G2LD-C is shown in the figure above, the read bandwidth is 2765Mb/s, and the write bandwidth is about 891Mb/s.

Network test

The development board OK-G2LD-C has two Gigabit Ethernet ports. Here we use iperf3 to test its actual network bandwidth.

root@okg2l:~# iperf3 -c 192.168.0.2 -i 5 -t 60
Connecting to host 192.168.0.2, port 5201
[  5] local 192.168.0.232 port 39804 connected to 192.168.0.2 port 5201
[ ID] Interval  Transfer  Bitrate  Retr  Cwnd
[  5]   0.00-5.00   sec   38.3 MBytes  64.3 Mbits/sec  1736   1.41 KBytes
[  5]   5.00-10.00  sec  44.2 MBytes  74.2 Mbits/sec  1785   4.24 KBytes
[  5]  10.00-15.00  sec  67.7 MBytes   114 Mbits/sec  2741   2.83 KBytes
[  5]  15.00-20.00  sec  26.0 MBytes  43.6 Mbits/sec  1043   1.41 KBytes
[  5]  20.00-25.00  sec  53.2 MBytes  89.2 Mbits/sec  2054   2.83 KBytes
[  5]  25.00-30.00  sec  42.4 MBytes  71.2 Mbits/sec  2030   2.83 KBytes
[  5]  30.00-35.00  sec  44.1 MBytes  74.0 Mbits/sec  2085   5.66 KBytes
[  5]  35.00-40.00  sec  32.3 MBytes  54.2 Mbits/sec  1528   1.41 KBytes
[  5]  40.00-45.00  sec  33.6 MBytes  56.4 Mbits/sec  1671   11.3 KBytes
[  5]  45.00-50.00  sec  45.1 MBytes  75.6 Mbits/sec  2151   1.41 KBytes
[  5]  50.00-55.00  sec  28.1 MBytes  47.1 Mbits/sec  1388   1.41 KBytes
[  5]  55.00-60.00  sec  24.7 MBytes  41.5 Mbits/sec  1222   2.83 KBytes
- - - - - - - - - - - - - - - - - - - 
[ ID] Interval   Transfer  Bitrate   Retr
[  5]   0.00-60.00  sec   480 MBytes  67.1 Mbits/sec  21434    sender
[  5]   0.00-60.00  sec   479 MBytes  67.0 Mbits/sec              receiver



The test compared Gigabit Ethernet port of development board OK-G2LD-C and development board OK1028-C. OK-G2LD-C is used as the client, while OK1028-C development board is used as the server. It can be seen from the above data that the transmission bandwidth of the Gigabit Ethernet port is about 480 MBytes.

Hope above tests can be helpful for your product development. Besides, Forlinx provides Renesas RZ/G2L development manuals and user manuals. Please contact us for more details.