Advertisement
Guest User

Untitled

a guest
Oct 29th, 2017
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.12 KB | None | 0 0
  1. macchiato:~/proj/tinymembench$ ./tinymembench
  2. tinymembench v0.4.9 (simple benchmark for memory throughput and latency)
  3.  
  4. ==========================================================================
  5. == Memory bandwidth tests ==
  6. == ==
  7. == Note 1: 1MB = 1000000 bytes ==
  8. == Note 2: Results for 'copy' tests show how many bytes can be ==
  9. == copied per second (adding together read and writen ==
  10. == bytes would have provided twice higher numbers) ==
  11. == Note 3: 2-pass copy means that we are using a small temporary buffer ==
  12. == to first fetch data into it, and only then write it to the ==
  13. == destination (source -> L1 cache, L1 cache -> destination) ==
  14. == Note 4: If sample standard deviation exceeds 0.1%, it is shown in ==
  15. == brackets ==
  16. ==========================================================================
  17.  
  18. C copy backwards : 3565.5 MB/s
  19. C copy backwards (32 byte blocks) : 3567.1 MB/s
  20. C copy backwards (64 byte blocks) : 3570.8 MB/s
  21. C copy : 3746.0 MB/s (0.6%)
  22. C copy prefetched (32 bytes step) : 3722.9 MB/s
  23. C copy prefetched (64 bytes step) : 3727.5 MB/s
  24. C 2-pass copy : 3793.6 MB/s (1.0%)
  25. C 2-pass copy prefetched (32 bytes step) : 3796.6 MB/s
  26. C 2-pass copy prefetched (64 bytes step) : 3959.2 MB/s
  27. C fill : 9975.1 MB/s
  28. C fill (shuffle within 16 byte blocks) : 9975.8 MB/s
  29. C fill (shuffle within 32 byte blocks) : 9975.3 MB/s
  30. C fill (shuffle within 64 byte blocks) : 9776.7 MB/s
  31. ---
  32. standard memcpy : 3748.3 MB/s (0.5%)
  33. standard memset : 9975.3 MB/s
  34. ---
  35. NEON LDP/STP copy : 3685.7 MB/s
  36. NEON LDP/STP copy pldl2strm (32 bytes step) : 3656.7 MB/s
  37. NEON LDP/STP copy pldl2strm (64 bytes step) : 3659.8 MB/s
  38. NEON LDP/STP copy pldl1keep (32 bytes step) : 3744.7 MB/s
  39. NEON LDP/STP copy pldl1keep (64 bytes step) : 3741.4 MB/s
  40. NEON LD1/ST1 copy : 3736.2 MB/s (0.4%)
  41. NEON STP fill : 9975.4 MB/s
  42. NEON STNP fill : 9968.6 MB/s
  43. ARM LDP/STP copy : 3749.3 MB/s (0.5%)
  44. ARM STP fill : 9975.2 MB/s
  45. ARM STNP fill : 9968.3 MB/s
  46.  
  47. ==========================================================================
  48. == Memory latency test ==
  49. == ==
  50. == Average time is measured for random memory accesses in the buffers ==
  51. == of different sizes. The larger is the buffer, the more significant ==
  52. == are relative contributions of TLB, L1/L2 cache misses and SDRAM ==
  53. == accesses. For extremely large buffer sizes we are expecting to see ==
  54. == page table walk with several requests to SDRAM for almost every ==
  55. == memory access (though 64MiB is not nearly large enough to experience ==
  56. == this effect to its fullest). ==
  57. == ==
  58. == Note 1: All the numbers are representing extra time, which needs to ==
  59. == be added to L1 cache latency. The cycle timings for L1 cache ==
  60. == latency can be usually found in the processor documentation. ==
  61. == Note 2: Dual random read means that we are simultaneously performing ==
  62. == two independent memory accesses at a time. In the case if ==
  63. == the memory subsystem can't handle multiple outstanding ==
  64. == requests, dual random read has the same timings as two ==
  65. == single reads performed one after another. ==
  66. ==========================================================================
  67.  
  68. block size : single random read / dual random read, [MADV_NOHUGEPAGE]
  69. 1024 : 0.0 ns / 0.0 ns
  70. 2048 : 0.0 ns / 0.0 ns
  71. 4096 : 0.0 ns / 0.0 ns
  72. 8192 : 0.0 ns / 0.0 ns
  73. 16384 : 0.0 ns / 0.0 ns
  74. 32768 : 0.0 ns / 0.0 ns
  75. 65536 : 4.6 ns / 7.3 ns
  76. 131072 : 7.1 ns / 9.9 ns
  77. 262144 : 10.8 ns / 14.3 ns
  78. 524288 : 15.1 ns / 21.2 ns
  79. 1048576 : 36.7 ns / 50.8 ns
  80. 2097152 : 87.7 ns / 128.2 ns
  81. 4194304 : 135.8 ns / 183.9 ns
  82. 8388608 : 168.7 ns / 215.4 ns
  83. 16777216 : 185.0 ns / 226.5 ns
  84. 33554432 : 195.4 ns / 239.2 ns
  85. 67108864 : 210.9 ns / 259.1 ns
  86.  
  87. block size : single random read / dual random read, [MADV_HUGEPAGE]
  88. 1024 : 0.0 ns / 0.0 ns
  89. 2048 : 0.0 ns / 0.0 ns
  90. 4096 : 0.0 ns / 0.0 ns
  91. 8192 : 0.0 ns / 0.0 ns
  92. 16384 : 0.0 ns / 0.0 ns
  93. 32768 : 0.0 ns / 0.0 ns
  94. 65536 : 4.6 ns / 7.3 ns
  95. 131072 : 7.0 ns / 9.8 ns
  96. 262144 : 8.2 ns / 10.8 ns
  97. 524288 : 11.0 ns / 15.4 ns
  98. 1048576 : 32.9 ns / 46.9 ns
  99. 2097152 : 81.3 ns / 119.5 ns
  100. 4194304 : 130.8 ns / 177.9 ns
  101. 8388608 : 154.7 ns / 194.8 ns
  102. 16777216 : 167.8 ns / 204.6 ns
  103. 33554432 : 174.3 ns / 209.4 ns
  104. 67108864 : 179.8 ns / 213.5 ns
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement