Cyclone5-FPGA-ARM: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
Line 56: Line 56:


= Benchmarks =
= Benchmarks =
* linux
<pre>
root@socfpga_cyclone5:~# uname -a
Linux socfpga_cyclone5 3.7.0 #1 SMP Fri Feb 15 10:15:57 CST 2013 armv7l GNU/Linux
</pre>


* memcpy
* memcpy

Revision as of 17:12, 16 December 2013

Links

Serial port setup

  • use micro-usb -> USB cable
  • minicom settings:
┌───────────────────────────────────────────────────────────────────────┐
│ A -    Serial Device      : /dev/ttyUSB1                              │                                                                                 
│ B - Lockfile Location     : /var/lock                                 │                                    
│ C -   Callin Program      :                                           │                                    
│ D -  Callout Program      :                                           │                                    
│ E -    Bps/Par/Bits       : 57600 8N1                                 │                                    
│ F - Hardware Flow Control : No                                        │                                    
│ G - Software Flow Control : No                                        │                                    
│                                                                       │                                    
│    Change which setting?                                              │
└───────────────────────────────────────────────────────────────────────┘ 

CPU info

root@socfpga_cyclone5:~# cat /proc/cpuinfo 
Processor       : ARMv7 Processor rev 0 (v7l)
processor       : 0
BogoMIPS        : 1594.16

processor       : 1
BogoMIPS        : 1594.16

Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Altera SOCFPGA
Revision        : 0000
Serial          : 0000000000000000
root@socfpga_cyclone5:~# 

Benchmarks

  • linux
root@socfpga_cyclone5:~# uname -a
Linux socfpga_cyclone5 3.7.0 #1 SMP Fri Feb 15 10:15:57 CST 2013 armv7l GNU/Linux
  • memcpy
root@socfpga_cyclone5:~# ./memcpy 
memcpy       1 KiBytes:    815 MB/sec
memcpy       2 KiBytes:   1310 MB/sec
memcpy       4 KiBytes:   1786 MB/sec
memcpy       8 KiBytes:   2192 MB/sec
memcpy      16 KiBytes:   2464 MB/sec
memcpy      32 KiBytes:   2116 MB/sec
memcpy      64 KiBytes:   1694 MB/sec
memcpy     128 KiBytes:   1538 MB/sec
memcpy     256 KiBytes:    919 MB/sec
memcpy     512 KiBytes:    509 MB/sec
memcpy    1024 KiBytes:    453 MB/sec
memcpy    2048 KiBytes:    433 MB/sec
memcpy    4096 KiBytes:    404 MB/sec
memcpy    8192 KiBytes:    409 MB/sec
memcpy   16384 KiBytes:    398 MB/sec
memcpy   32768 KiBytes:    389 MB/sec
memcpy   65536 KiBytes:    400 MB/sec
memcpy  131072 KiBytes:    373 MB/sec
root@socfpga_cyclone5:~# 
  • ttcp receive: 94 Mbytes/sec
root@socfpga_cyclone5:~# ./ttcp -r -s
ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001  tcp
ttcp-r: socket
ttcp-r: accept from 142.90.119.144
ttcp-r: 409600000 bytes in 4.26 real seconds = 93819.70 KB/sec +++
ttcp-r: 61641 I/O calls, msec/call = 0.07, calls/sec = 14457.85
ttcp-r: 0.0user 0.0sys 0:04real 0% 0i+0d 272maxrss 0+2pf 17795+11csw
root@socfpga_cyclone5:~# 
  • ttcp transmit: 55 Mbytes/sec
root@socfpga_cyclone5:~# ./ttcp -n 20000 -t -s ladd14
ttcp-t: buflen=8192, nbuf=20000, align=16384/0, port=5001  tcp  -> ladd14
ttcp-t: socket
ttcp-t: connect
ttcp-t: 163840000 bytes in 2.90 real seconds = 55175.02 KB/sec +++
ttcp-t: 20000 I/O calls, msec/call = 0.15, calls/sec = 6896.88
ttcp-t: 0.0user 0.0sys 0:02real 0% 0i+0d 336maxrss 0+2pf 21+6csw
root@socfpga_cyclone5:~# 

AAA

aaa