Forum Discussion
Altera_Forum
Honored Contributor
10 years agoExecution of boardtest is also given below:
It hangs at "Kernel-to-Memory Bandwith" test. root@socfpga:~/boardtest# ./boardtest ***************************************************************** *********************** Host Speed Test ************************* ***************************************************************** clGetDeviceInfo CL_DEVICE_GLOBAL_MEM_SIZE = 536870912 clGetDeviceInfo CL_DEVICE_MAX_MEM_ALLOC_SIZE = 133169152 Memory consumed for internal use = 403701760 Actual maximum buffer size = 133169152 bytes Writing 127 MB to global memory ... 113.521374 MB/s Reading 133169152 bytes from global memory ... 159.004121 MB/s Verifying data ... Successfully wrote and readback 127 MB buffer Transferring 8192 KBs in 256 32 KB blocks ... Transferring 8192 KBs in 128 64 KB blocks ... Transferring 8192 KBs in 64 128 KB blocks ... Transferring 8192 KBs in 32 256 KB blocks ... Transferring 8192 KBs in 16 512 KB blocks ... Transferring 8192 KBs in 8 1024 KB blocks ... Transferring 8192 KBs in 4 2048 KB blocks ... Transferring 8192 KBs in 2 4096 KB blocks ... Transferring 8192 KBs in 1 8192 KB blocks ... PCIe Gen2.0 peak speed: 500MB/s/lane Block_Size Avg Max Min End-End (MB/s) Writing 8192 KBs with block size (in bytes) below: 32768 102.78 113.51 87.26 82.07 65536 112.87 115.97 106.35 104.75 131072 116.02 117.09 113.36 113.09 262144 117.12 117.67 115.84 115.96 524288 117.48 117.88 116.83 116.95 1048576 117.75 117.93 117.68 117.50 2097152 117.86 117.97 117.79 117.75 4194304 117.98 118.03 117.94 117.95 8388608 118.03 118.03 118.03 118.03 Reading 8192 KBs with block size (in bytes) below: 32768 133.34 152.66 105.40 104.53 65536 150.46 155.94 137.10 139.02 131072 155.71 157.76 147.26 151.76 262144 157.51 158.36 154.60 156.01 524288 158.28 158.90 156.69 157.62 1048576 158.59 159.16 158.14 158.27 2097152 158.02 158.85 156.97 157.84 4194304 158.81 158.87 158.74 158.74 8388608 158.94 158.94 158.94 158.94 Host write top speed = 118.03 MB/s Host read top speed = 159.16 MB/s HOST-TO-MEMORY BANDWIDTH = 139 MB/s ***************************************************************** ********************* Host Read Write Test ********************** ***************************************************************** --- test_rw with device ptr offset 3 --- test_rw with device ptr offset 0 HOST READ-WRITE TEST PASSED! ***************************************************************** ***************** Kernel-to-Memory Bandwidth ***************** ***************************************************************** Performing kernel transfers of 32 MBs Note: This test assumes each memory bank is no smaller than 32 MBs and the design was compiled with --sw-dimm-partition Launching kernel kclk ... Launching kernel mem_stream ... (It hangs after this point never reaches to end)