io_u: use hw assisted random filling for buffers

If we're using refill_buffers and not doing any specific dedupe or
verification that requires a persistent buffer via a seed, then we
can just use hw assisted crc32c for a nice speedup here.

This bumps perf by about 2.4x for me in fill rate on aarch64, and
about a 28% improvement on x86-64 (using a 12900K).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed
tree: a2211519a66da81b51c87305f2f6e930f2a9221c
  1. .github/
  2. arch/
  3. ci/
  4. compiler/
  5. crc/
  6. doc/
  7. engines/
  8. examples/
  9. exp/
  10. lib/
  11. os/
  12. oslib/
  13. profiles/
  14. t/
  15. tools/
  16. unittests/
  17. .appveyor.yml
  18. .gitignore
  19. backend.c
  20. blktrace.c
  21. blktrace.h
  22. blktrace_api.h
  23. cairo_text_helpers.c
  24. cairo_text_helpers.h
  25. cconv.c
  26. cgroup.c
  27. cgroup.h
  28. CITATION.cff
  29. client.c
  30. client.h
  31. configure
  32. COPYING
  33. debug.c
  34. debug.h
  35. DEDUPE-TODO
  36. dedupe.c
  37. dedupe.h
  38. diskutil.c
  39. diskutil.h
  40. err.h
  41. eta.c
  42. fifo.c
  43. fifo.h
  44. file.h
  45. filehash.c
  46. filehash.h
  47. filelock.c
  48. filelock.h
  49. filesetup.c
  50. FIO-VERSION-GEN
  51. fio.1
  52. fio.c
  53. fio.h
  54. fio_sem.c
  55. fio_sem.h
  56. fio_time.h
  57. flist.h
  58. flow.c
  59. flow.h
  60. gclient.c
  61. gclient.h
  62. gcompat.c
  63. gcompat.h
  64. gerror.c
  65. gerror.h
  66. gettime-thread.c
  67. gettime.c
  68. gettime.h
  69. GFIO-TODO
  70. gfio.c
  71. gfio.h
  72. ghelpers.c
  73. ghelpers.h
  74. goptions.c
  75. goptions.h
  76. graph.c
  77. graph.h
  78. hash.h
  79. helper_thread.c
  80. helper_thread.h
  81. helpers.c
  82. helpers.h
  83. HOWTO.rst
  84. idletime.c
  85. idletime.h
  86. init.c
  87. io_ddir.h
  88. io_u.c
  89. io_u.h
  90. io_u_queue.c
  91. io_u_queue.h
  92. ioengines.c
  93. ioengines.h
  94. iolog.c
  95. iolog.h
  96. json.c
  97. json.h
  98. libfio.c
  99. log.c
  100. log.h
  101. Makefile
  102. memory.c
  103. minmax.h
  104. MORAL-LICENSE
  105. optgroup.c
  106. optgroup.h
  107. options.c
  108. options.h
  109. parse.c
  110. parse.h
  111. printing.c
  112. printing.h
  113. profile.c
  114. profile.h
  115. pshared.c
  116. pshared.h
  117. rate-submit.c
  118. rate-submit.h
  119. README.rst
  120. REPORTING-BUGS
  121. rwlock.c
  122. rwlock.h
  123. SERVER-TODO
  124. server.c
  125. server.h
  126. smalloc.c
  127. smalloc.h
  128. stat.c
  129. stat.h
  130. STEADYSTATE-TODO
  131. steadystate.c
  132. steadystate.h
  133. td_error.c
  134. td_error.h
  135. thread_options.h
  136. tickmarks.c
  137. tickmarks.h
  138. time.c
  139. trim.c
  140. trim.h
  141. verify-state.h
  142. verify.c
  143. verify.h
  144. workqueue.c
  145. workqueue.h
  146. zbd.c
  147. zbd.h
  148. zbd_types.h
  149. zone-dist.c
  150. zone-dist.h