Beaglebone测试结果 (A5,kernel 3.2.14, rootfs - NFS)
root@beaglebone:~# ./memxferjj -s 1m 10 0 1 2 3 4 5 6 7 8
avg: 1048576 [ 0]"memcpy" 405.549 MB/s
avg: 1048576 [ 1]"char *" 61.826 MB/s
avg: 1048576 [ 2]"short *" 117.574 MB/s
avg: 1048576 [ 3]"int *" 431.164 MB/s
avg: 1048576 [ 4]"long *" 567.920 MB/s
avg: 1048576 [ 5]"long * (4x unrolled)" 791.514 MB/s
avg: 1048576 [ 6]"int64 *" 739.649 MB/s
avg: 1048576 [ 7]"double *" 739.695 MB/s
avg: 1048576 [ 8]"double * (4x unrolled)" 739.700 MB/s
root@beaglebone:~# ./memxferjj -s 10m 10 0 1 2 3 4 5 6 7 8
avg: 10485760 [ 0]"memcpy" 364.048 MB/s
avg: 10485760 [ 1]"char *" 100.849 MB/s
avg: 10485760 [ 2]"short *" 223.749 MB/s
avg: 10485760 [ 3]"int *" 419.296 MB/s
avg: 10485760 [ 4]"long *" 422.867 MB/s
avg: 10485760 [ 5]"long * (4x unrolled)" 534.291 MB/s
avg: 10485760 [ 6]"int64 *" 607.264 MB/s
avg: 10485760 [ 7]"double *" 605.804 MB/s
avg: 10485760 [ 8]"double * (4x unrolled)" 607.264 MB/s