Advertisement
teknoraver

riscv unalignment access

Jun 12th, 2021 (edited)
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. source: https://gist.github.com/teknoraver/36f471ef97d4c6a6cb11148e72f9e975
  2. # for u in 0 1; do for s in 1 2 4 8 ; do unalign_check 1024 $u $s; echo ;done ; done
  3.  
  4.  
  5. ALIGNED ACCESSES
  6.  
  7. size: 1024 Mb
  8. read size: 8 bit
  9. unalignment: 0 byte
  10. elapsed time: 4.63 sec
  11. throughput: 221.23 Mb/s
  12.  
  13. size: 1024 Mb
  14. read size: 16 bit
  15. unalignment: 0 byte
  16. elapsed time: 1.40 sec
  17. throughput: 729.13 Mb/s
  18.  
  19. size: 1024 Mb
  20. read size: 32 bit
  21. unalignment: 0 byte
  22. elapsed time: 1.40 sec
  23. throughput: 731.35 Mb/s
  24.  
  25. size: 1024 Mb
  26. read size: 64 bit
  27. unalignment: 0 byte
  28. elapsed time: 0.86 sec
  29. throughput: 1190.93 Mb/s
  30.  
  31.  
  32. UNALIGNED ACCESSES
  33.  
  34. size: 1024 Mb
  35. read size: 16 bit
  36. unalignment: 1 byte
  37. elapsed time: 206.96 sec
  38. throughput: 4.95 Mb/s
  39.  
  40. size: 1024 Mb
  41. read size: 32 bit
  42. unalignment: 1 byte
  43. elapsed time: 133.86 sec
  44. throughput: 7.65 Mb/s
  45.  
  46. size: 1024 Mb
  47. read size: 64 bit
  48. unalignment: 1 byte
  49. elapsed time: 93.46 sec
  50. throughput: 10.96 Mb/s
  51.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement